Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eaindrayfromearth/opencv-rainbow-drawer
Rainbow Drawing with OpenCV project in bullet points: Python application for creating rainbow drawings. Uses your webcam to detect fingertip movement. Draw colorful rainbow lines side by side. Switch between drawing and erasing modes with 'e' key. Gracefully exit the application with 'q' key. Fun and interactive for creative expression.
https://github.com/eaindrayfromearth/opencv-rainbow-drawer
ai fun opencv python webcam-capture
Last synced: 12 days ago
JSON representation
Rainbow Drawing with OpenCV project in bullet points: Python application for creating rainbow drawings. Uses your webcam to detect fingertip movement. Draw colorful rainbow lines side by side. Switch between drawing and erasing modes with 'e' key. Gracefully exit the application with 'q' key. Fun and interactive for creative expression.
- Host: GitHub
- URL: https://github.com/eaindrayfromearth/opencv-rainbow-drawer
- Owner: EaindrayFromEarth
- Created: 2023-11-07T16:17:02.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-09T10:00:29.000Z (about 1 year ago)
- Last Synced: 2023-11-09T11:36:02.110Z (about 1 year ago)
- Topics: ai, fun, opencv, python, webcam-capture
- Language: Python
- Homepage:
- Size: 2.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenCV-Rainbow-Drawer
# Rainbow Drawing with OpenCV
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
A Python application that creates a mesmerizing rainbow drawing when you move your fingertip in front of your webcam using OpenCV.
## Table of Contents
- [Demo](#demo)
- [Features](#features)
- [Requirements](#requirements)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Keyboard Shortcuts](#keyboard-shortcuts)
- [Contributing](#contributing)## Demo
- Have Fun!! :)![Demo GIF](https://github.com/EaindrayFromEarth/OpenCV-Rainbow-Drawer/blob/master/spongebob-meme.gif?raw=true)
## Features
- Captures video from your webcam.
- Detects fingertips using background subtraction.
- Draws 7 color lines of a rainbow side by side when a fingertip is moved in front of the camera.
- Supports both drawing and erasing modes.
- Easy to use and customize.## Requirements
- Python 3
- OpenCV
- NumPy## Usage
1. **Getting Started:**
- Clone the repository:
```bash
git clone https://github.com/EaindrayFromEarth/OpenCV-Rainbow-Drawer.git
```- Run the application:
```bash
python rainbow_drawing.py
```2. **Drawing a Rainbow:**
- Move your fingertip in front of your webcam to draw rainbow lines side by side.
3. **Mode Toggle:**
- Press the 'e' key to toggle between drawing and erasing modes.
4. **Exiting:**
- Press the 'q' key to gracefully exit the application.
## Keyboard Shortcuts
- **'q' key:** Quit the application.
- **'e' key:** Toggle between drawing and erasing modes.## Contributing
Contributions are welcome! If you have any ideas for improvements or want to fix a bug, please open an issue or submit a pull request.