Transcript Dec1_3

Color Recognition and
Image Processing
CSE321 MyRo Project
Rene van Ee and Ankit Agarwal
Classes, Responsibility,
Collaboration (CRC)
Class: MyRo
Responsibilities:
Collaborators:
Bluetooth
Communicate with Host Computer **
Search for Red Cup *
Camera
Navigate to Red Cup **
Motors
Notify Host (lack) of discoveries *
IR Sensors
Rene *
Ankit **
Classes, Responsibility,
Collaboration (CRC)
Class: Host Computer
Responsibilities:
Initialize MyRo **
Collaborators:
Bluetooth
Speakers
Notify User (lack) of discoveries *
Rene *
Ankit **
Our Project
Our Algorithm
Assume Red Cup not found
while not found
Take a picture
iterate over pixels
if pixel is very red
Increase pixel counter
if large amount of red pixels are found
Align robot with cup
while too far away
Move forward
Update alignment
Notify Red Cup found
else
Turn to new direction
if searched area twice
Notify Red Cup not found
Lessons Learned
 Formation of images and processing
- Manipulation of individual pixels
 Filtering of images
- Enhancement of features
- Extraction of information
 Managing and coordinating tasks
 Efficient coding
 Artificial Intelligence
- Is the cup centered?
- How to correct alignment