Commit d9478252 authored by Alexander Mordvintsev's avatar Alexander Mordvintsev

show detected keypoints in feature_homography.py

parent a5b60fa5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment