Replies: 2 comments
-
|
Hey dont bother it. I was using wrong dims to extract boxes. Here is the correct structure. Now i have some issue with locating the exact positions. I will solve that soon. // structure: 1 84 8400 is (batch,xywh+80class_score,boxes_num ) auto extractBoxCoordinates(S)(auto ref S outSlice, float confidenceThreshold) { } |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I corrected the box coords with this version |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I dont have your email, so i write here. I have made some progress and done enough today. I continue another day. Maybe you make some progress. We have to figure out outSlice to extract box coordinates and class indices. The codebase is very rough and not performance-oriiented at the moment. You have to use dcv github repo. Maybe instead of video you can reorganize the codebase to process only an image.
some resouces:
https://github.com/ultralytics/ultralytics/blob/main/examples/YOLOv8-OpenCV-ONNX-Python/main.py
https://github.com/ultralytics/ultralytics/tree/main/examples/YOLOv8-ONNXRuntime-CPP
https://netron.app/ --> upload onnx file and observe inputs and outputs
dcv-yolov8.zip
Beta Was this translation helpful? Give feedback.
All reactions