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
notebooks/crnn_pytorch_master/expr
notebooks/crnn_pytorch_master/expr_512
notebooks/crnn_pytorch_master/netCRNN_999_*
notebooks/logs
notebooks/MTCNN/data_set
notebooks/nas/MTCNN_sample
notebooks/MTCNN/weights/2020*
......@@ -44,6 +43,7 @@ notebooks/桃園*
notebooks/路邊
notebooks/not_importan
notebooks/未命名.ipynb
notebooks/logs/2021*
*__pycache__
*.ipynb_checkpoints
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -54,7 +54,7 @@ class lpr_post(Resource):
else:
filepath = os.path.join(filepath,args['filename']+'.jpg')
args['file'].save(filepath)
return filepath
return filepath
def post(self):
args =self.reqparse.parse_args()
if args['topic']=='Predict_data':
......@@ -68,7 +68,7 @@ class lpr_post(Resource):
plate_roi_list=[]
try:
# 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:
return{'message':'no_plate'}
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