1 Star 0 Fork 0

王哲King/yolov3_interface

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.cpp 777 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jichao-Peng 提交于 2019-09-25 19:47 . first commit
#include <iostream>
#include <opencv2/opencv.hpp>
#include <opencv2/core.hpp>
#include <boost/filesystem.hpp>
#include <boost/timer.hpp>
#include <boost/program_options.hpp>
#include <bitset>
#include <algorithm>
#include <vector>
#include <numeric>
#include "YOLO_V3/src/Detecting.h"
using namespace cv;
using namespace std;
int main()
{
YOLOv3::Detecting detector;
vector<YOLOv3::DetectResult> result;
namedWindow("src");
char filename[100];
for(int i = 1; i<1129; i++)
{
sprintf(filename,"/home/leo/Desktop/data/Human2/img/%04d.jpg",i);
cout<<filename<<endl;
Mat src = imread(filename);
detector.Detect(src,result);
detector.DrawResult(src,result);
imshow("src",src);
waitKey(30);
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangzheking/yolov3_interface.git
git@gitee.com:wangzheking/yolov3_interface.git
wangzheking
yolov3_interface
yolov3_interface
master

搜索帮助