Python program to process a folder of images and, for each image, apply pre-processing to it like resizing & padding.
- Install Python 3.11 via Windows Store
- Clone the project from GitHub and open it via PyCharm
- Set up the virtual environment and do not forget to activate it before running the project
- Install the required packages via
pip install -r requirements.txt
- Run the project via
python main.py
- Install pre-commit via
pip install pre-commit
(if not already installed via the requirements.txt) - Run the command
pre-commit install
in the project directory - Now, every time you commit, the pre-commit hooks will be executed
You can manually run the pre-commit hooks via
pre-commit run --all-files
- Python 3.11
- PyCharm
- Some pictures in a folder like
input_folders/
- Run the project via
python main.py
or directly via the config already set up on PyCharm