nyonyong commited on
Commit
6de4b7f
1 Parent(s): d321856

Directory fix

Browse files
Files changed (1) hide show
  1. process.py +1 -1
process.py CHANGED
@@ -37,7 +37,7 @@ def textDetection(im):
37
  # (Shell) run detect.py to get cropped word images
38
  subprocess.call(['python', "/home/user/app"+Dir.yolo_dir+'/detect.py',
39
  #User Input Data : /text_detection/cookie
40
- '--source','/cookie',
41
  #Text Detection Model : /runs/wordDetection/weights/best.pt
42
  '--weights', "/home/user/app"+Dir.detect_model_dir,
43
  '--conf','0.25',
 
37
  # (Shell) run detect.py to get cropped word images
38
  subprocess.call(['python', "/home/user/app"+Dir.yolo_dir+'/detect.py',
39
  #User Input Data : /text_detection/cookie
40
+ '--source',"/home/user/app"+Dir.yolo_dir+'/cookie',
41
  #Text Detection Model : /runs/wordDetection/weights/best.pt
42
  '--weights', "/home/user/app"+Dir.detect_model_dir,
43
  '--conf','0.25',