---
panlei
2019-08-16 b54a34329aa907f75d68bf86a3f99574e3d85bba
---
1个文件已删除
1个文件已修改
3 ■■■■ 已修改文件
105.jpg 补丁 | 查看 | 原始文档 | blame | 历史
util/simpleCV.go 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
105.jpg
Binary files differ
util/simpleCV.go
@@ -11,6 +11,7 @@
    "ruleprocess/cache"
    "ruleprocess/logger"
    "ruleprocess/ruleserver"
    "ruleprocess/structure"
    "strings"
)
@@ -155,7 +156,7 @@
    }
}
func DrawPolygonOnImage(cameraId string, img protomsg.Image, results []ruleserver.Result,url string) (maps map[string]interface{}, err0 error) {
func DrawPolygonOnImage(cameraId string, img protomsg.Image, results []structure.Result,url string) (maps map[string]interface{}, err0 error) {
    rook, _ := gocv.NewMatFromBytes(int(img.Height), int(img.Width), gocv.MatTypeCV8UC3, img.Data)
    //rook := gocv.IMRead("/home/user/workspace/ruleprocess/util/105.jpg",gocv.IMReadColor)