From d3d1d88da20abffe10c62089e758768a3461b8ca Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期四, 14 三月 2019 18:01:28 +0800 Subject: [PATCH] 解决ffmpeg打开失败没处理导致段错误的问题 --- QiaoJiaSystem/YoloServer/main.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/QiaoJiaSystem/YoloServer/main.cpp b/QiaoJiaSystem/YoloServer/main.cpp index bd62a14..68b22b9 100644 --- a/QiaoJiaSystem/YoloServer/main.cpp +++ b/QiaoJiaSystem/YoloServer/main.cpp @@ -30,12 +30,12 @@ // return -1; // } - int gpuindex = 1; + int gpuindex = 0; int poolNum = 1; int portNum = 10003; appPref.setIntData("gpu.index", gpuindex); - appPref.setFloatData("thresh.detect", 0.7); + appPref.setFloatData("thresh.detect", 0.85); appPref.setIntData("poolNum", poolNum); IceRpcServer<YoloDetectServerI> server("yoloServer", portNum, "tcp"); -- Gitblit v1.8.0