Webcam Paint OpenCV Save Abandoned

This Python application uses OpenCV library to track an object-of-interest (water bottle cap in my case) and uses the detected object to draw colored lines (Blue, Green, Red and Yellow).

Project README

Webcam Paint Using OpenCV

This code helps you track an object-of-interest to draw colored lines on the screen (just like the Paint application but using the webcam, which makes it both awesome and harder to draw simple things).

Working Example

Project Description

This Python application uses OpenCV library to track any blue object in the frame (bottle cap in my case) and uses the detected object to draw colored lines (Blue, Green, Red and Yellow).

To perform video tracking an algorithm analyzes sequential video frames and outputs the movement of targets between the frames. There are a variety of algorithms, each having strengths and weaknesses. Considering the intended use is important when choosing which algorithm to use. There are two major components of a visual tracking system: target representation and localization, as well as filtering and data association.

Video tracking is the process of locating a moving object (or multiple objects) over time using a camera. It has a variety of uses, some of which are: human-computer interaction, security and surveillance, video communication and compression, augmented reality, traffic control, medical imaging and video editing.

For more information, see.

Code Requirements

The code is in Python (version 3.6 or higher). You also need to install OpenCV library.

Code Explanation

I have written this tutorial post on medium explaining the code.

Execution

To run the code, type

python Webcam_Paint_OpenCV.py
Open Source Agenda is not affiliated with "Webcam Paint OpenCV" Project. README Source: acl21/Webcam_Paint_OpenCV
Stars
67
Open Issues
3
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating