Skip to content

Replaced caffe model with onnx for colorization sample#25433

Merged
asmorkalov merged 5 commits intoopencv:5.xfrom
gursimarsingh:colorization_onnx_sample
Apr 18, 2024
Merged

Replaced caffe model with onnx for colorization sample#25433
asmorkalov merged 5 commits intoopencv:5.xfrom
gursimarsingh:colorization_onnx_sample

Conversation

@gursimarsingh
Copy link
Copy Markdown
Contributor

@gursimarsingh gursimarsingh commented Apr 17, 2024

#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

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@gursimarsingh gursimarsingh self-assigned this Apr 17, 2024
@gursimarsingh gursimarsingh added category: samples cleanup Code cleanup (e.g, drop legacy C-API, legacy unmaintained code) OpenCV5 labels Apr 17, 2024
@gursimarsingh gursimarsingh added this to the 5.0 milestone Apr 17, 2024
Copy link
Copy Markdown
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@asmorkalov asmorkalov merged commit 448375d into opencv:5.x Apr 18, 2024
@LaurentBerger
Copy link
Copy Markdown
Contributor

net = cv.dnn.readNet(net_path)

Net net = readNet(model, config, framework);

net = cv.dnn.readNet(cv.samples.findFile(args.prototxt), cv.samples.findFile(args.caffemodel))

net = cv.dnn.readNet(cv.samples.findFile(args.model))

Net net = readNet(modelPath, configPath, parser.get<String>("framework"));

asmorkalov pushed a commit that referenced this pull request Sep 9, 2024
Add bigvision copyright #25520

This pull request adds Bigvision LLC to the copyright list to recognize our contributions to the project [#25433, #25415, #25304]. This update reflects our ongoing commitment to supporting and maintaining this project. Please let me know if there are any adjustments you would like me to make. Thank you for considering this addition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: samples cleanup Code cleanup (e.g, drop legacy C-API, legacy unmaintained code) OpenCV5

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants