整理代码。
This commit is contained in:
1 parent
13344f3e71
commit
3777a268b9
2 files changed
+19
-19
No files matched your search
@@ -111,11 +111,8 @@ bool CameraWrapper::init() {
|
||||
|
||||
|
||||
bool CameraWrapper::read(cv::Mat& src) {
|
||||
// return readRaw(src); //suit for using bayer hacking in armor_finder to replace process, fast and it can filter red and blue.
|
||||
if(mode==0)return readProcessed(src); // processed color image, but this runs slowly, about half fps of previous one.
|
||||
if(mode==0)return readProcessed(src);
|
||||
if(mode==1)return readRaw(src);
|
||||
|
||||
|
||||
}
|
||||
|
||||
bool CameraWrapper::readRaw(cv::Mat &src) {
|
||||
|
||||
Reference in new issue
Block a user