This commit is contained in:
parent
37ddafb4c4
commit
9e33978e14
|
@ -1,2 +0,0 @@
|
|||
#pragma once
|
||||
#include <memory>
|
|
@ -1,5 +0,0 @@
|
|||
#include "IPreproc.h"
|
||||
|
||||
IPreproc::IPreproc(void){}
|
||||
|
||||
IPreproc::~IPreproc(void){}
|
13
IPreproc.h
13
IPreproc.h
|
@ -1,13 +0,0 @@
|
|||
#pragma once
|
||||
#include <vector>
|
||||
//#include <opencv2/opencv.hpp>
|
||||
|
||||
class IPreproc
|
||||
{
|
||||
public:
|
||||
IPreproc(void);
|
||||
|
||||
virtual ~IPreproc(void);
|
||||
|
||||
//virtual int preprocess(cv::Mat& mat,void* unused=nullptr) = 0;
|
||||
};
|
|
@ -2,7 +2,7 @@
|
|||
#include <thread>
|
||||
#include "autoevent.hpp"
|
||||
#include "CorrectParam.h"
|
||||
#include "IPreproc.h"
|
||||
|
||||
|
||||
//#define TEST_SIMCAP
|
||||
|
||||
|
@ -53,8 +53,7 @@ private:
|
|||
std::condition_variable m_cv_snapdone;
|
||||
std::shared_ptr<std::thread> m_snap_thread;
|
||||
std::shared_ptr<std::thread> m_imgproc_thread;
|
||||
//std::vector<cv::Mat> m_frames;
|
||||
std::vector<std::shared_ptr<IPreproc>> m_preproclist;
|
||||
|
||||
std::thread m_correctThread;
|
||||
|
||||
ScannerGlue m_glue;
|
||||
|
|
Loading…
Reference in New Issue