- Introduction
- Demo
- Requirements
- Installation
- Usage
- File Overview
- Project Context
- Contributing
- License
Python project for real-time color-based object tracking using OpenCV.
Detects and follows objects of a chosen color in live video.
Perfect as a first step into computer vision, image processing, and robotics. Easy to extend for simulated or physical robots, and for educational experiments.
- Python 3.8+
- OpenCV (
opencv-python
) - NumPy
1οΈβ£ Clone the repository:
git clone https://github.com/valentechie/color_tracking_robot.git
2οΈβ£ Navigate to the project folder:
cd color_tracking_robot
3οΈβ£ Install dependencies:
pip install opencv-python numpy
Run the main script:
python color_object_tracker.py
- Use your webcam to start tracking.
- Default color can be changed in the script (HSV values).
- Press
q
to exit.
color_object_tracker.py
: Main tracking logic.README.md
: Project documentation.requirements.txt
: List of Python dependencies.
Developed as a robotics and computer vision learning tool.
Great for experimenting with image segmentation, contour detection, and real-time tracking.
Inspired by hands-on projects and practical robotics integrations.
Contributions are welcome!
- Fork this repository
- Open issues for bugs, ideas, or improvements
- Submit pull requests to enhance the project
This project is licensed under the MIT.