nyonyong commited on
Commit
646ec7d
1 Parent(s): 2a1769a
Files changed (1) hide show
  1. process.py +1 -1
process.py CHANGED
@@ -35,7 +35,7 @@ def textDetection(im):
35
  ## subprocess.call('cd '+ Dir.yolo_dir, shell=True)
36
 
37
  # (Shell) run detect.py to get cropped word images
38
- subprocess.call(['python', Dir.yolo_dir+'/detect.py',
39
  #User Input Data : /text_detection/cookie
40
  '--source','/cookie',
41
  #Text Detection Model : /runs/wordDetection/weights/best.pt
 
35
  ## subprocess.call('cd '+ Dir.yolo_dir, shell=True)
36
 
37
  # (Shell) run detect.py to get cropped word images
38
+ subprocess.call(['python', Dir.home_dir+Dir.yolo_dir+'/detect.py',
39
  #User Input Data : /text_detection/cookie
40
  '--source','/cookie',
41
  #Text Detection Model : /runs/wordDetection/weights/best.pt