def add_target(self, image, rect, data=None):
        x0, y0, x1, y1 = rect
        raw_points, raw_descrs = self.detect_features(image)
        points, descs = [], []
        for kp, desc in zip(raw_points, raw_descrs):
            x, y = kp.pt
            if x0 <= x <= x1 and y0 <= y <= y1:
                points.append(kp)
                descs.append(desc)
        descs = np.uint8(descs)
        self.matcher.add([descs])
        target = PlanarTarget(image = image, rect=rect, keypoints = points, descrs=descs, data=None)
        self.targets.append(target)
Configure parser for this action
dataset/ETHPy150Open fatcloud/PyCV-time/opencv-official-samples/2.4.9/plane_tracker.py/PlaneTracker.add_target--crossover with--dataset/ETHPy150Open aldebaran/qibuild/python/qilinguist/actions/install.py/configure_parser