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() }