Delete batch.py

This commit is contained in:
Jack Yu
2018-08-13 01:01:40 +08:00
committed by GitHub
parent 2f81b7e3da
commit feffde15e7
-17
View File
@@ -1,17 +0,0 @@
#coding=utf-8
import os
from hyperlpr import pipline as pp
import cv2
parent= "/Users/yujinke/车牌图片/收费站_完成标注"
for filename in os.listdir(parent):
path = os.path.join(parent,filename)
print path
if path.endswith(".jpg") or path.endswith(".png"):
image = cv2.imread(path)
image,res = pp.SimpleRecognizePlate(image)
cv2.imshow("image",image)
cv2.waitKey(0)