A program made in Python 3.7 that automatically draws an image using OpenCV and Pynput. Made to work with Paint, but it can also work with other drawing tools. The project is being developed in Visual Studio 2019 (Community Edition).
- Open CMD in the project folder and run "pip install -r requirements.text" to install all the libraries needed.
- Run "main.py".
- Customize all the drawing parameters.
- Once you're satisfied, click the draw button. After clicking, the program will start drawing in 3 seconds, so make sure you already have Paint opened up beforehand in the background.
- After the 3 seconds, the program will record the position of your mouse. That position will be the top left corner of the image.
- Finally, the program will minimize and will start to simulate mouse presses/movements to draw on the screen.
Press [ESC] to stop drawing during runtime.
Contour Recognition: OpenCV
Interface: PySimpleGUI
Drawing: Pynput
Other libraries:
Time, Winsound, Numpy, Urrlib, Keyboard