Tumeric Segregation1
Tumeric Segregation1
All industries and stores has workers for turmeric size segregation but
recognizing, categorizing and ranking of turmeric sizes are not done correctly.
As categorizing is one of the most important industry provocations, a
dependable categorizing method is needed so it would be secure to pack
automatically. So, it is required to inflict the hardware system in turmeric size
industry. In accordance with the need of hardware segmenting and packaging
system for turmeric sizes in the supermarket and the limitation of current
methods, this project proposes a new segregation method for turmeric sizes for
packing. Under natural lighting conditions the turmeric sizes are segregated.
To segment images of turmeric sizes we use machine learning techniques. In
order to find a turmeric size in each image and to determine its location twenty
digitized images of turmeric sizes were randomly selected. We compared the
results of both segmentation results and the size based segmentation
outperforms the edge-based segmentation in all aspects. With the adequate
concepts of image processing there is a great scope to provide intelligence for
designing on automation system to differentiate the turmeric sizes according to
its size. This process will lead to developing a product that will segregate all
turmeric size in industries and even in grocery stores. A Microcontroller is
used to drive the sorted turmeric sizes as per the need to their allotted buckets.
Implementation of all segmentation methods on turmeric size images is
applied and a comparative outcome is projected
LIST OF ABBREVIATIONS
ABBREVIATIONS EXPANSIONS
IMAGE PROCESSING Turmeric segregation
RCV Remote Control Vehicle
AC Alternating Current
USB Universal Serial Bus
IDE Integrated Development Environment
ICSP In Circuit Serial Programming
DC Direct Current
IR Infra Red
IORef Input Output Reference
KB Kilo Byte
SRAM Static Random Access Memory
EEPROM Electrically Erasable Programmable Read
Only Memory
LED Light Emitting Diode
GND Image processingund
TTL Transistor-Transistor Logic
PAN Personal Area Network
FHSS Frequency-Hopping Spread Spectra
EN Enable
RM Relative Moisture
AM Absolute Moisture
TCP Transmission Control Protocol
IP Internet Protocol
LIST OF FIGURES
1.1 INTRODUCTION
This overall system is based on the MATLAB software and consists of hardware too.
The Image is being processed by using MATLAB software whenever the turmeric
size is detected. Hardware consist of microcontroller and motors. The servo motor
pass the turmeric sizes and packaging boxes at specified time and these are run by
drivers by the command of microcontroller. This system automates the process of
turmeric size sorting and packaging. The turmeric sizes are passed one by one which
is sensed and image is captured and image processing is done by MATLAB software
and thus spot detection is done. Finally we get the result whether the turmeric size is
accepted or rejected. The turmeric size is collected in it and if the turmeric size is
rejected then the turmeric size is moved to the other side with the help of grip. This
leads to the ease at meeting the requirement of customer and their satisfaction.
Because at the end any industry would aim to meet their customer need and to look
after their requirements. In Texture method, when an element or pattern on a surface
that is repeated on a regular basis, it is called as Texture. The most crucial attribute is
texture in many image analysis and computer vision analysis. The procedures are
further divided into constructive approach, design based approach, analytical
approach and refine based approach. 1.2 History Various algorithms for texture
feature analysis have been proposed by researchers, such as the Wavelet
decomposition method. The extended method is typically based on the cooccurrence
matrix to describe the image features with gradient operator. The texture features are
extracted according to grey level co-occurrence matrix and grey level run-length
matrix. The images obtained from the colour CCD video camera are changed
considering different consumer may pack and place in their own way even if under
the same illumination condition. So, our algorithm should have good robustness in
order to solve the problem. Apart from these, some turmeric sizes have extremely
similar colour, such as guava and green turmerics, white pears and white turmerics.
1.2 BACKIMAGE PROCESSINGUND
Overall, many problems remain to be solved to enable the automatic weighing and
pricing system to recognize turmeric sizes precisely. With the unique development of
this method with grey-scale images, it has been an extensively efficient form,
applicable to colour images. Conventional edge based techniques usually form
disjointed borders that calls for post-processing for producing congested regions. The
borders of the resultant regions constantly match up to contours appearing in the
image as evident contours of objects. The combination of the entire region forms the
complete image area. After segmentation the MATLAB output will be sent to the
Microcontroller.
Here we have used an ATmega8 Microcontroller which helps for packing.
The turmeric sizes packed into three packing buckets. If the recognized
turmeric size is a selected type Microcontroller will send it to second packing
bucket. When the recognised turmeric sizes are very small in size then it will
send the first packing bucket. Or if the segmented turmeric sizes are bigger
than the selected size then the microcontroller will send it to the third packing
bucket. Here, we have used an ATmega8 microcontroller and stepper motor
for the packing process
1.3 OBJECTIVE
Fresh turmeric size harvesting can be done by using the digitized images of turmeric
sizes that were randomly selected from the Internet and all the images would be of
different pixel size. The images will be captured at different lighting conditions with
different background sizes and different camera positions. All of this images will be
sent to the MATLAB as input image. The MATLAB helps recognize the selected
image with the help of image segmentation process. In our proposed system the
image segmentation is based on colour of the selected turmeric size and edge based
segmentation. The segmented imaged recognized by MATLAB will be sent to the
Microcontroller. The Microcontroller ATmega8 used here help to packing of
turmeric sizes.
1.4 PROBLEM STATEMENT
In [4] they used an ATMEGA8, as well as an ultrasonic sensor, a servo motor, and a
battery jumper cable, to create a smart Turmeric size segregation. In [1] they suggest
Image Processing-based Turmeric segregation, as well as a sensor device that will
detect the amount of Turmeric substances in it and send a warning to the municipal
office. In [10] since there is no interaction with thesegregation model, the automatic
door opening mechanism confirms that human garbage disposal is fully hands-free
and therefore very hygienic. Turmeric is separated into categories based on its
capacitance. Wet Turmeric has a slightly higher capacitance than dry Turmeric and
plastic, making it readily distinguishable. Some dry Turmeric has different reflective
properties than plastic, and as a result, the best method for distinguishing plastic
from other dry Turmeric is infrared spectroscopy.
In[8] they mostly focused on Hospital automation systems (which can also be used in
malls and other public places) and hope that this can be applied on a wide scale in
the future. The Turmerics are separated into categories so that they can be easily
disposed of according to their form. In addition, the Turmeric information is
submitted directly to a cloud database in real time. As a result, the Smart Garbage
Segregation & Management System would assist in garbage disposal by segregating
it according to its form, thereby contributing to society and the environment in a
green manner. In [6] they introduced an Turmeric segregation (Image Processing)
framework that not only sends a warning to the company about the overflow and
toxicity level of the Turmeric Size segregations, but also creates a website to track
the data related to the Turmeric Size segregations.
The message is sent to the mobile phone via module, and data about the Turmeric
Size segregation status is updated on the website. People may also file concerns
about trash cans or Turmeric management on this website. The ATmega8 is used as a
microcontroller in the recommended framework to communicate between the LCD
module and the IR sensors, which are used to determine level and toxicity,
respectively.
In [3], The basic idea is to introduce a smart way of handling garbage by using the
IMAGE PROCESSING protocol to wirelessly relay Turmeric Size segregation status
to the concerned individual via e-mail to inform them that the device is full of
garbage and needs to be replaced. In [5] they've taken a more cost-effective
approach to Turmeric management. Furthermore, the matter of Turmeric spilling
due to overcrowding of trucks has been resolved.
In [7] they suggested a topic on Turmeric management focused on the current issues
that it is creating. This was exacerbated by irresponsible Turmeric management, and
as a result, it has been reported that it has a negative impact over time. Turmeric
management is recommended not only for the common solution of a sanitary climate,
but also for other economic, social, environmental, and intergenerational benefits.
The study was expected due to their country's condition, in which it is required to
segregate Turmeric into wet and dry categories. But, due to a lack of time, Turmeric
is usually segregated without much thought; however, a suggested solution is to
establish automated Turmeric segregation using a moisture sensor. The sensor senses
whether the Turmeric is wet or dry and separates it accordingly. Furthermore,
ultrasonic sensors detect the wet and dry Turmeric segregation models, determining
if they are full or not, and if so, how full they are.
In [2] they defined how Solar Smart segregation model can be used to handle an
entire city's Turmeric collection system. In [9] they suggested an Image Processing-
based smart Turmeric management system that uses sensor systems to control the
Turmeric level in thesegregation models. As soon as it was detected, the device was
changed to concern approved via GSM/GPRS.
The system is more user-friendly and easier to operate. The model is designed such
that anybody can access the machine without the need for basic knowledge. This can
be used to separate metals, plastics, paper, wood, glass Turmeric materials. Then
with the help of a camera and the IMAGE PROCESSING method, the Turmeric can
be identified accordingly and can be separated. The model required Turmeric
materials as inputs and detects them which are further separated. The Turmeric
materials are carried by a conveyor belt which takes the Turmeric materials through
each sensor and finally through the camera. The outcome of this project is the
Turmeric materials which are separated into their respective categories. The inputs
are sent through a conveyor belt which consists of a sensor and a camera. It identifies
the Turmeric materials and gives the output. With the help of the camera module, the
Turmeric material is detected and can be separated into its respective segregation
models. By this, we get the separated Turmeric materials in their respective
segregation models.. The picked-up trash is segregated (metallic and non-metallic,
wet and dry Turmeric) and dumped into the segregation model attached to the robot
which has separate partitions for metallic wet, non-metallic wet, metallic dry and
non-metallic dry trashes. Along with this we have attached a dust collector at the
bottom of the collector bin model which collects minute dust particles like (hair,
sand, dead bugs, etc). Also, we have used image processing for identifying the
objects using IMAGE PROCESSING by camera module.
2.3.1 ADVANTAGES
2.4 EXPLANATION
Image Processing
Image processing is a crucial process that involves converting an image into digital
form and applying various operations to extract useful information from it. This field
treats images as 2D signals and employs specific signal processing methods to
analyze them. It aims to enhance images or extract relevant information, such as
characteristics or properties associated with the image.
The acquisition of the image is done by Pi camera, the ATmega8 camera module v2
replaces the original camera module. It attaches via a 15cm ribbon cable to the USB
port on the ATmega8. This camera works with all modules of ATmega8 1, 2 and 3.
The original image which is captured by ATmega8 which is in jpeg format. Since
jpeg compression technique is a lossy compression, quality of image is reduced and
does not support layered images. In this project it is difficult to differentiate between
the dry and wet Turmeric in the JPEG format, so the image is converted into gray
scale image, which is a range of shades of gray without apparent size.
The darkest possible shade is black which is a total absence of transmitted or
reflected light, the lightest possible shade is white. Gray scale (or a gray level) image
is simply one in which the only sizes are shades of gray. The reason for
differentiating such images from any other sort of size image is that less information
needs to be provided for each pixel. Often, the grayscale intensity is stored as an 8-
bit integer giving 256 possible different shades of gray from black to white. If the
levels are evenly spaced, then the difference between successive gray levels is
significantly better than the gray level resolving power of the human eye. Gray scale
images are very common, in part because much of today’s display and image capture
hardware can only support 8-bit images. To be more in specific with the processing
the image, the gray level image is then further converted into binary image, which is
a digital image that has only two possible values for each pixel. Typically, the two
sizes used for a binary image are black and [Link] images are also called bi-
level or two-level. This means that each pixel is stored as a single bit – i.e., a 0 or 1.
The names black- and white between monochrome or monochromatic are often used
for this concept but may also designate any images that have only one sample per
pixel, such as gray scale images. This kind od images can often arise in digital image
processing as masks or as the result of certain operations such as segmentation,
thresholding and dithering. The above two steps of conversion makes the kNN
algorithm easy to identify the dry and wet Turmeric. The purpose of the k Nearest
Neighbors (kNN) algorithm is to use a database in which the data points are
separated into several separate classes to predict the classification of a new sample
point. The major software requirement in the project of Robotic Arm for Trash
Collecting and Seperating Robot is a PuTTY software which is a free and open-
source terminal. In computing the software application which connects the PuTTY
software to the ATmega8 is a TightVNC server which is a cross-platform free and
opensource remote desktop software application. It uses and extending the RFB
protocol of Virtual Network Computing (VNC) to allow end-users to control another
computer's screen remotely. So once the software and all the hardware parts is
implemented the output of the system is initially picking of garbage and placing it to
the respective segregation models.
The basic function of a pick and place robot is done by its [Link] of freedom
implement the linear and rotational movement of the body and Degrees of movement
imply the number of axis the body can move. In this project using USB cable, which
is a proprietary audio/video interface for transmitting uncompressed video data and
compressed or uncompressed digital audio data from an USB-compliant source
device, such as a display controller, to a compatible computer monitor, video
projector, digital television, or digital audio device. USB is a digital replacement for
analog video standards
CHAPTER 3
PROJECT DESCRIPTION
The main aim of the project is to design a smart Turmeric Size segregation which
will help in keeping our environment clean and also eco-friendly. We are inspired
from Swachh Bharat Mission. Nowadays, technologies are getting smarter day-to-
day so as to clean the environment, we are designing a smart Turmeric Size
segregation by using ATmega8. This smart Turmeric Size segregation management
system is built on the micro-controller-based system having RFID scanner and robotic
arm.
3.1.1 Methodology
The block diagram of the proposed work shown in project consists of two
modules Sensing and Classifier Unit and Disposal Unit. The sensing unit and
Classifier unit is implemented with five steps capturing of input image, pre-
processing, Median filtering, contrast enhancement and segmentation. The categories
considered here are cotton, bottles, syringe, papers and others. The classification of
turmeric is based on features extracted from Gray Level Cooccurence Matrix (GLCM)
algorithm. After the segregation process it will be automated to the
The scope consists of three, the scope of the user, the scope of the location, and the
scope of the system:
User Scope:
The user's scope consists of people who are in need of help and for working people. It
can be used in Hospitals and office. It is a Image processing wing technology.
Scope of Location:
The main aim of this project is to reduce human resources and efforts along with the
enhancement of a smart city vision. This project involves people who need help.
Although this project is just a prototype, it is developed almost identical to the actual
situation.
System scope:
Smart Turmeric Size segregation helps us to reduce the pollution. Many times
garbage Turmeric Size segregation is overflow and many animals like dog or rat
enters inside or near the Turmeric Size segregation. This creates a bad scene. Also,
some birds are also trying to take out garbage from Turmeric Size segregation. This
project can avoid such situations. And can be controlled with Bluetooth and Wi-Fi.
3.3 WORKING
In this project methodology model takes the fundamental process activities of Project
processing interface with autonomous and manual mode of control. The trash is
picked up using robotic arm. The picked-up trash is segregated (metallic dry, metallic
wet, non-metallic dry and non-metallic wet) and dumped into segregation model
attached to the robot which has separate partitions for metallic and non-metallic
trashes. If the collector bin model gets filled it is notified to the person operating the
Turmeric collection can be viewed by the operator through internet using a web
The robot is operated using an android mobile phone and a laptop. 2 operating modes.
Manual and Autonomous. In manual mode the robot locomotion and trash pickup is
operated using an android phone through Blueterm app. The robot can be controlled
from anywhere in the world by the use of Internet (IMAGE PROCESSING). The trash
is picked up using robotic arm made using servos. The collected trash is transferred to
a collector bin model attached to the robot platform. The collector bin model has
separate partitions for metallic and non-metallic trashes. Another Servo motor
attached to the collector bin model will rotate the segregation model so that the
collected Turmeric will fall into the corresponding partition of the segregation model.
In autonomous mode the robot locomotion and Turmeric pickup is done without
human intervention. In autonomous mode the robot locomotion and Turmeric pickup
is done without human intervention. Other objects are considered as trash and are
picked up by the robotic arm.
Metal detectors placed in the arm check the trash picked to be metallic or non-metallic
and are dumped its corresponding partition in the collector bin model. RFID scanner
placed in the collector bin model monitor the level of the Turmeric in thesegregation
placed at the bottom of the collector bin model which collects minute dust.
SOFTWARE DESCRIPTION
4.1 MATLAB
Algorithm development
MATLAB is an interactive system whose basic data element is an array that does not
require dimensioning. This allows you to solve many technical computing problems,
especially those with matrix and vector formulations, in a fraction of the time it would take
to write a program in a scalar noninteractive language such as C or [Link] name
MATLAB stands for matrix laboratory. MATLAB was originally written to provide easy
access to matrix software developed by the LINPACK and EISPACK projects, which
together represent the state-of-the-art in software for matrix [Link] has
evolved over a period of years with input from many users.
In university environments, it is the standard instructional tool for introductory and
advanced courses in mathematics, engineering, and science. In industry, MATLAB is the
tool of choice for high-productivity research, development, and analysis.
The save command is used for saving all the variables in the workspace, as a file with .mat
extension, in the current directory.
The MATLAB system consists of five main parts:
Handle Graphics.
This is the MATLAB graphics system. It includes high-level commands for two-
dimensional and three-dimensional data visualization, image processing, animation, and
presentation graphics. It also includes low-level commands that allow you to fully
customize the appearance of graphics as well as to build complete Graphical User
Interblood images on your MATLAB applications.
MATLAB notation
MATLAB introduced some notational conveniences that make it easy to express ideas
about matrices more compactly than had been possible. Most notable are the concatenation
operations: [A, B] (the matrix whose columns are the columns of A followed by those of
B) and [A; B] (the vertical concatenation, whose rows are the rows of A followed by those
of B). Other notational innovations include A' for the transpose of the matrix A, A .* B for
the Hadamard (element by element) product of two matrices, and A\b for the computation
of the product of the inverse of a matrix (A) with a vector (b).
MATLAB allows a function to have several outputs, with the syntax [x,y,z] = f(a,b,c). The
m by n matrix all of whose elements are 1 is generated by the function ones(m,n), while
zeros(m,n) and rand(m,n) generate the zero matrix and a matrix with independent uniform
random elements. The identity of order n is known in MATLAB as eye(n).
Avoiding exceptions
Certain common bugs that cause early termination or unpredictable behavior in FORTRAN
and C programs do not do so in MATLAB. Plus and minus infinity are supported values in
MATLAB; they can be the result of a computation and can be written as literal values (Inf,
-Inf). Taking advantage of features in the IEEE-754 standard for floating point, MATLAB
returns appropriate values on divide by zero ( 1 / 0 yields positive infinity, -1 / 0 yields
negative infinity, and 0 / 0 yields Not a Number. ) Writing "past the end" of a matrix does
not cause an error in and of itself, rather the matrix is enlarged (with zeros) to make it big
enough.
Sparse matrices
a=
(1,1) 1
(2,2) 1
(3,3) 1
>> full(a)
ans =
1 0 0
0 1 0
0 0 1
Note that sparse matrices are displayed as a list of the nonzero elements with their (row,
column) coordinates. The choice of storage format is made by the MATLAB user or
programmer rather than by the MATLAB implementation. The default is full. A matrix can
be coerced to full or to sparse form by use of the functions full and sparse. The nonzeros
can be explicitly listed using ( [row_index, column_index, value] = find(A) ).
Signed and unsigned integer data can be created and manipulated. Some operators are,
however, only implemented for doubles. Matrices of short integer types require less storage
than the default 64-bit floating point [Link] (more than two dimensions),
strings, and lists of arbitrary MATLAB objects are also supported:
4.4 HISTORY OF MATLAB
Origins
Cleve Moler is the creator of MATLAB. Moler was a numerical analyst specializing in
matrix computation. In the early 1970s, Moler participated in an effort organized by
Argonne National Laboratory to produce a library of reliable, efficient FORTRAN
subroutines for computing the eigenvalues of matrices (EISPACK) and solving systems of
linear equations (LINPACK). In order to make these packages easier for students to use,
Moler created MATLAB, whose name is a contraction of "Matrix Laboratory." The
original MATLAB was a FORTRAN program, designed for the era of timesharing and
ASCII terminals. It had only one data type (the matrix of complex doubles) and a fixed
collection of 80 functions. Moler used the FORTRAN MATLAB in teaching numerical
analysis at Stanford in 1979. Word of the program reached Jack Little, who grasped the
potential of MATLAB in signal processing and control, and the possibility of making a
successful software product based on MATLAB for the new IBM [Link] and Steve
Bangert developed PC MATLAB by porting Moler's code from FORTRAN to C, adding
user-defined functions (in effect making MATLAB into a programming language rather
than a calculator), improved graphics, and libraries of MATLAB routines, the toolboxes.
Moler, Little, and Bangert formed the Mathworks in 1984, with PC MATLAB as the first
product. Their first sale was an order for ten copies placed by Professor Nick Trefethen at
MIT.
Image processingwth and Development
Jack Little's 100-word, 1983 business plan predicted that the new product would do for the
technical world what Lotus 1-2-3 had done in the business world. MATLAB has indeed
been a commercial success from the beginning, Image processingwing to more than
1,000,000 users and by 2006 to 1,200 Mathworkers, as the employees of Mathworks are
known. MATLAB has, in effect, become the common language for the informal exchange
of software and for algorithmic experiment in technical computing. The company remains
privately held.
There have been several major revisions and enhancements to MATLAB, including an
extended set of graphics tools and primitives, multidimensional arrays and lists (known in
MATLAB as eye arrays), classes and objects, economical storage schemes and algorithms
for sparse matrices, a debugger, a profiler, a GUI builder, a lower cost student edition, and
Just-In-Time (JIT) compilation for improved performance. The computational core has
been upgraded through the incorporation LAPACK (a state-of-the-art library for matrix
computation), as well as software for computation of definite integrals, integration of
ordinary differential equations, and root finders. Toolboxes created by the Mathworks and
other contributors have expanded the scope of MATLAB, adding capabilities in areas such
as , signal and image processing, fuzzy logic, splines, wavelets, statistics, partial
differential equations, bioinformatics, and mathematical finance. SIMULINK, an
extensible block diagram environment for simulation and model-based design appeared as
a second Mathworks product in 1990.
This indicates that the library routine used by MATLAB to add two vectors performs this
operation at a rate of about 54 million elements per second (a rate determined by
the memory bandwidth of the machine on which the experiment was run). When the code
is rewritten as a MATLAB loop, the rate is reduced:
So the interpreter runs this code roughly 50 times slower. When the vector add is placed in
an M-file, however, the JIT compiler is invoked, and the runtime drops to roughly 1.5
times the time taken by the library code.
>> clear b; tic; for i = 1:10^5, b(i) = a(i) + a(i); end, toc
Elapsed time is 34.178847 seconds.
Here, the array b is extended by every assignment statement. There being no room in the
previously allocated value to store the new element b(i), the entire array is copied into a
new and larger space. The number of bytes copied Image processingws as the square of the
length of the vectors, a performance disaster. Adding the space allocating statement b =
zeros(size(a)) just before the loop avoids this trap. In MATLAB version 7.4.0 (release
R2007a), current at the time this article was written, the JIT was not powerful enough to
automate this .
function a = double(a)
and achieve reuse of the storage space of the input variable, avoiding even a single
allocation and an explicit preallocation statement such as result = zeros(size(a)).
There are a number of popular, competitive alternatives to MATLAB that offer a similar
interactive environment for numerical computation, for example: GNU Octave (free),
Scilab (semi-free), and Mathematica (non-free).
With the shift to multi-core processor chips, parallel computers, long in use for demanding
scientific applications, have become the norm in servers, desktops, and laptops.
Programmers have found them quite difficult to use, and there has been widespread
speculation that a parallel version of MATLAB would make parallel machines easier to
use. Many research efforts have aimed at architecting and implementing a parallel
MATLAB-like programming environment (there is an online survey of these). Mathworks
has recently moved to incorporate first a distributed computing model (of loosely coupled
parallel tasks) and now a more complete, parallel version of MATLAB in which multiple
copies of MATLAB, each with its own workspace, can communicate via message passing
and can also cooperatively carry out operation of shared arrays whose elements are
distributed among them.
CHAPTER 5
MODULES
Image Enhancement
Image enhancement techniques have been widely utilized in many applications of
image processing where the subjective quality of images is consequential for
human interpretation. Contrast is a paramount factor in any subjective evaluation
of image quality. Contrast is engendered by the difference in luminance reflected
from two adjacent surfaces. In other words, contrast is the difference in visual
properties that makes an object distinguishable from other objects and the
backImage processingund. In visual perception, contrast is resolute by the
difference in the size and effulgence of the object with other objects. Our visual
system is more sensitive to contrast than absolute luminance; consequently, we can
perceive the world similarly regardless of the considerable transmutations in
illumination conditions. This simply means improvement of the image being
viewed to the (machine or human) interpreter's visual system. Image enhancement
types of operations include contrast adjustment, noise suppression filtering,
application of pseudo size, edge enhancement, and many others.
Image Restoration
The purpose of image restoration is to "compensate for" or "undo" defects which
degrade an image. Degradation comes in many forms such as motion blur, noise,
and camera miscues. In cases like motion blur, it is possible to come up with a
very good estimate of the actual blurring function and "undo" the blur to restore
the original image. In cases where the image is corrupted by noise, the best we
may hope to do is to compensate for the degradation it caused.
Image Analysis
Image analysis is the extraction of meaningful information from images. Image
analysis operations produce numerical or graphical information based on
characteristics of the original image. They break into objects and then classify
them. They depend on the image statistics. Common operations are extraction and
description of scene and image features, automated measurements, and object
classification. Image analyse are mainly used in machine vision applications.
Feature Extraction
Feature extraction involves simplifying the amount of resources required to
describe a large set of data accurately. When performing analysis of complex data
one of the major problems’ stems from the number of variables involved. Analysis
with a large number of variables generally requires a large amount of memory and
computation power or a classification algorithm which over fits the training
sample and generalizes poorly to new samples. Feature extraction is a general term
for methods of constructing combinations of the variables to get around these
problems while still describing the data with sufficient accuracy. All the pre-
processing techniques on image processing are implemented through MATLAB
A CNN machine learning ( /IMAGE PROCESSING) is a Deep Learning algorithm
which can take in an input image, assign importance (learnable weights and biases) to
various aspects/objects in the image and be able to di fferentiate one from the other. The
pre-processing required in a is much lower as compared to other classification
algorithms. While in primitive methods filters are hand-engineered, with enough training,
s have the ability to learn these filters/characteristics.
[Link] ATMEGA8
moving forward. The ATmega8 is the latest in a series of USB ATmega8 boards, and the
reference model for the ATmega8 platform.
The L298N is an integrated monolithic circuit in a 15- lead Multiwatt and PowerSO20
packages. It is a high voltage, high current dual full-bridge driver de-signed to accept
standard TTL logic level sand drive inductive loads such as relays, solenoids, DC and
stepping motors. Two enable inputs are provided to enable or disable the device
independently of the in-put signals. The emitters of the lower transistors of each bridge are
connected together rand the corresponding external terminal can be used for the connection
of an external sensing resistor. An additional Supply input is provided so that the logic
works at a lower voltage.
Features
Features
1. 12V – 200RPM –
2. 3.6KG•CM torque DC gearhead motor
3. 30:1 Gear Ratio
4. 2mm rear encoder shaft
5. Good compromise between speed and torque for small robotic designs.
CHARACTERISTIC VALUE UNIT
Operating voltage 4.5-18 V
Startup torque (kilogram- 3.6 [Link]
force centimeter)
Startup torque (inch- 3.1 [Link]
pound)
Gear ratio 30:1
No-Load current (12V) 0.053 A
Stall Current 1.5 A
No-Load Speed (12V) 200 RPM
4.3.3 LCD
A liquid crystal display (LCD) is a thin, flat display device made up of any number
of size or monochrome pixels arrayed in front of a light source or [Link] pixel
consists of a column of liquid crystal molecules suspended between two transparent
electrodes, and two polarizing filters, the axes of polarity of which are perpendicular to
each [Link] the liquid crystals between them, light passing through one would be
blocked by the other. The liquid crystal twists the polarization of light entering one filter to
allow it
An LCD is either made up of an active matrix display grid or a passive display grid. Most
of the Smartphone’s with LCD display technology uses active matrix display, but some of
the older displays still make use of the passive display grid designs. Most of the electronic
devices mainly depend on liquid crystal display technology for their display. The liquid
has a unique advantage of having low power consumption than the LED or cathode ray
tube.
Liquid crystal display screen works on the principle of blocking light rather than emitting
light. LCD’s requires backlight as they do not emits light by them. We always use devices
which are made up of LCD’s displays which are replacing the use of cathode ray tube.
Cathode ray tube draws more power compared to LCD’s and are also heavier and bigger.
Simple facts that should be considered while making an LCD:
The basic structure of LCD should be controlled by changing the applied current.
We must use a polarized light.
Liquid crystal should able be to control both of the operation to transmit or can also able to
change the polarized light.
As mentioned above that we need to take two polarized glass pieces filter in the making of
the liquid crystal. The glass which does not have a polarized film on the surface of it must
be rubbed with a special polymer which will create microscopic grooves on the surface of
the polarized glass filter. The grooves must be in the same direction of the polarized film.
Now we have to add a coating of pneumatic liquid phase crystal on one of the polarized
filter of the polarized glass. The microscopic channel cause the first layer molecule to align
with filter orientation. When the right angle appears at the first layer piece, we should add
a second piece of glass with the polarized film. The first filter will be naturally polarized
as the light strikes it at the starting stage.
Thus the light travels through each layer and guided on the next with the help of molecule.
The molecule tends to change its plane of vibration of the light in order to match their
angle. When the light reaches to the far end of the liquid crystal substance, it vibrates at
the same angle as that of the final layer of the molecule vibrates. The light is allowed to
enter into the device only if the second layer of the polarized glass matches with the final
layer of the molecule. he liquid-crystal display has the distinct advantage of having a low
power consumption than the LED. It is typically of the order of microwatts for the display
in comparison to the some order of milliwatts for LEDs. Low power consumption
requirement has made it compatible with MOS integrated logic circuit. Its other
advantages are its low cost, and good contrast. The main drawbacks of LCDs are
additional requirement of light source, a limited temperature range of operation (between 0
and 60° C), low reliability, short operating life, poor visibility in low ambient lighting,
slow speed and the need for an ac drive.
An LCD is either made up of an active matrix display grid or a passive display
grid. Most of the Smartphone’s with LCD display technology uses active matrix display,
but some of the older displays still make use of the passive display grid designs. Most of
the electronic devices mainly depend on liquid crystal display technology for their display.
The liquid has a unique advantage of having low power consumption than the LED or
cathode ray tube.
Liquid crystal display screen works on the principle of blocking light rather than
emitting light. LCD’s requires backlight as they do not emits light by them. We always use
devices which are made up of LCD’s displays which are replacing the use of cathode ray
tube. Cathode ray tube draws more power compared to LCD’s and are also heavier and
bigger.
Pin Diagram of LCD
Advantages of an LCD’s:
LCD’s consumes less amount of power compared to CRT and LED
LCD’s are consist of some microwatts for display in comparison to some mill watts for
LED’s
LCDs are of low cost
Provides excellent contrast
LCD’s are thinner and lighter when compared to cathode ray tube and LED
4.3.4 RELAY
The main usage of the Relay was seen in the history for transmitting and receiving the
information, that was called as Morse code where the input signals used to be either 1 or 0,
these change in signals were mechanically noted in terms of ON and OFF of a light bulb or
a beep sound, it means those pulses of 1s and 0s are converted as mechanical ON and OFF
using electromagnets. Later this was improvised and used in various applications. Let’s see
how this electromagnet acts as a switch and why it is named as RELAY. A relay is
classified into many types, a standard and generally used relay is made up of
electromagnets which in general used as a switch. Dictionary says that relay means the act
of passing something from one thing to another, the same meaning can be applied to this
device because the signal received from one side of the device controls the switching
operation on the other side. So relay is a switch which controls (open and close) circuits
electromechanically. The main operation of this device is to make or break contact with
the help of a signal without any human involvement in order to switch it ON or OFF. It is
mainly used to control a high powered circuit using a low power signal. Generally a DC
signal is used to control circuit which is driven by high voltage like controlling AC home
appliances with DC signals from microcontrollers.
A relay is an electrically operated switch. Many relays use an electromagnet to operate a
switching mechanism mechanically, but other operating principles are also used. The first
relays were used in long distance telegraph [Link] voltage is supplied to the
primary circuit, current flows through the coil winding to ground. Whilst doing so, a
magnetic field develops around the primary coil. As the magnetic field builds, it pulls
together the switch contact in the secondary circuit, thus supplying current to the
component being [Link] the relay is switched off the magnetic field is removed
and the sprung plate returns the switch to the open circuit position, thus switching off the
power.
Design of a Relay
An electromechanical relay is basically designed using few mechanical parts like
Electromagnet, a movable armature, contacts, yoke, and a spring/frame/stand, these parts
are showing in the internal pictures of Relay below. All these are arranged logically to
form into a relay.
In electromechanical relays (EMR), contacts are opened or closed using magnets. Solid-
state relays (SSR) have no contacts and switching is totally electronic. Functions
performed by heavy-duty equipment often need switching capabilities of
electromechanical relays. Solid State Relays switch current using non-moving electronic
devices such as silicon controlled rectifiers.
Solid state relays do not have to energize a coil or open contacts. They require lesser
voltage for switching and turn on and off faster because there are no physical parts to
move. Although the absence of contacts and moving parts means that Solid state relays are
not subject to arcing and do not wear out. Contacts on electromechanical relays can be
replaced, whereas entire solid state relays must be replaced when any part becomes
defective. Because of the construction of solid state relays, there is residual electrical
resistance and/or current leakage whether switches are open and closed.
There are many types of relay switches available, but many times transistors and
MOSFETs are used as the main switching device. Transistors provide fast switching
control of the relay coil from various sources. A typical relay switch circuit has the coil
driven by a NPN transistor switch, TR1 as shown depending on the input voltage level.
When the Base voltage of the transistor is zero (or negative), the transistor is cut-off and
acts as an open switch. In this condition, no Collector current flows and the relay coil is
de-energised because being current devices, if no current flows into the Base, then no
current will flow through the relay coil.
Electromagnet:
An Electromagnet plays a major role in the working of a relay. It is a metal which doesn’t
have magnetic property but it can be converted into a magnet with the help of an electrical
signal. We know that when current passes through the conductor it acquires the properties
of a magnet. So, when a metal winded with a copper wire and driven by the sufficient
power supply, that metal can act as a magnet and can attract the metals within its range.
Movable Armature:
Movable armature is a simple metal piece which is balanced on a pivot or a stand. It helps
in making or breaking the connection with the contacts connected to it.
Contacts:
These are the conductors that exist within the device and are connected to the terminals.
Yoke:
It is a small metal piece fixed on a core in order to attract and hold the armature when the
coil is energized.
Spring (optional):
Few relays don’t need any spring but if it is used, it is connected to one end of the
armature to ensure its easy and free movement. Instead of a spring, a metal stand like
structure can be used.
Construction of Relay and its operation:
The following figure shows how a Relay looks internally and how it can be constructed,
On a casing, a core with copper windings (forms a coil) winded on it is placed. A movable
armature consists of a spring support or stand like structure connected to one end, and a
metal contact connected to another side, all these arrangements are placed over the core
such that, when the coil is energized, it attracts the armature. The movable armature is
generally considered as a common terminal which is to be connected to the external
circuitry. The relay also has two pins namely normally closed and normally opened (NC
and NO), the normally closed pin is connected to the armature or the common terminal
whereas the normally opened pin is left free (when the coil is not energized). When the
coil is energized the armature moves and is get connected to the normally opened contact
till there exists flow of current through the coil. When it is de-energized it goes to its initial
position.
The general circuit representation of the relay is as shown in the figure below
• Power supply: a group of circuits that convert the standard ac voltage (120 V,
60 Hz) provided by the wall outlet to constant dc voltage
• The pulsating dc voltage is only suitable to be used as a battery charger, but not
good enough to be used as a dc power supply in a radio, stereo system, computer
and so on.
• Filter: a circuit used to reduce the fluctuation in the rectified output voltage or
ripple. This provides a steadier dc voltage.
Voltage Regulation
• Two basic categories of voltage regulation are:
line regulation
load regulation
• The purpose of line regulation is to maintain a nearly constant output voltage when
the input voltage varies.
• The purpose of load regulation is to maintain a nearly constant output voltage when
the load varies
Line Regulation
Load regulation: A change in load current (due to a varying RL) has practically no effect on
the output voltage of a regulator (within certain limits)
• Load regulation can be defined as the percentage change in the output voltage from
no-load (NL) to full-load (FL).
• Where:
• Two basic types of linear regulator are the series regulator and the shunt regulator .
• The series regulator is connected in series with the load and the shunt regulator is
connected in parallel with the load.
IC Voltage Regulators
• Regulation circuits in integrated circuit form are widely used.
• Their operation is no different but they are treated as a single device with
associated components.
• These are generally three terminal devices that provide a positive or negative
output.
• These voltage regulators when used with heatsinks can safely produce current
values of 1A and greater.
• Several types of both linear (series and shunt) and switching regulators are
available in integrated circuit (IC) form.
• reference source
• comparator amplifier
• control device
• overload protection
• Generally, the linear regulators are three-terminal devices that provides either
positive or negative output voltages that can be either fixed or adjustable
• The series 78XX regulators are the three-terminal devices that provide a fixed
positive output voltage.
• An unregulated input voltage Vi is filtered by a capacitor C1 and connected to the
IC’s IN terminal.
• The IC’s OUT terminal provides a regulated +12 V, which is filtered by capacitor
C2.
• Voltage regulators keep a constant dc output despite input voltage or load changes.
• The two basic categories of voltage regulators are linear and switching.
• The two types of linear voltage regulators are series and shunt.
• Switching regulators are more efficient than linear making them ideal for low
voltage high current applications.
[3] Chinmay Kolhatkar, Prachi Choudhari, Bhavesh Joshi, Dhruvin Bhuva‖ Smart E-
Turmeric Size segregation,2018, International Conference on Smart city and
emerging technology (ICSCET).
[6] Rishabh Kumar Singhvi, Roshan Lal Lohar, Ashok Kumar, Ranjeet Sharma,
Lakhan Dev Sharma, Ritesh Kumar Saraswat,2019, Image Processing Based Smart
Turmeric Management System: India prospective, Turmeric segregation: Smart
Innovation and Usages 2019 4th International Conference on, pp. 1-6.