saswat0 / OCR-net

PyTorch based OCR involving CTPN (detection) and CRNN (recognition)
8 stars 1 forks source link

Not able to run it #1

Open cherry247 opened 2 years ago

cherry247 commented 2 years ago

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: '.'

saswat0 commented 2 years ago

@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