(self, ips, snap, img, para = None)
| 33 | view = [(int, 'size', (0,10), 0, 'size', 'pix')] |
| 34 | |
| 35 | def run(self, ips, snap, img, para = None): |
| 36 | cimg = feature.corner_moravec(img, window_size=para['size']) |
| 37 | pts = feature.corner_peaks(cimg, min_distance=1) |
| 38 | self.ips.roi = PointRoi([tuple(i[::-1]) for i in pts]) |
| 39 | |
| 40 | class Tomasi(Filter): |
| 41 | title = 'Tomasi' |