Darknet/YOLO v3.0-97-g3520881-dirty
Object Detection Framework
 
Loading...
Searching...
No Matches
preview_boxes_t Class Reference

#include "yolo_v2_class.hpp"

Collaboration diagram for preview_boxes_t:

Classes

struct  preview_box_track_t
 

Public Member Functions

 preview_boxes_t (size_t _preview_box_size=100, size_t _bottom_offset=100, bool _one_off_detections=false)
 
void draw (cv::Mat draw_mat, bool show_small_boxes=false)
 
void set (cv::Mat src_mat, std::vector< bbox_t > result_vec)
 

Private Types

enum  { frames_history = 30 }
 

Private Attributes

size_t const bottom_offset
 
bool const one_off_detections
 
size_t const preview_box_size
 
std::vector< preview_box_track_tpreview_box_track_id
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
frames_history 

Constructor & Destructor Documentation

◆ preview_boxes_t()

preview_boxes_t::preview_boxes_t ( size_t  _preview_box_size = 100,
size_t  _bottom_offset = 100,
bool  _one_off_detections = false 
)
inline

Member Function Documentation

◆ draw()

void preview_boxes_t::draw ( cv::Mat  draw_mat,
bool  show_small_boxes = false 
)
inline
Here is the call graph for this function:

◆ set()

void preview_boxes_t::set ( cv::Mat  src_mat,
std::vector< bbox_t result_vec 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bottom_offset

size_t const preview_boxes_t::bottom_offset
private

◆ one_off_detections

bool const preview_boxes_t::one_off_detections
private

◆ preview_box_size

size_t const preview_boxes_t::preview_box_size
private

◆ preview_box_track_id

std::vector<preview_box_track_t> preview_boxes_t::preview_box_track_id
private

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