Darknet/YOLO v3.0-177-gfa2353b
Object Detection Framework
 
Loading...
Searching...
No Matches
Frame Struct Reference

Everything we know about a specific video frame is stored in one of these objects. More...

Collaboration diagram for Frame:

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
 

Detailed Description

Everything we know about a specific video frame is stored in one of these objects.

Member Function Documentation

◆ operator<()

bool Frame::operator< ( const Frame rhs) const
inline

std::set uses operator<() to ensure the frames are ordered numerically within the set

Member Data Documentation

◆ img

Darknet::Image Frame::img

Darknet-specific image, resized original frame.

◆ index

size_t Frame::index

zero-based frame index into the video

◆ mat

cv::Mat Frame::mat

the original frame, and then the annotated frame

◆ predictions

Darknet::Predictions Frame::predictions

all predictions made by Darknet/YOLO for this frame


The documentation for this struct was generated from the following file: