/pim

pim -> (im)age - (p)rocessing, where '-' is the reverse operator

Primary LanguagePython

Run

$ python3 src/main.py path/to/image.pbm

If no image is provided a default one will be used. On folder assets you will found possible images to use.

https://youtu.be/uA45GeodGss

PIM-group_13_detection_size_reduced.mp4

Setup

  • Needs python3 installed. Tested with python 3.10.
  • Needs ffmpeg available in path to generate the video. To install on Ubuntu sudo apt install ffmpeg or sudo snap install ffmpeg. If it is not found on path, it only generate the images
  • Needs numpy installed, just for the data structure as python lists are very slow. Install with pip install numpy for nice fast matrix. All image processing algorithms are implemented by us. If pip is not install, you can get with sudo apt install python3-pip on ubuntu.

Notes

  • All generated files goes in theoutput folder. Except for the main file that has the words rectangles in red and the video file. Both starts withgroup_13 and are placed on the current directory.

  • https://convertio.co/pdf-pbm/ is the site used for converting .pdf to.pbm extra input files.