python – cv.imread() and cvtColor() lead to (-215:Assertion failed) !_src.empty() in function ‘cv::cvtColor’

When the code using Ocr for img to text is implemented the gui open and the program works till i hit the process button then gui tkinter stops responding,i am not understanding the error message image in loaded and file name and size is also shown so no problems till there. i think problem is … Read more