重新整理文件夹结构,并添加CNN训练代码。
This commit is contained in:
24
others/include/camera/wrapper_head.h
Normal file
24
others/include/camera/wrapper_head.h
Normal file
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// Created by zhikun on 18-11-18.
|
||||
//
|
||||
|
||||
#ifndef STEREOVISION_FROM_VIDEO_FILE_WRAPPER_HEAD_H
|
||||
#define STEREOVISION_FROM_VIDEO_FILE_WRAPPER_HEAD_H
|
||||
|
||||
#include <opencv2/core/core.hpp>
|
||||
|
||||
/**
|
||||
* @brief A virtual class for wrapper of camera and video files
|
||||
*/
|
||||
class WrapperHead {
|
||||
|
||||
public:
|
||||
virtual ~WrapperHead() = default;;
|
||||
virtual bool init() = 0;
|
||||
virtual bool read(cv::Mat &src_left, cv::Mat &src_right) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif //STEREOVISION_FROM_VIDEO_FILE_WRAPPER_HEAD_H
|
||||
Reference in New Issue
Block a user