Repository navigation
Error
#55
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi ,
Hope you all are doing fine.
Getting this below error:
frame = cv2. cvtColor(file,cv2.COLOR_BGR2RGB)
cv2.error: OpenCV(4.6.0) 👎 error: (-5:Bad argument) in function 'cvtColor'
Find the code below:
file = st.file_uploader("Please upload an image", type=["jpg", "png"])
frame = cv2. cvtColor(file,cv2.COLOR_BGR2RGB)
Please help me resolving this error, Awaiting the response.
Regards,
Shrina
All reactions