You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a UI to annotate points that match in reference and footage, and estimate the transformation.
58
61
To add a point, just click a pair of points (one from the footage window, and another from the reference window) and select "Add"
59
62
To remove a point, just select the corresponding point at the bottom left corner, and select "Remove".
63
+
You can also ignore point, by clicking them and selecting "Ignore". The transformation will not used ingored points.
64
+
To 'uningnore' points that have been previously ignored, just click them and select "Unignore".
60
65
61
66
If either footage or reference are videos, you can jump to future frames to pick points that match.
62
67
For example, to jump 215 frames in the footage, just write an integer number of frames to jump next to 'Frames to skip (footage)', and select "Skip frames".
@@ -99,6 +104,8 @@ def set_reference(
99
104
globaltransformation
100
105
101
106
globalbutton_finish
107
+
globalbutton_says_ignore
108
+
globalbutton_ignore
102
109
103
110
globalreference_point_canvas
104
111
globalfootage_point_canvas
@@ -154,26 +161,24 @@ def set_reference(
154
161
155
162
defestimate_transformation(points):
156
163
globalbutton_finish
157
-
iflen(points) >=4:
158
-
curr_pts=np.array(
159
-
[point["reference"] forpointinpoints.values()]
160
-
) # use current points as reference points
161
-
prev_pts=np.array(
162
-
[point["footage"] forpointinpoints.values()]
163
-
) # use previous points as footage points (to deduce reference -> footage)
0 commit comments