Answers for "how to Transform the image to grayscale using cv2.cvtColor()"

5

cv2.cvtcolor grayscale

gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
Posted by: Guest on February-29-2020
8

save an image in python as grayscale cv2

cv2.imwrite('data/dst/lena_opencv_red.jpg', im)
Posted by: Guest on January-04-2021

Code answers related to "how to Transform the image to grayscale using cv2.cvtColor()"

Python Answers by Framework

Browse Popular Code Answers by Language