Skip to content

jvondermarck/image-pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Processing with Python

Introduction

Python program to process a folder of images and, for each image, apply pre-processing to it like resizing & padding.

Installation

  1. Install Python 3.11 via Windows Store
  2. Clone the project from GitHub and open it via PyCharm
  3. Set up the virtual environment and do not forget to activate it before running the project
  4. Install the required packages via pip install -r requirements.txt
  5. Run the project via python main.py

Usage of pre-commit

  1. Install pre-commit via pip install pre-commit (if not already installed via the requirements.txt)
  2. Run the command pre-commit install in the project directory
  3. 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

Prerequisites

  • Python 3.11
  • PyCharm
  • Some pictures in a folder like input_folders/

Run the project

  • Run the project via python main.py or directly via the config already set up on PyCharm

About

Python program to process a folder of images and, for each image, apply pre-processing to it

Topics

Resources

Stars

Watchers

Forks

Languages