ValueError not enough values to unpack expected 3 got 1 in below code

0 votes
import cv2

import numpy as np

img=cv2.imread ("C:\\Users\\20pa1\\Downloads\\pawan_kalyan_teenmar_movie_stills06.jpg" , 0)

img=cv2.resize(img , (1200 , 780))

b,g,r=cv2.split(img)

cv2.imshow("green" , g)

cv2.imshow("red" , r)

cv2.imshow("blue" , b)

cv2.waitKey()

cv2.destroyAllWindows()
Nov 28, 2021 in Python by Edureka

edited 5 days ago 15 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP