ofxOpenCvDnnColorization is an addon for openframeworks, which uses OpenCV based dnn module to colorize a image
Forks
Forks pushed to more recently than TetsuakiBaba/ofxOpenCvDnnColorization itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.
README
ofxOpenCvDnnColorization
Description
ofxOpenCvDnnColorization is an addon for openframeworks.OpenCV v.3.3.1 or upper includes some dnn modules in their own package. Therefore I designed ofxOpenCvDnnColorization with OpenCV v.3.3.1 or upper version.

Usage
See Examples for more detailsvoid setup()
{
ofImage img;
img.load(ofToDataPath("sample.jpg"));
colorization.update(img.getPixels());
}
void draw()
{
ofBackground(0);
colorization.draw(0,0);
}
Install
1. Clone ofxOpenCvDnnColorization to your of/addon directory
$ git clone https://github.com/TetsuakiBaba/ofxOpenCvDnnColorization.git2. Download OpenCV.framework to ofxOpenCvDnnColorization/libs directory.
$ curl -O http://tetsuakibaba.jp/tmp/opencv2.framework.zip $ unzip opencv2.framework.zip Or you may build your own opencv.framework from opencv source. ( http://tetsuakibaba.jp/ws/doku.php?id=opencv_dnn:opencv2.framework )Getting Started with Examples/single_image.
1. Download models
$ sh getModels.sh2. Update single_image with the projectGenerator.
3. Run
Compatibility
- only macOS ( tested on Mojave)
- of version: 0.10.1
ofxAddons