From ffd71d97fc9eb5236e6a92db408745ddf080217b Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期一, 06 五月 2019 13:28:05 +0800 Subject: [PATCH] 整理代码 --- analysis/main.go | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/analysis/main.go b/analysis/main.go index 60a2955..2da6327 100644 --- a/analysis/main.go +++ b/analysis/main.go @@ -1,9 +1,10 @@ package main import ( + "analysis/demo" + srv "analysis/work/service" "flag" "fmt" - // "videoServer/demo" ) var ( @@ -29,11 +30,12 @@ fmt.Println("start test, pic folder: ", picFolder) - // demo.Face(picFolder) - // demo.Yolo(streamURL) - // demo.CVDraw() + imageChan := make(chan srv.ImageInfo) - // demo.RunYoloFromIPC(ipcURL) + d := srv.NewReciever(ipcURL, imageChan) + go d.RunAsServer() + + demo.ShowYolo(imageChan) fakeStartProc() } -- Gitblit v1.8.0