4
3

More than 5 years have passed since last update.

OpenCV / Pythonでグレースケール画像がカラー画像で表示されてしまう

Last updated at Posted at 2015-03-19

表示が3チャンネルになっているのが原因です。

gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
cv2.merge((gray, gray, gray), frame)

ブログやっています:http://weed.nagoya

4
3
8

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
4
3