2018-01-04から1日間の記事一覧
# -*- coding: utf-8 -*- """ OpenCV 3.1.1による顔追跡 """ import cv2 #初期値格納用クラス class DisplayInfomation: pass #第三引数はDisplayInformation def traceFace(cap, cascade, di): _, im = cap.read() #処理速度のためグレー化 gray = cv2.cvtC…
# -*- coding: utf-8 -*- """ OpenCV 3.1.1による顔追跡 """ import cv2 #初期値格納用クラス class DisplayInfomation: pass #第三引数はDisplayInformation def traceFace(cap, cascade, di): _, im = cap.read() #処理速度のためグレー化 gray = cv2.cvtC…