Merge pull request #1 from brucexiaok/master

fixed some bugs
master
Jackyu 8 years ago committed by GitHub
commit a688cc2e4f

BIN
cache/demo1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 MiB

BIN
cache/demo2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

BIN
cache/demo3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 480 KiB

@ -23,7 +23,7 @@ def getModel():
return model
model = getModel()
# model.load_weights("./model/model12.h5")
model.load_weights("./model/model12.h5")
def finemappingVertical(image):

@ -1,8 +1,6 @@
import cv2
import numpy as np
from skimage.filters import (threshold_otsu, threshold_niblack,
threshold_sauvola)
def niBlackThreshold( src, blockSize, k, binarizationMethod= 0 ):

@ -221,7 +221,7 @@ def SimpleRecognizePlate(image):
if len(val)==3:
blocks, res, confidence = val
if confidence/7>0.7:
# image = drawRectBox(image,rect,res)
image = drawRectBox(image,rect,res)
res_set.append(res)
for i,block in enumerate(blocks):

Loading…
Cancel
Save