Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
cv.Circle を使用して画像に円を描画しようとしたときに、Python OpenCV に cvPoint を作成する cv.Point 関数がないことに気付きました。Debian の最新の安定バージョンを使用しており、すべての Python OpenCV パッケージを Synaptic と共にインストールしました。cv.Circle 関数で使用する cvPoint を作成するにはどうすればよいですか?
タプルを使用します。塗りつぶされた緑色の円の例を次に示します。
cv2.circle(img, (x1, y1), 3, (0, 255, 0), -1)