整理代码

This commit is contained in:
xinyang
2019-08-14 12:55:29 +08:00
parent 1fc9678177
commit 42943ff1e6
2 changed files with 4 additions and 9 deletions

View File

@@ -25,8 +25,6 @@ extern McuData mcu_data;
void uartReceive(Serial *pSerial);
bool checkReconnect(bool is_camera_0_connect, bool is_camera_1_connect);
bool checkReconnect(bool is_camera_connect);
void saveVideos(const cv::Mat &src);
@@ -35,10 +33,9 @@ void showOrigin(const cv::Mat &src);
void extract(cv::Mat &src);
double getTimeIntervalms(const systime &now, const systime &last);
double getPointLength(const cv::Point2f &p);
// 循环队列
template<class type, int length>
class RoundQueue {
private:

View File

@@ -1,11 +1,9 @@
//
// Created by zhikun on 18-11-7.
// used for testing double cameras
// camera0 is left camera, camera1 is right camera.
//
#ifndef VIDEO_TEST1_CAMERA_WRAPPER_H
#define VIDEO_TEST1_CAMERA_WRAPPER_H
#ifndef _CAMERA_WRAPPER_H_
#define _CAMERA_WRAPPER_H_
#include <additions.h>
#include <opencv2/core/core.hpp>
@@ -54,4 +52,4 @@ public:
};
#endif //VIDEO_TEST1_CAMERA_WRAPPER_H
#endif /* _CAMERA_WRAPPER_H_ */