Requirements: basically python3 only, but install anything that pops up while doing these steps
- Clone this repository
- Create a virtual environment:
python3 -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install the dependencies:
pip install -r requirements.txt
(if you add new dependencies please runpip freeze > requirements.txt
to update the dependencies file) - Run the application:
python main.py
- Deactivate the virtual environment when you finished working with it:
deactivate
process_img.py
can be run directly from the command line. In this case the image path is given as a command line argument:
python process_img.py ./images/sample.png
In order to terminate the script (== close all windows opened by OpenCV), press any key while an OpenCV window is focused.