From d1dca50d8ae6648c6d5814a6494dad1d8c433ed5 Mon Sep 17 00:00:00 2001 From: samislavath Date: Thu, 29 Jun 2017 16:21:26 -0700 Subject: [PATCH] added yaml_file conntent with yaml_without_ext outpt directory file won't be filled --- crop_plates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crop_plates.py b/crop_plates.py index 30ae5a05..7cd4a412 100755 --- a/crop_plates.py +++ b/crop_plates.py @@ -160,7 +160,7 @@ def crop_rect(big_image, x,y,width,height): # cv2.imshow("test", crop) # cv2.waitKey(0) - out_crop_path = os.path.join(options.out_dir, yaml_without_ext + ".jpg") + out_crop_path = os.path.join(options.out_dir, yaml_file + ".jpg") cv2.imwrite(out_crop_path, crop ) print "%d Cropped images are located in %s" % (count-1, options.out_dir)