Zebra Bioptic Color Camera SDK For Linux  1.0.0-17
All Classes Functions Variables Enumerations Enumerator
CameraBoundingBoxDetector Class Reference

#include <camera_bounding_box_detector.h>

Inheritance diagram for CameraBoundingBoxDetector:
CameraBoundingBoxDetectorInterface

Public Member Functions

 CameraBoundingBoxDetector ()
 Default Camera Object bounding box detection constructor.
 
 CameraBoundingBoxDetector (int history, int threshold, bool shadows)
 
bool DetectBoundingBox (BYTE *input_frame_buffer, int length, int image_width, int image_height, int image_type, vector< BoundingBoxPoint > &bounding_rect) override
 
void SetBackgroundFrame (BYTE *background_frame_buffer, int length, int image_width, int image_height, int image_type) override
 

Public Attributes

BackgroundFilterType background_type = BackgroundFilterType::kMixed
 Set background configuration type.
 
int param_min_area = kParamMinArea
 Minimum area of foreground object contour.
 
double param_background_learn_rate = kparamBackgroundLearnRate
 KNN Background seperator learn rate param (auto :-1)
 

Detailed Description

Camera Object bounding box detection frame processor class

Constructor & Destructor Documentation

◆ CameraBoundingBoxDetector()

CameraBoundingBoxDetector::CameraBoundingBoxDetector ( int  history,
int  threshold,
bool  shadows 
)

Creates camera processor object with KNN background subtraction Params:history,threshold,shadows refer OpenCV KNN background subtraction params

Member Function Documentation

◆ DetectBoundingBox()

bool CameraBoundingBoxDetector::DetectBoundingBox ( BYTE *  input_frame_buffer,
int  length,
int  image_width,
int  image_height,
int  image_type,
vector< BoundingBoxPoint > &  bounding_rect 
)
overridevirtual

Detect bounding box of object in frame input_frame_buffer : input image buffer length : length of input frame buffer image_width: width of input image image_height: height of input image image_type: type of input image (reserved : 0:BMP,1:JPEG) bounding_rect : output bounding box location point array

Implements CameraBoundingBoxDetectorInterface.

◆ SetBackgroundFrame()

void CameraBoundingBoxDetector::SetBackgroundFrame ( BYTE *  background_frame_buffer,
int  length,
int  image_width,
int  image_height,
int  image_type 
)
overridevirtual

Set background frame background_frame_buffer : background frame buffer length : length of background frame buffer image_width: width of background frame image_height: height of background frame image_type: type of background frame (reserved : 0:BMP,1:JPEG)

Implements CameraBoundingBoxDetectorInterface.


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