OpenCV

OpenCV-Python を使って囲碁の勝敗判定させてみよう (2)

久しぶりの更新. OpenCV-Python を使って囲碁の勝敗判定させてみよう (1) - 脱初心者を目指すの続編です. 前回,碁盤の四隅を検出して抜き出しするのに苦戦していたのですが,今回はいったん置いておいて面白そうなところを先にやってみようという試みです…

OpenCV-Python Tutorials (7) ~Image Processing in OpenCV~

OpenCV-Python Tutorialsの記事,Image Processing in OpenCV の章の Contours in OpenCV を見ていく. 今回は,Contours : Contour Properties の内容のメモ. 公式:Image Processing in OpenCV — OpenCV-Python Tutorials 1 documentation この中で試した…

OpenCV-Python Tutorials (6) ~Image Processing in OpenCV~

OpenCV-Python Tutorialsの記事,Image Processing in OpenCV の章の Contours in OpenCV を見ていく. 今回は,Contours : Getting Started と Contour Features の内容のメモ. 公式:Image Processing in OpenCV — OpenCV-Python Tutorials 1 documentati…

OpenCV-Python Tutorials (5) ~Image Processing in OpenCV~

OpenCV-Python Tutorialsの記事,Image Processing in OpenCV の章の Morphological Transformations, Image Gradients,Image Pyramids を見ていく. 公式:Image Processing in OpenCV — OpenCV-Python Tutorials 1 documentation この中で試したコードは…

OpenCV-Python Tutorials (4) ~Image Processing in OpenCV~

OpenCV-Python Tutorialsの記事,Image Processing in OpenCV の章の Smoothing Images から見ていきます. 公式:Image Processing in OpenCV — OpenCV-Python Tutorials 1 documentation この中で試したコードはGitHubに置いておくことにした. github.com…

OpenCV-Python Tutorials (3) ~Image Processing in OpenCV~

OpenCV-Python Tutorialsの記事,Image Processing in OpenCV の章に入ります. 公式:Image Processing in OpenCV — OpenCV-Python Tutorials 1 documentation 色空間の変換 目標 このチュートリアルでは,BGR Gray,BGR HSV などの画像をある色空間から他…

OpenCV-Python を使って囲碁の勝敗判定させてみよう (1)

この記事は CAMPHOR- Advent Calendar 2015 の16日目の記事です. こんにちは.@asadamanです. 最近,OpenCV-Pythonで遊んでいるので,それについて書いてみようと思います. OpenCV-Pythonのチュートリアルをやっているだけでも十分楽しいのですが,それを…

OpenCV-Python Tutorials (2) ~Core Operations~ 後半

前回始めたOpenCV-Python Tutorialsの記事,Core Operationsの続きです. 公式:Core Operations — OpenCV-Python Tutorials 1 documentation パフォーマンスの評価と改善のテクニック 目標 画像処理では,1秒ごとに大量の演算処理を扱うため,自分が書くコ…

OpenCV-Python Tutorials (1) ~Core Operations~ 前半

OpenCV-Python Tutorialsをやっているのでメモしながら進めていこうと思います. 3つ目の章Core Operationsから始めます. 公式: Core Operations — OpenCV-Python Tutorials 1 documentation Core Operations 基本的な操作 目標 ピクセル値の利用,修正 画…

OpenCV-Pythonを使ってwebカメラで写真を撮る

webカメラで写真を撮って保存してみる. import cv2 import datetime fileName = "pic" + datetime.datetime.today().strftime('%Y%m%d_%H%M%S') + ".png" print(fileName) capture = cv2.VideoCapture(1) ret, image = capture.read() if ret == True: cv2.…

OpenCVを使ってみる

OpenCVを使ってみた. 最近囲碁がマイブームなので,地合計算をしてくれるアプリを作りたい.