visionx::yolo::ObjectListener
Overview
interface ObjectListener
Operation Index
- announceDetectedObjects
-
@brief Called when Yolo is given a frame to process.
- reportDetectedObjects
-
@brief Called when Yolo processed a frame
@param dol Detected objects
@param timestamp Timestamp of the frame
Operations
void announceDetectedObjects(long timestamp)
@brief Called when Yolo is given a frame to process.
Can be used to fetch the frame Darknet picked to run processing in parallel while waiting
for the outputs. Timestamps of announceDetectedObjects and reportDetectedObjects will match.
Parameters
- timestamp
-
Timestamp of the frame
void reportDetectedObjects(DetectedObjectList dol, long timestamp)
@brief Called when Yolo processed a frame
Parameters
- dol
-
Detected objects
- timestamp
-
Timestamp of the frame