视频分析2.0 多进程拆分仓库
zhangmeng
2019-05-06 788f46d4e67c08c7e4f26f62c90f8d85849bcf18
analysis/main.go
@@ -1,9 +1,10 @@
package main
import (
   "analysis/demo"
   srv "analysis/work/service"
   "flag"
   "fmt"
   // "videoServer/demo"
)
var (
@@ -29,11 +30,11 @@
   fmt.Println("start test, pic folder: ", picFolder)
   // demo.Face(picFolder)
   // demo.Yolo(streamURL)
   // demo.CVDraw()
   imageChan := make(chan srv.ImageInfo)
   d := srv.NewReciever(ipcURL, imageChan)
   go d.RunAsServer()
   // demo.RunYoloFromIPC(ipcURL)
   demo.ShowYolo(imageChan)
   fakeStartProc()
}