Update
Print function missing parenthese added
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ class LPR():
|
|||||||
|
|
||||||
def detectPlateRough(self,image_gray,resize_h = 720,en_scale =1.08 ,top_bottom_padding_rate = 0.05):
|
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:
|
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)
|
exit(1)
|
||||||
height = image_gray.shape[0]
|
height = image_gray.shape[0]
|
||||||
padding = int(height*top_bottom_padding_rate)
|
padding = int(height*top_bottom_padding_rate)
|
||||||
|
|||||||
Reference in New Issue
Block a user