mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
store user-provided data in PlaneTracker class
This commit is contained in:
parent
5e92a777ef
commit
3f8cefea0e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user