From 168af40fe9a3cc81c6ee16b3e81f154780c36bdb Mon Sep 17 00:00:00 2001 From: Scheaven <xuepengqiang> Date: 星期四, 03 六月 2021 15:03:27 +0800 Subject: [PATCH] up new v4 --- lib/detecter_tools/darknet/demo.h | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/detecter_tools/darknet/demo.h b/lib/detecter_tools/darknet/demo.h index 50bb926..380b72f 100644 --- a/lib/detecter_tools/darknet/demo.h +++ b/lib/detecter_tools/darknet/demo.h @@ -1,14 +1,14 @@ -#ifndef DEMO_H -#define DEMO_H - -#include "image.h" -#ifdef __cplusplus -extern "C" { -#endif -void demo(char *cfgfile, char *weightfile, float thresh, float hier_thresh, int cam_index, const char *filename, char **names, int classes, - int frame_skip, char *prefix, char *out_filename, int mjpeg_port, int dontdraw_bbox, int json_port, int dont_show, int ext_output, int letter_box_in, int time_limit_sec, char *http_post_host, int benchmark, int benchmark_layers); -#ifdef __cplusplus -} -#endif - -#endif +#ifndef DEMO_H +#define DEMO_H + +#include "image.h" +#ifdef __cplusplus +extern "C" { +#endif +void demo(char *cfgfile, char *weightfile, float thresh, float hier_thresh, int cam_index, const char *filename, char **names, int classes, int avgframes, + int frame_skip, char *prefix, char *out_filename, int mjpeg_port, int dontdraw_bbox, int json_port, int dont_show, int ext_output, int letter_box_in, int time_limit_sec, char *http_post_host, int benchmark, int benchmark_layers); +#ifdef __cplusplus +} +#endif + +#endif -- Gitblit v1.8.0