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 get the boxes, classes and probs, it seems only plot out #26

Closed
vscv opened this issue Jan 9, 2019 · 6 comments
Closed

How to get the boxes, classes and probs, it seems only plot out #26

vscv opened this issue Jan 9, 2019 · 6 comments

Comments

@vscv
Copy link

vscv commented Jan 9, 2019

Hi, giuliogamba
After ran the tiny-yolo-image.iynb, only get the plotted image with bbox and a probs file.
How to get each boxes information like (meta.names[i], probs[j][i], (boxes[j].x, boxes[j].y, boxes[j].w, boxes[j].h) as /opt/darknet/python/darknet.py.

Thanks.

@giuliogamba
Copy link
Contributor

As you see in the notebook example, the notebook is calling the draw_detection_python function from darknet, which is defined here.
If you want to get more information, you can modify the call to return the variable boxes, probs etc in darknet, recompile the darknet shared object in order to get those info in python.
Hope this helps.

@vscv
Copy link
Author

vscv commented Jan 18, 2019

Thanks for your help.

@Icarus0519
Copy link

Thanks for your help.

Hi vscv,

how about you get the boxes information? I have the same problem as you, i need to get the detection boxes coords, but i dont know how to print it on my jupyter, can you give me some suggestions?

kind regards,
Icarus.

@vscv
Copy link
Author

vscv commented Apr 9, 2019

Thanks for your help.

Hi vscv,

how about you get the boxes information? I have the same problem as you, i need to get the detection boxes coords, but i dont know how to print it on my jupyter, can you give me some suggestions?

kind regards,
Icarus.

Hi lcarus,

No luck recently. As giuliogamba says, you need to modify the c code then recompile yolo, but it never success in my PYNQ. I may continue try it when i have time.

:<

@maawais
Copy link

maawais commented Jul 13, 2020

Thanks for your help.

Hi vscv,
how about you get the boxes information? I have the same problem as you, i need to get the detection boxes coords, but i dont know how to print it on my jupyter, can you give me some suggestions?
kind regards,
Icarus.

Hi lcarus,

No luck recently. As giuliogamba says, you need to modify the c code then recompile yolo, but it never success in my PYNQ. I may continue try it when i have time.

:<

Any success to get bounding boxes, etc. till now?

@Icarus0519
Copy link

Thanks for your help.

Hi vscv,
how about you get the boxes information? I have the same problem as you, i need to get the detection boxes coords, but i dont know how to print it on my jupyter, can you give me some suggestions?
kind regards,
Icarus.

Hi lcarus,
No luck recently. As giuliogamba says, you need to modify the c code then recompile yolo, but it never success in my PYNQ. I may continue try it when i have time.
:<

Any success to get bounding boxes, etc. till now?

Hi awais980,

Have you completed the modification of c code? but then didnt success?
After completing the modification of the c code, I can successfully get the detection boxes coords, only need to add a few code. Unfortunately, because it is too long, I really cannot remember exactly how to do it, I am so sorry, but I can sure this can be achieved.
Good luck. (^_^)

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

4 participants