How do I read a file uploaded to Django? it’s not a str or path-like object
I’m working on a Django project where users can upload an image, and the server processes this image to apply a cartoon effect using OpenCV
. However, I’m encountering an error when trying to read the uploaded image file with cv2.imread()
.