回答編集履歴

2

リンクミス修正

2018/12/23 09:44

投稿

8524ba23
8524ba23

スコア38352

answer CHANGED
@@ -1,5 +1,5 @@
1
1
  画像処理は門外漢ですが、`python detect color image`でググると以下がヒットしました。
2
- [How to fast change image brightness with python + OpenCV?](https://stackoverflow.com/questions/32609098/how-to-fast-change-image-brightness-with-python-opencv)
2
+ [Detect if image is color, grayscale or black and white with Python/PIL](https://stackoverflow.com/questions/20068945/detect-if-image-is-color-grayscale-or-black-and-white-with-python-pil)
3
3
 
4
4
  上記を~~丸パクリし~~元に判定関数を作成してみました。
5
5
  見た目では分からない程度でも色味に揺らぎがあるとカラーと判定されます。

1

修正

2018/12/23 09:44

投稿

8524ba23
8524ba23

スコア38352

answer CHANGED
@@ -1,4 +1,4 @@
1
- 画像処理は門外漢ですが、`python opencv increase saturation`でググると以下がヒットしました。
1
+ 画像処理は門外漢ですが、`python detect color image`でググると以下がヒットしました。
2
2
  [How to fast change image brightness with python + OpenCV?](https://stackoverflow.com/questions/32609098/how-to-fast-change-image-brightness-with-python-opencv)
3
3
 
4
4
  上記を~~丸パクリし~~元に判定関数を作成してみました。