AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.75k stars 7.96k forks source link

How can I grab coordinates of bounding boxes? #8475

Open mailman2018 opened 2 years ago

mailman2018 commented 2 years ago

I want to send the coordinates of the bounding boxes used to a another piece of software. What is the best way to go about this?

stephanecharette commented 2 years ago

Using the API is the best way. Either the C API, the C++ API, or the python wrapper.

mailman2018 commented 2 years ago

which api specifically are you referring to?/ what would the process going about it look like?

stephanecharette commented 2 years ago

Which one are you enquiring about?

This is the one that I personally maintain, the C++ one called DarkHelp: https://www.ccoderun.ca/darkhelp/api/API.html

mailman2018 commented 2 years ago

Any one that could work. My partner and I working on our capstone project and have been stuck on how to get the coordinates from a camera feed for a while

mailman2018 commented 2 years ago

j following up on this if you have time!

stephanecharette commented 2 years ago

If I have time for what?

I've already given you a link to the API that I wrote and maintain. Use whichever one you want. The C API, the C++ one, the python one... Or use the darknet executable itself and get the coordinates in JSON format to parse by something else. Many different options available for you to try.

I suggest you make sure you read the FAQ: https://www.ccoderun.ca/programming/darknet_faq/