show detected keypoints in feature_homography.py
This commit is contained in:
parent
a5b60fa532
commit
d9478252e9
@ -85,6 +85,9 @@ class App:
|
||||
vis = np.zeros((h, w*2, 3), np.uint8)
|
||||
vis[:h,:w] = self.frame
|
||||
self.rect_sel.draw(vis)
|
||||
for kp in self.frame_points:
|
||||
x, y = kp.pt
|
||||
cv2.circle(vis, (int(x), int(y)), 2, (0, 255, 255))
|
||||
|
||||
if self.ref_frame is not None:
|
||||
vis[:h,w:] = self.ref_frame
|
||||
|
Loading…
x
Reference in New Issue
Block a user