@@ -0,0 +1,197 @@
+import cv2%0A%0Adef main():%0A%09image = cv2.imread('pic_mountain.jpg')%0A%09gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)%0A%09cv2.imwrite('gray_image.png',gray_image)%0A%0Aif (__name__ == %22__main__%22):%0A%09main()

add RgbToGray.py