From ae43c2bc32fbb838bfebeeaf2c2b058ccab5c83c Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@burninator.cs.washington.edu>
Date: Thu, 23 Jun 2016 05:31:14 +0000
Subject: [PATCH] hi
---
src/yolo_kernels.cu | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/yolo_kernels.cu b/src/yolo_kernels.cu
index e603caf..09f3961 100644
--- a/src/yolo_kernels.cu
+++ b/src/yolo_kernels.cu
@@ -18,7 +18,6 @@
#include "opencv2/imgproc/imgproc.hpp"
extern "C" image ipl_to_image(IplImage* src);
extern "C" void convert_yolo_detections(float *predictions, int classes, int num, int square, int side, int w, int h, float thresh, float **probs, box *boxes, int only_objectness);
-extern "C" void draw_yolo(image im, int num, float thresh, box *boxes, float **probs);
extern "C" char *voc_names[];
extern "C" image voc_labels[];
@@ -33,7 +32,7 @@
static image disp ;
static cv::VideoCapture cap;
static float fps = 0;
-static int demo_thresh = 0;
+static float demo_thresh = 0;
void *fetch_in_thread(void *ptr)
{
@@ -100,6 +99,10 @@
det = in;
det_s = in_s;
+ cvNamedWindow("YOLO", CV_WINDOW_NORMAL);
+ cvMoveWindow("YOLO", 0, 0);
+ cvResizeWindow("YOLO", 1352, 1013);
+
while(1){
struct timeval tval_before, tval_after, tval_result;
gettimeofday(&tval_before, NULL);
--
Gitblit v1.10.0