Screencast.from.24-04-24.02.29.24.mp4
Welcome to the Color Classifier project repository! This project, powered by ROS (Robot Operating System) and OpenCV, is designed to detect and classify colors, triggering corresponding actions by a robotic arm.
The Color Classifier project consists of two main components:
-
Color Classifier Node: This node analyzes images to detect colors and publishes the results to the
/color
topic. If the detected color is green, it sends a signal of 1; otherwise, it sends 0. -
Robot Arm Operation Node: Subscribing to the
/color
topic, this node triggers the robot arm to perform a pick operation when it receives a signal of 1 (indicating the presence of green).
To get started with the Color Classifier project, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/yousefh112/Color-Classifier-Using-ROS.git
-
Navigate to the project directory:
cd Color-Classifier-Using-ROS
-
Ensure you have ROS and OpenCV installed on your system.
-
Build the ROS package:
catkin_make
-
Launch the Color Classifier nodes:
roslaunch color_classifier color_classifier.launch
-
Watch the robot arm spring into action as it picks objects of the specified color!
Check out our exciting video demonstration to see the Color Classifier project in action:
Uploading Screencast from 24-04-24 02:29:24.mp4…
- Yousef Hesham (@yousefh112)
- Abdelrahman Helal (@abdelrahmanhelal)