I have some list of Image files in a folder. I need to extract values from it using OCR and after extraction, I need to delete that image. I’m doing this in for loop. And while trying to delete the image file, I’m getting the error, ‘The process cannot access the file because its being used by another process’. How can I delete this file. Can anybody help me on this please?
Thanks in advance!