mirror of
https://github.com/RustyRaptor/learnopencv.git
synced 2026-12-03 22:15:16 -07:00
Run the getModels.sh file from command line to download the needed model files ./getModels.sh Python: Commandline usage to colorize a single image: python3 colorizeImage.py --input data/greyscaleImage.png a video file: python3 colorizeVideo.py --input data/greyscaleVideo.mov C++: Compilation examples: g++ -ggdb `pkg-config --cflags --libs /usr/local/Cellar/opencv3/3.4.2/lib/pkgconfig/opencv.pc` colorizeImage.cpp -o colorizeImage.out g++ -ggdb `pkg-config --cflags --libs /usr/local/Cellar/opencv3/3.4.2/lib/pkgconfig/opencv.pc` colorizeVideo.cpp -o colorizeVideo.out Commandline usage to colorize a single image: ./colorizeImage.out data/greyscaleImage.png a video file: ./colorizeVideo.out data/greyscaleVideo.png