This is used to help keep some state between calls to functions fill_network_boxes(), get_yolo_detections(), etc. More...
#include "darknet_internal.hpp"
Public Attributes | |
int | i |
The entry index into the W x H output array for the given YOLO layer. | |
int | layer_index |
The layer index where this was found. | |
int | n |
What is "n"...the mask (anchor?) number? | |
int | obj_index |
The index into the YOLO output array – as obtained from yolo_entry_index() – which is used to get the objectness value. E.g., a value of "l.output[obj_index] == 0.999f" would indicate that there is an object at this location. | |
This is used to help keep some state between calls to functions fill_network_boxes(), get_yolo_detections(), etc.
We use the cache to track objects within the output array, so we don't have to walk over the entire array every time we need to find all the objects and bounding boxes.
int Darknet::Output_Object::i |
The entry index into the W x H output array for the given YOLO layer.
int Darknet::Output_Object::layer_index |
The layer index where this was found.
int Darknet::Output_Object::n |
What is "n"...the mask (anchor?) number?
int Darknet::Output_Object::obj_index |
The index into the YOLO output array – as obtained from yolo_entry_index() – which is used to get the objectness value. E.g., a value of "l.output[obj_index] == 0.999f"
would indicate that there is an object at this location.