From 2ce4becc927e5028f6ebeb5e8f38d0eb0fbec118 Mon Sep 17 00:00:00 2001 From: 孙天宇 <suntianyu@aiotlink.com> Date: 星期二, 12 七月 2022 17:35:16 +0800 Subject: [PATCH] add gitignore --- demo.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demo.cpp b/demo.cpp index 0468bb2..804ab43 100644 --- a/demo.cpp +++ b/demo.cpp @@ -32,7 +32,7 @@ TImage *img = new TImage(); TImage *img2 = new TImage(); int i = 0; - cap = VideoCapture("/data/disk2/01_Scheaven/data/cam_53.avi"); + cap = VideoCapture("../1.mp4"); while(1){ /* code */ cap >> frame; @@ -45,9 +45,9 @@ sr = get_result(handle, img, 0); TResult * t_result = (TResult*) sr; cout << "t_result->count==" << t_result->count << endl; - for (int i=0; i<t_result->count; i++){ + for (int i=0; i<t_result->count; i++) + { cout << "confidence:" << t_result->targets[i].confidence << endl; - draw_SDK_result(frame, t_result->targets[i]); } }else{ cout << "------------over--" << endl; -- Gitblit v1.8.0