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

https://github.com/imacod3r/ball-detector-opencv

A simple Python script using OpenCV to detect balls in a video stream or camera feed.
https://github.com/imacod3r/ball-detector-opencv

computer-vision opencv python

Last synced: 24 days ago
JSON representation

A simple Python script using OpenCV to detect balls in a video stream or camera feed.

Awesome Lists containing this project

README

          

# 🎯 Ball Detector (OpenCV)

A simple Python script using OpenCV to detect balls in a video stream or camera feed.

## 📸 Preview


Your browser does not support the video tag.

## 🚀 Getting Started

### ✅ Prerequisites

Make sure you have Python 3.6 or newer installed.

Clone the repository:

```bash
git clone https://github.com/ImaCod3r/ball-detector-opencv.git
cd ball-detector-opencv
```

### 📦 Install Dependencies

```bash
pip install -r requirements.txt
```

### ▶️ Run the Project

```bash
python main.py
```
The script will use your webcam or video file to detect balls in real-time using OpenCV.

### 📁 Project Structure

```
ball-detector-opencv/
├── main.py
├── requirements.txt
├── .github/
│ └── example-video.mp4
└── README.md
```

## 📄 License
This project is licensed under the MIT License.

`Made with ❤️ using Python and OpenCV.`