Zebra Bioptic Color Camera SDK For Linux
1.0.0-17
|
#include <camera_bounding_box_detector.h>
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) | |
Camera Object bounding box detection frame processor class
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
|
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.
|
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.