opencv / opencv

Open Source Computer Vision Library
https://opencv.org
Apache License 2.0
75.69k stars 55.61k forks source link

Replaced caffe model with onnx for colorization sample #25433

Closed gursimarsingh closed 2 weeks ago

gursimarsingh commented 2 weeks ago

25006

Improved sample for colorization with onnx model in cpp and python. Added a demo image in data folder for testing

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

LaurentBerger commented 2 weeks ago

https://github.com/opencv/opencv/blob/448375d1e7b9a005b9a7e2c0c74649b54a8c36a1/samples/dnn/action_recognition.py#L48 https://github.com/opencv/opencv/blob/448375d1e7b9a005b9a7e2c0c74649b54a8c36a1/samples/dnn/classification.cpp#L105 https://github.com/opencv/opencv/blob/448375d1e7b9a005b9a7e2c0c74649b54a8c36a1/samples/dnn/edge_detection.py#L46 https://github.com/opencv/opencv/blob/448375d1e7b9a005b9a7e2c0c74649b54a8c36a1/samples/dnn/fast_neural_style.py#L16 https://github.com/opencv/opencv/blob/448375d1e7b9a005b9a7e2c0c74649b54a8c36a1/samples/dnn/object_detection.cpp#L161