LoginSignup
11

More than 5 years have passed since last update.

【Python】OpenCVでウィンドウ位置変更

Posted at

OpenCVで表示したウィンドウの位置変更方法。
ちょいちょい忘れるため、投稿。。。

ソースコードは以下。

    cv2.imshow('window name', frame)

    # Window位置の変更 第1引数:Windowの名前 第2引数:x 第3引数:y
    cv2.moveWindow('window name', 100, 200)

以上。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11