整理代码

This commit is contained in:
xinyang
2019-08-15 14:43:19 +08:00
parent f85e78f95a
commit 2720646356
4 changed files with 11 additions and 8 deletions

View File

@@ -95,8 +95,8 @@ void saveVideos(const cv::Mat &gimbal_src) {
void showOrigin(const cv::Mat &src) {
if (!src.empty()) {
imshow("origin", src);
cv::waitKey(1);
} else return;
cv::waitKey(1);
}
void extract(cv::Mat &src) {//图像预处理将视频切成640×480的大小