Commit 7a6436cb authored by Bruce's avatar Bruce

fix missing files

parent 8f2f8327
setting
.git
.gitignore
...@@ -15,7 +15,6 @@ notebooks/crnn_pytorch_master/DB ...@@ -15,7 +15,6 @@ notebooks/crnn_pytorch_master/DB
notebooks/crnn_pytorch_master/expr notebooks/crnn_pytorch_master/expr
notebooks/crnn_pytorch_master/expr_512 notebooks/crnn_pytorch_master/expr_512
notebooks/crnn_pytorch_master/netCRNN_999_* notebooks/crnn_pytorch_master/netCRNN_999_*
notebooks/logs
notebooks/MTCNN/data_set notebooks/MTCNN/data_set
notebooks/nas/MTCNN_sample notebooks/nas/MTCNN_sample
notebooks/MTCNN/weights/2020* notebooks/MTCNN/weights/2020*
...@@ -44,6 +43,7 @@ notebooks/桃園* ...@@ -44,6 +43,7 @@ notebooks/桃園*
notebooks/路邊 notebooks/路邊
notebooks/not_importan notebooks/not_importan
notebooks/未命名.ipynb notebooks/未命名.ipynb
notebooks/logs/2021*
*__pycache__ *__pycache__
*.ipynb_checkpoints *.ipynb_checkpoints
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -68,7 +68,7 @@ class lpr_post(Resource): ...@@ -68,7 +68,7 @@ class lpr_post(Resource):
plate_roi_list=[] plate_roi_list=[]
try: try:
# results=MTCNN.mtcnn(image_path=car,ratio=1) # results=MTCNN.mtcnn(image_path=car,ratio=1)
results=detector.detect_plate(image_path=car,ratio=3,padding=5,mode='torch') results=detector.detect_plate(image_path=car,ratio=1,padding=5,mode='torch')
if None == results: if None == results:
return{'message':'no_plate'} return{'message':'no_plate'}
for result in results: for result in results:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment