videogames.ai Blog About Hardware guide

Convert image from rgb to gray scale

img = cv2.cvtColor(img, cv2.COLOR_RGB2GRAY)