diff --git a/batch.py b/batch.py deleted file mode 100644 index 639c9c1..0000000 --- a/batch.py +++ /dev/null @@ -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) \ No newline at end of file