视频分析2.0 多进程拆分仓库
zhangmeng
2019-05-06 ffd71d97fc9eb5236e6a92db408745ddf080217b
analysis/main.go
@@ -2,6 +2,7 @@
import (
   "analysis/demo"
   srv "analysis/work/service"
   "flag"
   "fmt"
)
@@ -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, true)
   d := srv.NewReciever(ipcURL, imageChan)
   go d.RunAsServer()
   demo.ShowYolo(imageChan)
   fakeStartProc()
}