Professional Documents
Culture Documents
CHAPTER II
LITERATURE STUDY
development. The chapter filled with the summarize of the body of knowledge that is
2.1 Tkinter
Interfaces) or graphical surfaces. Tkinter is built on top of the Tcl/Tk library which
provides many GUI components such as buttons, labels, text boxes, dialog boxes.
Tkinter helps author create desktop applications with attractive user interfaces
that are easy for users to use. author can use Tkinter to create interactive and
Simulations.
In Tkinter I use widget objects to create his GUI interface. Each widget
represents a GUI element such as a button, text box, etc. Tkinter also provides many
methods for setting the widget's appearance such as color, size, position, etc.
Tkinter also supports major platforms such as Windows, macOS, and Linux,
The name Tkinter comes from the Tk interface. Tk means toolkit, inter means
interface
Network". The CNN method is a deep learning technique used to process image
data and pattern recognition. CNN is a type of neural network inspired by the
operations to reduce data size. The convolution process aims to produce features in
the image, while the pooling operation is used to reduce the dimensions of the data
The CNN method has been widely used for various applications, such as
applications, such as Egg Health detection, face detection, and medical image
analysis.
3
2.3 Python
history.
Python was developed by Guido van Rossum and first published on February 20,
1991. The Python programming language gets its name from an old BBC comedy sketch
series called Monty Python's Flying Circus.
Python has had many developments and advancements, at first python started with
version Python 1.4, released on 25 October 1996.
As of now python has version Python 3.11.2, released on 8th February 2023.
Advantages of Python
use, or may automate significant areas of the computer system such as memory
- Improved Productivity
tasks.
and has many libraries and frameworks that can be used to speed up application
development. In addition, there are lots of lessons and tutorials available on the
development, Python can be used to create a GUI (Graphical User Interface), and
then developed and upgraded to a higher level using the available Python
in Python does not need to be interpreted or interpreted again into machine code
before it is executed. on the other hand, the Python programming language will
immediately read and execute the code line by line when the program is running.
to develop code and debug it, because there is no need to go through a time-
programming languages are more flexible and can run on multiple platforms and
operating systems.
because the interpreter has to read and execute each line of code separately,
it is easy to learn and understand, and has extensive library and framework
support, and high flexibility in its use. Python is also used in various
Disadvantages of Python
- Slow Speed
programming language, which means that code is executed line by line by the
interpreter, rather than being compiled to machine code before runtime. This adds an
extra layer of overhead, which can slow down the execution speed of Python programs.
Another reason for Python's slow speed is dynamic data types, meaning variable
data types are determined at runtime. This can result in additional overhead time as the
interpreter needs to check and convert variable data types as needed during runtime.
programming languages. This is because typing is dynamic, which means that the data
type of a variable is determined while the process is running, and the interpreter needs to
allocate memory space for that variable based on its data type.
objects that are no longer used, can cause memory fragmentation and slow memory
Another reason for python's inefficiency is due to its high level of abstraction,
which provides a more intuitive programming interface and is easier to use but at a
higher cost of memory usage. For example, Python's built-in data structures, such as lists
and dictionaries, are implemented in ways that make them more flexible and easy to use,
but they also require more memory than their counterparts in other programming 7
languages.
mobile computing, mainly due to its slower execution speed and larger memory
limited resources, such as CPU power, memory, and battery life, and Python's
relatively slower speed and higher memory usage make them unsuitable for some
mobile applications.
However, there are several frameworks and tools available that can help
developers use Python in mobile computing, such as Kivy and BeeWare. This
framework provides tools and libraries that can help optimize Python code for
mobile devices and provide a native look and feel for mobile applications.
machine learning, and use it to develop mobile applications that interact with web
services or APIs.
Overall, while Python may not be the language used for mobile
computing, there are still ways to use it effectively in this context, depending on
2.4 Tensorflow
2.5 Matplotlib
Matplotlib allows author to create diagrams using figure and axis objects. The figure
represents the window that displays the plot, and the axes represent the coordinates of the
plot and the objects within it. B. A line or point. Matplotlib also provides many functions for
setting the appearance of charts such as labels, colors, sizes, etc.
Apart from that, Matplotlib also supports creating more complex plots such as 3D
plots and animated plots. Matplotlib can also be used in conjunction with other libraries
such as Pandas, NumPy, and SciPy to perform more complex data analysis.
Matplotlib is a popular library and widely used by data scientists and the data
scientist community. Matplotlib is continuously developed and updated to help users create
more creative and engaging data visualizations.
2.6 Numpy
are called ndarrays (N-dimensional arrays). Several popular libraries in the scientific
environment such as SciPy, Pandas, and Matplotlib also use NumPy as one of the core
components.