GitHunt
SD

SdAm1n/Virtual_Painter

Virtual Painter using OpenCV with C++

Virtual Painter

Virtual Painter using OpenCV with C++. This program can detect & virtually paint Pink, Sky Blue & Dark Green color using webcam feed.

  • Requirements: C++ compiler (preferably GNU Compiler) & OpenCV needs to be installed in your PC. Webcam or some other device(e.g. SmartPhone) is needed for live video feed.

How to run on Linux

  • Using the makefile
  1. open terminal in project directory
  2. use the following command:
$ make
$ ./'Virtual Painter'
  1. To clean the object files and build the project again from scratch use command
$ make clean
  • Without using makefile :
$ g++ filename.cpp -o filename `pkg-config --cflags --libs opencv4`
$ ./filename 

How to run on Windows

$ g++ filename.cpp -o filename `pkg-config --cflags --libs opencv4`
$ filename or $ filename.exe

Languages

C++94.8%Makefile5.2%

Contributors

Created March 4, 2021
Updated October 17, 2021