Answers for "how to grayscale image in cv2"

5

cv2 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

Python Answers by Framework

Browse Popular Code Answers by Language