https://github.com/akshaymogaveera/object-sorting-using-robotic-arm-and-image-processing
Sorting objects of different colors using robotic arm and using computer vision (image processing).
https://github.com/akshaymogaveera/object-sorting-using-robotic-arm-and-image-processing
arduino image-processing image-recognition numpy opencv python raspberry-pi-3 raspberry-pi-camera robotic-arm robotics robotics-programming servo-motor
Last synced: 5 days ago
JSON representation
Sorting objects of different colors using robotic arm and using computer vision (image processing).
- Host: GitHub
- URL: https://github.com/akshaymogaveera/object-sorting-using-robotic-arm-and-image-processing
- Owner: akshaymogaveera
- Created: 2017-08-23T15:17:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-08-19T09:51:59.000Z (almost 4 years ago)
- Last Synced: 2025-04-09T19:13:28.323Z (3 months ago)
- Topics: arduino, image-processing, image-recognition, numpy, opencv, python, raspberry-pi-3, raspberry-pi-camera, robotic-arm, robotics, robotics-programming, servo-motor
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 31
- Watchers: 2
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Object Sorting Using Robotic arm and Image processing**
## Watch the Video of the Robotic arm in action !!
## Overview :
1. The object should be placed *(as shown in the video)* in **between the clamp in front of the camera which will be sorted depending upon the color of the object. The robotic arm will place them at three different angles at 90,180 and 270 degrees**. The USB camera which is connected to the Raspberry PI continuously scans the live feed for a colored object.
2. Raspberry Pi will detect the color of the object using Image Processing. The colors used in this project are Red, Green and Yellow. Colors can be added by modifying the code.
3. RPI is connected to an Arduino Uno board using two Jumper wires which will send the information to arduino board using 2 bit communication method. The color is represented by binary numbers.
For Eg:- Red is represent as 10, Green as 01 and Blue as 11 where 1 is **HIGH (5 volt)** and 0 is **LOW (0 volt)**.4. The two wires will be connected from GPIO pins (11 and 13) of Rpi to two digital pins of arduino (6 and 7) using simple jumper wires.
5. The robotic arm will perform operation depending upon the color.
6. Arduino will control three servo motors and motor control clamp.
**HARDWARES USED:**1. RASPBERRY PI 2
2. ARDUINO UNO
3. USB CAMERA
4. MOTOR CONTROL I.C. (For clamp in robotic hand)
5. Three SERVO MOTORS
**SOFTWARES USED:**
1. PYTHON
2. OPENCV
3. ARDUINO
4. NUMPY
**How to run the robot..?**
1. Ensure the two jumper cables are connected to desired pins by referring the source code.
2. Connect a 5V DC supply to power the motors.
3. Run **classmoto.ino** on Arduino board which controls three servo motors and a dc motor.
4. Run **colordetect.py** on Raspberry pi which is connected with a USB camera.