Chapter 1
Chapter 1
CHAPTER 1
INTRODUCTION
Following are the sections that describes the introduction of the project.
There are two categories of procedures used for image processing analogue and digital image
processing. Analogue image processing can be used for the hard copies like printouts and pictures.
Image analysts use various crucial of interpretation while using these visual techniques. Digital
image processing techniques help in arranging of the digital images by using computers. The three
general phases that all types of data have to face while using digital technique are preprocessing
and display information removal.
1
CHAPTER 1 INTRODUCTION
Image processing is now commonly used by a large number of people who have gain digital
cameras and laptops/computer. With a low investment we can with ease magnify contrast, detect
sharpness, quantify brightness and affect a variety of mathematical operations to images.
To detect three colors red, green and blue and to sort three shapes circle square and
triangle on a conveyor belt
To serve as a monitoring and control application.
To allow user to control objects in a conveyor belt.
To provide video feedback from original site.
To provide graphical user interface for the control application
2
CHAPTER 1 INTRODUCTION
Camera Data
capture OUTPUT in form
send to Open-cv process
INPUT color/ of color/shape
OPEN- the data
color/ shape sorted on the
CV
shape conveyor belt
This block diagram consists of five blocks for the entire process. First any of the three color/shape
will be kept on the conveyor belt as an input. The camera mounted on the top of the conveyor belt
will capture the picture and will send the information of that picture to open computer vision.
Open-cv is a library of programming activity largely seek at real time computer vision. In simple it
is deposit used for image processing. It is used to do all the working related to images such as read
and write images, observation of faces and its attributes, detection of shapes, adjust image quality
colors and many more. After all the process in the Open-Cv different colors/shapes will be sorted
on the conveyor belt.
3
CHAPTER 1 INTRODUCTION
The project is designed in this way that the camera is mounted on the hardware i.e. conveyor belt.
There will be some colors i.e. red, green and blue along with some shapes circle, square and triangle
will be kept on the conveyor belt. The conveyor belt which will be running by a dc motor will carry
these colors and shapes to the area where camera is mounted. As the color/shape reaches towards
position of the camera, the camera will capture the image/video. The object will be seen on the
screen of the laptop (computer).
The process of color and shape detection is done by image processing. This process of image
processing is carried in the Open CV which has the library of image processing already build up in
it.
In the Open CV the data given by the camera i.e. the image of the color is first converted into HSV
(Hue Saturation Value). For red color the range is from 0-119, for green 120-239 and for blue 240
or greater than 240. These ranges are converted into binary code i.e. 0 and 1. These binary codes
are compared to the binary codes of those colors which are already build in the Open CV by the
command of Dilate. The binary codes which are matched with the input colors binary codes are
then ready to give the display by the command of IM-SHOW which displays the colors that are
matched by the binary coding.
In case of the shapes let’s say three objects are placed on the conveyor belt. First one is circular,
second one is triangular and the third is square. If the camera captures image of circular object it
will automatically be detected by the process of Open CV. Similarly triangle and the square object
will be detected the programming done on the computer vision.
Here we are also using Arduino that will be controlling the movement of the servo motor. The
angles of the servo motor are such adjusted that the desired color/shape will be sorted by the servo
motor to the droppers on the specific area only e.g. if the input color is red then in the dropper red
color will be thrown into the red section only, this red color will not be thrown into the sections of
other color.
Similar is the case with the shapes. The servo motor will sort the shapes according to their
classification.
Also, the software used for image processing is python. The hardware designing in this project is to
design a conveyor belt and to mount a camera on the conveyor belt. Fitting of rollers, servo motor
and droppers on the conveyor belt is also included as mechanical work of the project.
4
CHAPTER 1 INTRODUCTION
1.7 AIM
Compact
Rugged
Effective
Capable of sorting different objects and colors
Machine controlled by the software
5
CHAPTER 1 INTRODUCTION
Medical science
Surgery
Defense
Artificial intelligence
1.9 CONCLUSION
In this chapter the background, goals and objectives, and operation of the project were discussed.
Also the block diagram was mentioned. Finally the aim, application and significance of the project
were provided.
Chapter 2 is Image Processing which includes general description about image processing
Chapter 3 is system software description which describes the software programming.
Chapter 4 is system hardware description which describes the components used in hardware.
Chapter 5 contains the evaluation of the project and the last chapter include the result, conclusion,
application and future enhancement of the project.