Video Analysis底层库拆分,sdk的go封装
zhangzengfei
2019-11-14 93001d715c38b296bedf2b2e5f4d1efb3151f666
go2c.go
@@ -66,6 +66,39 @@
   ID      uint64
}
type CPlateIDCfg struct {
   MinPlateWidth  int32 // 检测的最小车牌宽度,以像素为单位
   MaxPlateWidth  int32 // 检测的最大车牌宽度,以像素为单位
   MaxImageWidth  int32 // 最大图像宽度
   MaxImageHeight int32 // 最大图像高度
   IsFieldImage   uint8 // 是否是场图像
   MovingImage    uint8 // 识别运动or静止图像
   OrderOpt       uint8 // 输出顺序选项 0-置信度 1-自上而下 2-自下而上
   LeanCorrection uint8 // 是否启用车牌旋转功能,默认开启
   ImproveSpeed   uint8 // 0: 识别率优先 1:识别速度优先
   CarLogo        uint8 // 0: 不检测车标 1: 检测车标
   LotDetect      uint8 // 0: 不检测车位 1: 检测车位
   Shadow         uint8 // 0: 针对无阴影的车牌 1:针对有阴影的车牌,默认开启
   ShieldRailing  uint8 // 0: 屏蔽栏杆干扰, 1:不屏蔽栏杆干扰
   CarModel       uint8 // 0: 不识别车型, 1: 识别车型
   LocateTh       uint8 // 车牌定位阈值
   OCRTh          uint8 // 车牌识别阈值
   Individual       uint8 // 个性化车牌开启
   TwoRowYellow     uint8 // 双层黄色车牌开启
   ArmPolice        uint8 // 单层武警车牌开启
   ArmPolice2       uint8 // 双层武警车牌开启
   TwoRowArmy       uint8 // 双层军队车牌开启
   Tractor          uint8 // 农用车车牌开启
   Embassy          uint8 // 使馆车牌开启
   ChangNei         uint8 // 厂内车牌开启
   MinHang          uint8 // 民航车牌开启
   Consulate        uint8 // 领事馆车牌开启
   NewEnergy        uint8 // 新能源车牌开启
   OnlyTwoRowYellow uint8 // 只识别双层黄牌开启
   OnlyLocation     uint8 // 只定位车牌开启
}
type CPlateIDResult struct {
   License [16]uint8
   Color   [8]uint8