Object Tracking Robot Onraspberry Pi Using Opencv
Object Tracking Robot Onraspberry Pi Using Opencv
ABSTRACT idea behind robotic vision is: viewing an object from the
on object of interest and to
Autonomous vision based robots are intelligent robots act accordingly. It is about giving artificial sight to
which take visual data, process it and provide appropriate robots.The implemented robot can be used in various
chemical industries, military application, coin separation,
need any kind of human intervention since they are pre- pencil industry.
fed with instructions. A robot is designed on Raspberry
Pi using OpenCV, which is used for object detection 2. HARDWARE DESIGN
based on its colour, size and shape. Here only a single
object is being detected at a time. The tracking of the 2.1 List of Hardware
object is based on division of the image into virtual grids.
The movement of the robot is based on the position of A chassis is used as a base on which following hardware
the object in the grid. An arm is incorporated to pick the components are fit:
object once it is stationary. After picking the object, it
would be dropped into its respective coloured container Raspberry Pi (rev B) for GPU and CPU
which has a predefined position. computations.
Wi-Fi dongle to connect to Pi remotely.
Keywords- OpenCV, Raspberry Pi, Virtual Grids, RDP Motor driver which can control two motors
Batteries to provide power.
Desk, GPIO, Contours. Jumper wires to connect individual
components.
1. INTRODUCTION Web camera.
Servo motor to control the arm of the robot.
According to the Oxford English Dictionary, the word 2.2 Hardware and Software Description
roboticswas first used in print by Isaac Asimov, in his
science fiction short story "Liar!". Asimov was unaware 2.2.1 Raspberry Pi
that he was coining the term and he assumed robotics
already referred to the science and technology of robots. The Raspberry Pi is a credit card-sized single-board
Stories of artificial helpers, companions and attempts to computer. There are currently five Raspberry Pi models
create them have a long history, but fully autonomous in market i.e. the Model B+, the Model A+, the Model B,
machines only appeared in the 20th century. the Model A, and the Compute Module. All models use
the same SoC (System on Chip - combined CPU&GPU),
Artificial Intelligence (AI) powers the evolution of but hardware features differ.
robotics in the modern era. The core of robotics is AI and
computer science is a building block of AI. Highly
intelligent robots and robots with AI are fruits of
continuous research and years of development. The
present project was time and resources bound to build a
robot with high level AI; hence, a simple, yet an
International Journal of Engineering Trends and Technology (IJETT) Volume 35 Number 4- May 2016
2.2.6OpenCV
5. MODES OF OPERATION
Fig 3 : grid
contours1,_=cv2.findContours(im_bw,cv2.RETR_TR
EE,cv2.CHAIN_APPROX_NONE)
Fig 4: contour
M=cv2.moments(im_bw)
centroid_x = int(M['m10']/M['m00'])
centroid_y = int(M['m01']/M['m00'])
5.2 MANUAL
7. FUTURE ENHANCEMENT
Controlling the movement of the robot can be done using We would like to thank VGST (Vision Group on Science
some kind of remote control interface. It may be web and Technology), Government of Karnataka, India for
interface or a mobile interface. Since setting up python providing infrastructure facilities through the K-FIST
and SSH in raspberry pi is very easy without any cons, it Level II project at KSIT, CSE R&D Department,
is recommended to use a mobile based user interface for Bengaluru
controlling the robot motion. One of the most common
approach which is used to send command to the server is 9. REFERENCES
AppInventor.Frontend of the App which is shown
consists of a slot to enter the IP address of the sever to
connect to the raspberry pi. Various controlling buttons Detection and Path Find
IEEE.
are used to send the signals to the server and that will [2]Hyung-Bok Kim and Kwee-Bo Sim, A Particular Object
execute the corresponding controlling action. Tracking In An Environment Of Multiple Moving Objects
International Conference on Control,Automation and Systems
6. RESULT 2010.
[3]MaimunHujaHusin, FauzilianaOs
At the end of the automatic mode, robot tracks, analyses shape pattern recognition for FPGA-based object tracking
the colour of the picked object and drops the object into .
the respective coloured container. [4] Ana Maria Ocana,Francisco
At the end of manual mode, robot moves and does the Inc. 2013.
task as desired by the user according to the commands [5] https://en.Wikipedia.org/wiki/Green%27s_theorem
given through the application(app). [6] Jaya P and GeethuBalakrishnan, Contour Based Object
Tracking, IJCSIT 2014.
[7] Narayan Pandharinath Pawar & Minakshee M. Patil,
Driver Assistance System based on Raspberry Pi, International
Journal of Computer Applications (0975 8887) Volume 95
No.16, June 2014, pp. 36-39.