saswat0/OCR-net

Not able to run it

cherry247 opened this issue · 1 comments

facing issues while running this .
File "C:\Users\Rajesh\OneDrive\Desktop\deep-text-recognition-benchmark\OCR-net\demo.py", line 24, in
result, image_framed = process(image_file)
File "C:\Users\Rajesh\OneDrive\Desktop\deep-text-recognition-benchmark\OCR-net\demo.py", line 11, in process
image = np.array(Image.open(image_file).convert('RGB'))
File "C:\Users\Rajesh\OneDrive\Desktop\deep-text-recognition-benchmark\myenv\lib\site-packages\PIL\Image.py", line 3068, in open
fp = builtins.open(filename, "rb")
PermissionError: [Errno 13] Permission denied: '.'

@cherry247 I think you're trying to access a file to which you don't hold read permissions. Please check with these access privileges before running the code