Image processing is manipulation of an image that has been digitised and uploaded into a computer. Software programs modify the image to make it more useful, and can for example be used to enable ...
gray_img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) # cv2.COLOR_BGR2GRAYは、BGRの順番で格納されている画像をグレースケールに変換するためのフラグ cv2.imshow('Gray Shapes', gray_img) # ハフ変換を使って円を検出する ...