赞
踩
车牌
from aip import AipOcr def car(file_path): APP_ID = '18021091' API_KEY = 'B1jhBRDptnM7diORcYHXAmfQ' SECRET_KEY = '9HddR7LxTpEe3zhRTTU41DwbSKEOkQN0' aip_orc = AipOcr(APP_ID, API_KEY, SECRET_KEY) file_path = file_path def get_file_content(file_path): with open(file_path, 'rb') as f: return f.read() options = { } options['multi_detect'] = 'true' result = aip_orc.licensePlate(get_file_content(file_path), options) for i in range(len
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。