| | |
| | | PFacialData [8192]uint8 |
| | | NFaceID int64 |
| | | } |
| | | type CThfqParam struct { |
| | | Brightness_min int32 //0-100,太暗阈值,建议25.越小越可能把过暗的人脸当作正常人脸,此参数会影响THFQ_Result::brightness |
| | | Brightness_max int32 //0-100,太亮阈值,建议75.越大越可能把的过亮人脸当作正常人脸,此参数会影响THFQ_Result::brightness |
| | | } |
| | | type CThfqResult struct { |
| | | Brightness int32 //人脸亮度,只有3种可能的值:[-1->太暗,0->正常,1->太亮],亮度结果会受亮度阈值参数brightness_min和brightness_max影响 |
| | | Occlusion int32 //人脸遮挡度,范围值为0-100,越大表示人脸遮挡程度越高 |
| | | Hat int32 //带帽子,范围为0-100,越大表示越可能有佩戴帽子,建议判别阈值为50 |
| | | Blur int32 //人脸模糊度,范围值为0-100,越大表示图像越模糊,建议人脸模糊度判别阈值为70 |
| | | Glasses int32 //带眼镜,范围为0-100,越大表示越可能有戴眼镜,建议判别阈值为70 |
| | | } |
| | | |
| | | type CObjInfo struct { |
| | | RcObj CRECT |
| | | Typ int32 |
| | | Prob float32 |
| | | } |
| | | |
| | | //track yolo objs info |
| | | type CObjTrackInfo struct { |
| | | ObjInfo CObjInfo |