ruleserver/readyDataForRule.go
@@ -96,7 +96,7 @@ func GetPolygons(cameraId string) []protomsg.CameraPolygon { var cameraPolygons []protomsg.CameraPolygon cameraPolygons = cache.GetPolygonsByCameraId(cameraId) //logger.Debug("------=======查看下全部区域:",cameraPolygons) logger.Debug("------=======查看下全部区域:",cameraPolygons) return cameraPolygons } @@ -297,7 +297,7 @@ func (a *AreaMap) CountAreaObjs(arg *SdkData) { a.targetNum = 0 threshold := 0.8 // 相似度 threshold := 80.0 // 相似度 intersectionper := 0.2 // 占比 size := 0.0 // 尺寸