Zebra Bioptic Color Camera SDK For Linux  1.0.0-17
All Classes Functions Variables Enumerations Enumerator
camera_bounding_box_factory.h
1 #pragma once
2 
4 #include <vector>
5 using namespace std;
6 typedef unsigned char BYTE;
7 
10 {
11  int x;
12  int y;
13 };
14 
16 enum BackgroundFilterType
17 {
18  kStatic = 0, // Static background image
19  kDynamic = 1, // Changing background image
20  kDynamicGaussian = 2, // Changing background image (with gaussian blurring)
21  kMixed = 3 // Combination (bitwise or) of methods 0 and 1
22 };
23 
26 {
27 public:
34  virtual void SetBackgroundFrame(BYTE* background_frame_buffer, int length, int image_width, int image_height , int image_type) = 0;
35 
44  virtual bool DetectBoundingBox(BYTE* input_frame_buffer, int length, int image_width, int image_height,int image_type, vector<BoundingBoxPoint> &bounding_rect) = 0;
45 };
46 
49 {
50  public:
54  static CameraBoundingBoxDetectorInterface* CreateBoundingBoxDetector(BackgroundFilterType background_filter_type);
55 };
CameraImageProcessingFactory::CreateBoundingBoxDetector
static CameraBoundingBoxDetectorInterface * CreateBoundingBoxDetector(BackgroundFilterType background_filter_type)
CameraBoundingBoxDetectorInterface::DetectBoundingBox
virtual bool DetectBoundingBox(BYTE *input_frame_buffer, int length, int image_width, int image_height, int image_type, vector< BoundingBoxPoint > &bounding_rect)=0
CameraImageProcessingFactory
Camera bounding box detector class creation factory.
Definition: camera_bounding_box_factory.h:49
CameraBoundingBoxDetectorInterface::SetBackgroundFrame
virtual void SetBackgroundFrame(BYTE *background_frame_buffer, int length, int image_width, int image_height, int image_type)=0
BoundingBoxPoint
Bounding box point.
Definition: camera_bounding_box_factory.h:10
CameraBoundingBoxDetectorInterface
Camera bounding box detector interface.
Definition: camera_bounding_box_factory.h:26