Go to the source code of this file.
Data Structures | |
| struct | GTBox |
| GTBox: one ground-truth bounding box in absolute pixel coordinates. More... | |
Typedefs | |
| using | GTKey = std::pair< std::string, uint32_t > |
| GTKey: (camera_id, frame_num). More... | |
| using | GTIndex = std::map< GTKey, std::vector< GTBox > > |
Enumerations | |
| enum | GtFormat { GtFormat::KITTI, GtFormat::NVSCHEMA, GtFormat::COCO, GtFormat::TAO, GtFormat::UNKNOWN, GtFormat::KITTI, GtFormat::NVSCHEMA, GtFormat::COCO, GtFormat::TAO, GtFormat::UNKNOWN } |
Functions | |
| GtFormat | gt_detect_format (const std::string &path) |
Detect the format of the GT file or directory at path. More... | |
| bool | gt_load (const std::string &path, GTIndex &index, GtFormat fmt=GtFormat::UNKNOWN) |
Load ground truth from path into index. More... | |
Definition at line 45 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_gt_loader.h.
| using GTKey = std::pair<std::string, uint32_t> |
GTKey: (camera_id, frame_num).
camera_id is a string — it matches: Mode B: InferenceProvenanceMeta.camera_name Mode A: std::to_string(source_id) COCO: "0" (single-camera convention) KITTI: sub-directory name or "0" for a flat directory
Definition at line 44 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_gt_loader.h.
|
strong |
| Enumerator | |
|---|---|
| KITTI | |
| NVSCHEMA | |
| COCO | |
| TAO | |
| UNKNOWN | |
| KITTI | |
| NVSCHEMA | |
| COCO | |
| TAO | |
| UNKNOWN | |
Definition at line 47 of file sources/gst-plugins/gst-nvinfereval/nvds_eval_gt_loader.h.
| GtFormat gt_detect_format | ( | const std::string & | path | ) |
Detect the format of the GT file or directory at path.
| bool gt_load | ( | const std::string & | path, |
| GTIndex & | index, | ||
| GtFormat | fmt = GtFormat::UNKNOWN |
||
| ) |
Load ground truth from path into index.
Format is auto-detected if fmt == UNKNOWN. Returns true on success.