'NoneType' object has no attribute 'draw' :Keypoint Template Matching

asked 2013-06-08 02:53:49 -0500

pavanreddi123 gravatar image

updated 2013-06-08 02:56:07 -0500

from SimpleCV import *

cam = Camera()

while True: template = Image('D:\data base\Rubiks cube\sample.jpg')

img = cam.getImage()

match = img.findKeypointMatch(template)

match.draw(width = 2)


window is freezing after few frames of detection with error : Traceback (most recent call last): File "C:\Python27\program_shell", line 15, in <module> match.draw(width = 2) AttributeError: 'NoneType' object has no attribute 'draw'

please help

edit retag flag offensive close merge delete