mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-20 04:25:42 +08:00
White Space error in sample python script
This commit is contained in:
@@ -30,7 +30,6 @@ if not os.path.isfile('textbox.caffemodel') or not os.path.isfile('textbox_deplo
|
|||||||
print " Model files not found in current directory. Aborting"
|
print " Model files not found in current directory. Aborting"
|
||||||
print " Model files should be downloaded from https://github.com/sghoshcvc/TextBox-Models"
|
print " Model files should be downloaded from https://github.com/sghoshcvc/TextBox-Models"
|
||||||
quit()
|
quit()
|
||||||
|
|
||||||
cv2.text.cnn_config.caffe_backend.setCaffeGpuMode(True);
|
cv2.text.cnn_config.caffe_backend.setCaffeGpuMode(True);
|
||||||
pathname = os.path.dirname(sys.argv[0])
|
pathname = os.path.dirname(sys.argv[0])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user