An error keeps recurring every time I try to input an image, it gives me this error ''TypeError: 'module' object is not callable". What should I do?
This happens because Python gets confused between class name and module name. If you are importing something with the same name as your class. This goes back to have unique variable names. Try changing your class name and it shall work.
Thank you, It worked
Might be that your class or module name is similar, which make python misunderstood, maybe try more uniquename like write the whole thing out more