视频分析2.0 多进程拆分仓库
zhangmeng
2019-04-30 2508d86158cf3fa3565ef808a5b92711c490af0f
analysis/demo/simpleIPC.go
@@ -12,11 +12,11 @@
)
// RunYoloFromIPC recv data from ipc
func RunYoloFromIPC(ipcURL string) {
func RunYoloFromIPC(ipcURL string, asServer bool) {
   imageChan := make(chan srv.ImageInfo)
   d := srv.NewReciever(ipcURL, imageChan)
   go d.Run()
   go d.Run(asServer)
   cfg := "./data/yolo/cfg/yolov3.cfg"
   weights := "./data/yolo/yolov3.weights"