opencv grayscale to rgb
backtorgb = cv2.cvtColor(gray,cv2.COLOR_GRAY2RGB)
opencv grayscale to rgb
backtorgb = cv2.cvtColor(gray,cv2.COLOR_GRAY2RGB)
convert a rgb image to grayscale opnecv
img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
cvtcolor rgb to gray
cv::Mat img
cv::cvtColor(img, img, CV_BGR2GRAY);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us