Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use the onnx in C++ opencv with dnn #35

Open
NacerFaraj opened this issue Oct 24, 2021 · 2 comments
Open

how to use the onnx in C++ opencv with dnn #35

NacerFaraj opened this issue Oct 24, 2021 · 2 comments

Comments

@NacerFaraj
Copy link

I am using opencv 4.5.4, which supports the use of converted yolov5.onnx. So, I converted the best.pt (inside Yolov5 folder) to best.onnx.

I can now load the model successfully using: cv::dnn::readNetFromONNX("best.onnx")
BUT, I do not know how to use it to find bounding boxes around fires and smokes given a test image!

Please help me anyone does know how. thanks.

@gengyanlei
Copy link
Owner

You should go to the issue area of yolov5 for consultation.

@NacerFaraj
Copy link
Author

NacerFaraj commented Oct 27, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants