|
|
@ -36,7 +36,7 @@ class OCR:
|
|
|
|
elif len(license_plate) > 7:
|
|
|
|
elif len(license_plate) > 7:
|
|
|
|
car_type = '新能源车辆'
|
|
|
|
car_type = '新能源车辆'
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
car_type = '无法推测'
|
|
|
|
car_type = '小型轿车'
|
|
|
|
return license_plate, car_type
|
|
|
|
return license_plate, car_type
|
|
|
|
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
@classmethod
|
|
|
|