$ 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.
PIM-group_13_detection_size_reduced.mp4
- Needs
python3
installed. Tested withpython 3.10
. - Needs
ffmpeg
available in path to generate the video. To install on Ubuntusudo apt install ffmpeg
orsudo 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 withpip install numpy
for nice fast matrix. All image processing algorithms are implemented by us. Ifpip
is not install, you can get withsudo apt install python3-pip
on ubuntu.
-
All generated files goes in the
output
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.