Everything we know about a specific video frame is stored in one of these objects. More...
Public Member Functions | |
bool | operator< (const Frame &rhs) const |
std::set uses operator<() to ensure the frames are ordered numerically within the set | |
Public Attributes | |
Darknet::Image | img |
Darknet-specific image, resized original frame. | |
size_t | index |
zero-based frame index into the video | |
cv::Mat | mat |
the original frame, and then the annotated frame | |
Darknet::Predictions | predictions |
all predictions made by Darknet/YOLO for this frame | |
Everything we know about a specific video frame is stored in one of these objects.
|
inline |
std::set uses operator<()
to ensure the frames are ordered numerically within the set
Darknet::Image Frame::img |
Darknet-specific image, resized original frame.
size_t Frame::index |
zero-based frame index into the video
cv::Mat Frame::mat |
the original frame, and then the annotated frame
Darknet::Predictions Frame::predictions |
all predictions made by Darknet/YOLO for this frame