store user-provided data in PlaneTracker class

This commit is contained in:
Ben Hagen 2015-01-19 21:51:19 +01:00
parent 5e92a777ef
commit 3f8cefea0e

View File

@ -77,7 +77,7 @@ class PlaneTracker:
descs.append(desc)
descs = np.uint8(descs)
self.matcher.add([descs])
target = PlanarTarget(image = image, rect=rect, keypoints = points, descrs=descs, data=None)
target = PlanarTarget(image = image, rect=rect, keypoints = points, descrs=descs, data=data)
self.targets.append(target)
def clear(self):