From 874b17d95efc386a685855014a42aecc303e9ef8 Mon Sep 17 00:00:00 2001
From: chenshijun <chenshijun@aiotlink.com>
Date: 星期三, 08 九月 2021 18:15:37 +0800
Subject: [PATCH] bug

---
 demo.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/demo.cpp b/demo.cpp
index 79ac900..804ab43 100644
--- a/demo.cpp
+++ b/demo.cpp
@@ -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