diff --git a/Prj-Linux/lpr/res/0_rough.jpg b/Prj-Linux/lpr/res/0_rough.jpg deleted file mode 100644 index 47d2194e..00000000 Binary files a/Prj-Linux/lpr/res/0_rough.jpg and /dev/null differ diff --git a/Prj-Linux/lpr/res/2.png b/Prj-Linux/lpr/res/2.png deleted file mode 100644 index b8146441..00000000 Binary files a/Prj-Linux/lpr/res/2.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/3.png b/Prj-Linux/lpr/res/3.png deleted file mode 100644 index a0c9b288..00000000 Binary files a/Prj-Linux/lpr/res/3.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/4.png b/Prj-Linux/lpr/res/4.png deleted file mode 100644 index a7bf9145..00000000 Binary files a/Prj-Linux/lpr/res/4.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/5.png b/Prj-Linux/lpr/res/5.png deleted file mode 100644 index e224ede6..00000000 Binary files a/Prj-Linux/lpr/res/5.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/6.png b/Prj-Linux/lpr/res/6.png deleted file mode 100644 index ed0df348..00000000 Binary files a/Prj-Linux/lpr/res/6.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/7.png b/Prj-Linux/lpr/res/7.png deleted file mode 100644 index 89986e7e..00000000 Binary files a/Prj-Linux/lpr/res/7.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/8.png b/Prj-Linux/lpr/res/8.png deleted file mode 100644 index a0c9b288..00000000 Binary files a/Prj-Linux/lpr/res/8.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/9.png b/Prj-Linux/lpr/res/9.png deleted file mode 100644 index ccb59635..00000000 Binary files a/Prj-Linux/lpr/res/9.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/A.jpg b/Prj-Linux/lpr/res/A.jpg deleted file mode 100755 index aa32b980..00000000 Binary files a/Prj-Linux/lpr/res/A.jpg and /dev/null differ diff --git a/Prj-Linux/lpr/res/cache/2.png b/Prj-Linux/lpr/res/cache/2.png deleted file mode 100644 index 5859b867..00000000 Binary files a/Prj-Linux/lpr/res/cache/2.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/cache/chars_segment.jpg b/Prj-Linux/lpr/res/cache/chars_segment.jpg deleted file mode 100755 index ccf085e0..00000000 Binary files a/Prj-Linux/lpr/res/cache/chars_segment.jpg and /dev/null differ diff --git a/Prj-Linux/lpr/res/cache/finemapping.jpg b/Prj-Linux/lpr/res/cache/finemapping.jpg deleted file mode 100644 index afba9a5c..00000000 Binary files a/Prj-Linux/lpr/res/cache/finemapping.jpg and /dev/null differ diff --git a/Prj-Linux/lpr/res/cache/finemappingres.png b/Prj-Linux/lpr/res/cache/finemappingres.png deleted file mode 100644 index da82fe64..00000000 Binary files a/Prj-Linux/lpr/res/cache/finemappingres.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/cache/test.png b/Prj-Linux/lpr/res/cache/test.png deleted file mode 100644 index 13f642d2..00000000 Binary files a/Prj-Linux/lpr/res/cache/test.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/char1.png b/Prj-Linux/lpr/res/char1.png deleted file mode 100644 index 251d8ae3..00000000 Binary files a/Prj-Linux/lpr/res/char1.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/char2.png b/Prj-Linux/lpr/res/char2.png deleted file mode 100644 index 52ed3f94..00000000 Binary files a/Prj-Linux/lpr/res/char2.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/char3.png b/Prj-Linux/lpr/res/char3.png deleted file mode 100644 index 20a5d773..00000000 Binary files a/Prj-Linux/lpr/res/char3.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/char4.png b/Prj-Linux/lpr/res/char4.png deleted file mode 100644 index 8be870f1..00000000 Binary files a/Prj-Linux/lpr/res/char4.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/char5.png b/Prj-Linux/lpr/res/char5.png deleted file mode 100644 index 7a4da5a6..00000000 Binary files a/Prj-Linux/lpr/res/char5.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/char6.png b/Prj-Linux/lpr/res/char6.png deleted file mode 100644 index 18bd2d3b..00000000 Binary files a/Prj-Linux/lpr/res/char6.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/char7.png b/Prj-Linux/lpr/res/char7.png deleted file mode 100644 index b97ec39f..00000000 Binary files a/Prj-Linux/lpr/res/char7.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/demo.png b/Prj-Linux/lpr/res/demo.png deleted file mode 100644 index e1dd608b..00000000 Binary files a/Prj-Linux/lpr/res/demo.png and /dev/null differ diff --git a/Prj-Linux/lpr/res/test1.jpg b/Prj-Linux/lpr/res/test1.jpg deleted file mode 100644 index 5faa680e..00000000 Binary files a/Prj-Linux/lpr/res/test1.jpg and /dev/null differ diff --git a/Prj-Win/.vs/Prj-Win/v14/.suo b/Prj-Win/.vs/Prj-Win/v14/.suo deleted file mode 100644 index ce7519b4..00000000 Binary files a/Prj-Win/.vs/Prj-Win/v14/.suo and /dev/null differ diff --git a/Prj-Win/6.jpg b/Prj-Win/6.jpg deleted file mode 100644 index 391bcd3a..00000000 Binary files a/Prj-Win/6.jpg and /dev/null differ diff --git a/Prj-Win/Build/Prj-Win.exe b/Prj-Win/Build/Prj-Win.exe deleted file mode 100644 index 86366db2..00000000 Binary files a/Prj-Win/Build/Prj-Win.exe and /dev/null differ diff --git a/dataset/0.jpg b/dataset/0.jpg deleted file mode 100755 index 16835d87..00000000 Binary files a/dataset/0.jpg and /dev/null differ diff --git a/dataset/1.jpg b/dataset/1.jpg deleted file mode 100755 index 6b5bf3ca..00000000 Binary files a/dataset/1.jpg and /dev/null differ diff --git a/dataset/10.jpg b/dataset/10.jpg deleted file mode 100644 index 0d972ddd..00000000 Binary files a/dataset/10.jpg and /dev/null differ diff --git a/dataset/12.JPG b/dataset/12.JPG deleted file mode 100644 index ec862ca2..00000000 Binary files a/dataset/12.JPG and /dev/null differ diff --git a/dataset/14.JPG b/dataset/14.JPG deleted file mode 100644 index 2aa10655..00000000 Binary files a/dataset/14.JPG and /dev/null differ diff --git a/dataset/2.jpg b/dataset/2.jpg deleted file mode 100755 index 050745be..00000000 Binary files a/dataset/2.jpg and /dev/null differ diff --git a/dataset/24.jpg b/dataset/24.jpg deleted file mode 100755 index cb3e304a..00000000 Binary files a/dataset/24.jpg and /dev/null differ diff --git a/dataset/3144391.png b/dataset/3144391.png deleted file mode 100644 index 21c44e62..00000000 Binary files a/dataset/3144391.png and /dev/null differ diff --git a/dataset/4.jpg b/dataset/4.jpg deleted file mode 100644 index effd5f6d..00000000 Binary files a/dataset/4.jpg and /dev/null differ diff --git a/dataset/5.jpg b/dataset/5.jpg deleted file mode 100755 index 50ff8b6c..00000000 Binary files a/dataset/5.jpg and /dev/null differ diff --git a/dataset/6.jpg b/dataset/6.jpg deleted file mode 100755 index 391bcd3a..00000000 Binary files a/dataset/6.jpg and /dev/null differ diff --git a/dataset/7.jpg b/dataset/7.jpg deleted file mode 100755 index 8d1f2b8c..00000000 Binary files a/dataset/7.jpg and /dev/null differ diff --git a/dataset/8.jpg b/dataset/8.jpg deleted file mode 100755 index 6deca043..00000000 Binary files a/dataset/8.jpg and /dev/null differ diff --git a/dataset/9.jpg b/dataset/9.jpg deleted file mode 100755 index a5cf104b..00000000 Binary files a/dataset/9.jpg and /dev/null differ diff --git a/demo_images/test.png b/demo_images/demo1.png similarity index 100% rename from demo_images/test.png rename to demo_images/demo1.png diff --git a/demo_images/15.jpg b/demo_images/demo2.jpg similarity index 100% rename from demo_images/15.jpg rename to demo_images/demo2.jpg diff --git a/demo_images/logo_t.png b/demo_images/logo.png similarity index 100% rename from demo_images/logo_t.png rename to demo_images/logo.png diff --git a/hyperlpr_test/color_detection.py b/hyperlpr_test/color_detection.py deleted file mode 100644 index 5d7e4212..00000000 --- a/hyperlpr_test/color_detection.py +++ /dev/null @@ -1,17 +0,0 @@ -# -- coding: UTF-8 - -import cv2 -import os -import hyperlpr.colourDetection as hc -import hyperlpr.config as hconfig - -filepath = hconfig.configuration["colorTest"]["colorPath"] -for filename in os.listdir(filepath): - if filename.endswith(".jpg") or filename.endswith(".png") or filename.endswith(".bmp"): - fileFullPath = os.path.join(filepath,filename) - img = cv2.imread(fileFullPath.encode('utf-8')) - color,rgb = hc.judge_plate_color(img) - if color != None: - print filename,"->",color,"->",rgb - else: - print filename,"->","unknown->",rgb \ No newline at end of file diff --git a/hyperlpr_test/detect_test.py b/hyperlpr_test/detect_test.py deleted file mode 100644 index 0b903276..00000000 --- a/hyperlpr_test/detect_test.py +++ /dev/null @@ -1,58 +0,0 @@ -import os -import hyperlpr.detect as hyperDetect -import hyperlpr.config as hyperConfig -import cv2 -import argparse -import sys - -parser = argparse.ArgumentParser() - -debugInfo = hyperConfig.configuration["global"]["debug"] -testPath = hyperConfig.configuration["detectTest"]["detectPath"] -outPath = hyperConfig.configuration["detectTest"]["outputPath"] - -def drawBoundingBox(originImage,rect): - cv2.rectangle(originImage, (int(rect[0]), int(rect[1])), (int(rect[0] + rect[2]), int(rect[1] + rect[3])), (0, 0, 255), 2, - cv2.LINE_AA) - return originImage - - -#detect Plate in image batch -def detectPlateBatchTest(filepath): - for filename in os.listdir(filepath): - if filename.endswith(".jpg") or filename.endswith(".png"): - fileFullPath = os.path.join(filepath,filename) - image = cv2.imread(fileFullPath) - image_c = image.copy() - Plates = hyperDetect.detectPlateRough(image_c, image_c.shape[0], top_bottom_padding_rate=0.1) - pathName = filename.split('.')[0] - if debugInfo: - if len(Plates) != 0: - if os.path.exists(os.path.join(outPath,pathName)) == False: - os.mkdir(os.path.join(outPath,pathName)) - for i,plate in enumerate(Plates): - rect = plate[1] - region = plate[2] - if debugInfo: - cv2.imwrite(os.path.join(outPath,pathName,"region_"+str(i)+"_"+pathName+".png"),region) - drawBoundingBox(image_c,rect) - if debugInfo: - cv2.imwrite(os.path.join(outPath,pathName,"out_"+pathName+".png"),image_c) - - -def main(args): - if args.type == 'batch': - detectPlateBatchTest(testPath) - else: - print "type: "+args.type+" not found!\n" - print parser.print_help() - - -def parse_arguments(argv): - parser.add_argument('--type',type=str,help='detect Plate type{batch},default is batch',default='batch') - return parser.parse_args(argv) - -if __name__ == "__main__": - main(parse_arguments(sys.argv[1:])) - - #detectPlateBatchTest(testPath) diff --git a/images_rec/006vT0dkzy73eTACbIh15.jpg b/images_rec/1.jpg similarity index 100% rename from images_rec/006vT0dkzy73eTACbIh15.jpg rename to images_rec/1.jpg diff --git a/images_rec/2_.jpg b/images_rec/2.jpg similarity index 100% rename from images_rec/2_.jpg rename to images_rec/2.jpg