This commit is contained in:
JiatongSun
2019-04-28 11:00:20 +08:00
parent e3fc7cf05c
commit c2b4bdf4cd
7 changed files with 64 additions and 32 deletions

View File

@@ -19,6 +19,7 @@
class CameraWrapper: public WrapperHead {
private:
const std::string name;
int mode;
unsigned char* rgb_buffer;
int camera_cnts;
@@ -37,6 +38,9 @@ private:
public:
CameraWrapper();
CameraWrapper(const std::string &n);
CameraWrapper(int camera_mode);
CameraWrapper(const std::string &n,int camera_mode);
~CameraWrapper() final;
bool init() final;