width = abs(box[0][0] - box[2][0]) # 车牌正常情况下长高比为2-5之间(精确一点可为(2.2,3.6)) ratio = float(width) / float(height) if ratio > 2 and ratio < 5: regions.append(box) list_rate.append(ratio) # 输出车牌的轮廓 print('[INF0]:Detect %d license plates' % len(region...