An open API service indexing awesome lists of open source software.

https://github.com/alireza-py/opencv-colorpicker

TheBall class is a real-time object detection and tracking system developed for RoboCup Soccer competitions. It uses OpenCV and the HSV color space to track objects like the soccer ball, with interactive color adjustments for dynamic environments.
https://github.com/alireza-py/opencv-colorpicker

colorpicker opencv python robocup-junior robotics

Last synced: 2 months ago
JSON representation

TheBall class is a real-time object detection and tracking system developed for RoboCup Soccer competitions. It uses OpenCV and the HSV color space to track objects like the soccer ball, with interactive color adjustments for dynamic environments.

Awesome Lists containing this project

README

        

# **TheBall - Color-Based Object Detection for RoboCup Soccer**

## Overview
**TheBall** is a Python project originally developed for **RoboCup Soccer** competitions. It detects and tracks soccer balls or other objects based on their color using OpenCV and the HSV color space. This project is optimized for **real-time image processing** in robotic soccer scenarios.

## Features
- 🔍 **Real-time detection and tracking** of objects using color thresholds.
- 🎨 **Interactive color picker** to dynamically adjust HSV values.
- 🤖 Designed specifically for **robotics and competitive environments**.

## Quick Start
1. Install dependencies:
```bash
pip install opencv-python numpy
```
2. Run the script:
```bash
python main.py
```

3. Use these keys for interaction:
```plaintext
q: Quit the program.
c: Pick a color from the video.
h: Open HSV adjustment trackbars.
```

## Requirements
```plaintext
🐍 Python 3.7+
📦 Libraries: OpenCV, NumPy
```

## Applications
```plaintext
This code was developed for use in RoboCup Soccer competitions, where robots need to:

⚽ Detect and follow the ball.
🌟 React dynamically to changes in lighting and environment.
```

## 📜 License
```plaintext
This is a personal project initially created for RoboCup. Feel free to use or modify it for educational and non-commercial purposes.
```