-
Notifications
You must be signed in to change notification settings - Fork 103
range error correction #26
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
base: main
Are you sure you want to change the base?
Conversation
Updated the cpp code for the detection function since some users where having issues with the for loop going out of range.
Hello, I updated the for loop but still getting the same error. Vector subscript out of range |
Hi! Did you try downloading the changed file just in case you missed something? If that doesn't work I'll se what I can do. |
Hello, I just modified the part you mentioned |
I just downloaded your file but still getting the same error 😓 |
Hi, thank you for the PF! |
I will check |
I'll also verify that the code I uploaded is working well once I get home. |
It worked when I used opencv version 4.5.4 |
Good to know! No problem. |
@Riczap Hello again, I am having a problem with the output and don't know what the issue is. Can you help with that? |
It looks like the model is properly detecting the objects but either the NMS (Non-Maximun Supression) part of the code (for loop section that was modified) isn't working well or the model is having problems. I have a cpp file just to test if everything is working properly based on this repo it just loads an image and displays the results. Can you try downloading the files testing it? https://github.com/Riczap/YOLOv5-ObjectDetection-Cpp |
Alright I will do that |
It works, thank you so much |
Good to know! You can use that as a template to use your model. |
I will, Thank you so much for your help |
Updated the cpp code for the detection function since some users where having issues with the for loop going out of range.