Skip to content

adityamd/Paint_OCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Paint_OCV

A very simple paint application made using OpenCV.
Few Hints to Use the app:

  • You can draw in 2 modes: 0 and 1. Mode 0 is default.
  • Mode 0 helps you in draw a rectangle whereas Mode 1 helps you in draw a circle.
  • Press key 'm' to toggle between different modes.
  • To exit the application, press 'esc'.

Pre-Requisites

  • Python
  • OpenCV

Installing Python:

You can install python(3.8.5) directly here or go to the page https://www.python.org/downloads/ and click "Download Python 3.8.5". Don't forget to check the box "Add To Path", once you launch the installation wizard.
To check if python is installed correctly and is added to your path, go to the command prompt/powershell/terminal on your system and type 'python'.



Installing Pip:

Pip is a very convinient and efficient packet manager used to download different python modules. It will be useful in installing OpenCV. To install pip, download get-pip.py file and execute it using the following comands:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py

Fire command pip list on your cmd/powershell/terminal to check if pip is installed correctly on your system.



Installing OpenCV:

The final step to run the project is to install OpenCV. You can install OpenCV using the command:

pip install opencv-python

Fire command pip list on your cmd/powershell/terminal and look for 'opencv-python' to check if opencv is installed correctly on your system.



Run the Application:

To run the application:
  1. Go to the directory on your local system where you cloned this repository.
  2. Open cmd/powershell/terminal in that directory
  3. Fire the command python paint.py
You should see the application running on your screen now.



Application Screenshots


Hope you like the project.Thanks!!!

About

A very simple paint application made using OpenCV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages