nyonyong commited on
Commit
d9bba41
1 Parent(s): 646ec7d

Directory fix

Browse files
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.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
 
35
  ## subprocess.call('cd '+ Dir.yolo_dir, shell=True)
36
 
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