From 7f5905f23288a14ea5e1355ff78754b52907b231 Mon Sep 17 00:00:00 2001 From: da-niao-dan Date: Tue, 19 Jun 2018 16:11:29 +0800 Subject: [PATCH] Update Print function missing parenthese added --- HyperLPRLite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HyperLPRLite.py b/HyperLPRLite.py index 632e99c..36b9d3c 100644 --- a/HyperLPRLite.py +++ b/HyperLPRLite.py @@ -43,7 +43,7 @@ class LPR(): def detectPlateRough(self,image_gray,resize_h = 720,en_scale =1.08 ,top_bottom_padding_rate = 0.05): if top_bottom_padding_rate>0.2: - print "error:top_bottom_padding_rate > 0.2:",top_bottom_padding_rate + print("error:top_bottom_padding_rate > 0.2:",top_bottom_padding_rate) exit(1) height = image_gray.shape[0] padding = int(height*top_bottom_padding_rate)