6 Star 3 Fork 4

killmy/HDU_Phoenix

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main2.cpp 929 Bytes
一键复制 编辑 原始数据 按行查看 历史
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <pthread.h>
#include <math.h>
#include <typeinfo>
#include "thread"
#include <opencv4/opencv2/opencv.hpp>
#include <opencv4/opencv2/highgui.hpp>
#include <opencv2/opencv.hpp>
#include "ArmorDector.h"
#include "general.h"
#include "ArmorDector.h"
#include "opencv_extend.h"
#include "serial.h"
#include "log.h"
#include "ImgProdCons.h"
int main(int argc, char const *argv[])
{
ImgProdCons imgProdCons;
GLogWrapper glog(argv[0]);
imgProdCons.Init();
// cv::waitKey(4000);
// imgProdCons.Produce();
std::thread produceThread(&ImgProdCons::Produce, &imgProdCons);
std::thread consumeThread(&ImgProdCons::Consume, &imgProdCons);
// //std::thread senseThread(&ImgProdCons::sense, &imgProdCons);
produceThread.join();
consumeThread.join();
// senseThread.join();
return 0;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gfh123/HDU_Phoenix.git
[email protected]:gfh123/HDU_Phoenix.git
gfh123
HDU_Phoenix
HDU_Phoenix
master

搜索帮助