I’m using jetson-inference with custom data using python.
I want to try selectively selecting helipads of different sizes.
For example, when there are 3 helipads of difference sizes, if object detection is performed correctly " detected 3 objects in image" will be displayed.
I think I could run an experiment using this values(ClassID,…,Center).
But, I have some question here.
How is the information coming out of it ordered?
I checked it, not Confidence.
And if it is continuously in the same frame camera, does the order not change?
I want to know how to sort when there are multiple objects.
Last, if the value to be printed is fixed, can I get and select the value with python?
I’ve checked in detectNet.cpp and detectNet.h but, I want all from ClassID to Center.
I want to check the script that prints this sentence.
There isn’t frame-to-frame tracking (unless you are using the dev branch this is a feature currently in development), so there are guarantees about consistent ordering of detections between frames.
You can find the member attributes of the detectNet.Detection objects here:
Detection = <type 'jetson.inference.detectNet.Detection'>
Object Detection Result
----------------------------------------------------------------------
Data descriptors defined here:
Area
Area of bounding box
Bottom
Bottom bounding box coordinate
Center
Center (x,y) coordinate of bounding box
ClassID
Class index of the detected object
Confidence
Confidence value of the detected object
Height
Height of bounding box
Instance
Instance index of the detected object
Left
Left bounding box coordinate
Right
Right bounding box coordinate
Top
Top bounding box coordinate
Width
Width of bounding box