python-opencvチュートリアル(5) 今回は文字列の書き込みとマウスイベントの処理です。 GitHubリポジトリ https://github.com/kyatou/python-opencv_tutorial 文字列の書き込み ''' python-opencv tutorial Annotate message to image. Usage: 09_annotate.py imagename ''' import cv2 import sys argvs=sys.argv if (len(argvs) != 2): print 'Usage: # python %s imagefilename' % argvs[0] quit() imagefilename = argvs[1] try: img=cv2.imread(imagefilename, 1) except: p
![python-opencv tutorial(5)](https://cdn-ak-scissors.b.st-hatena.com/image/square/d24c70ce01f3f5e7c6e27bbb36168cb7b572064e/height=288;version=1;width=512/http%3A%2F%2F1.bp.blogspot.com%2F-XUCSrlkAwRk%2FUAvRGQapPYI%2FAAAAAAAAAgg%2FKUTlAowTut0%2Fw1200-h630-p-k-no-nu%2F02.jpg)