Answer the question
In order to leave comments, you need to log in
How to convert "InMemoryUploadedFile" image to OpenCV?
image = form.cleaned_data.get('image')
gray = cv2.cvtColor(image.read(), cv2.COLOR_BGR2GRAY)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question