Skip to content

Commit 977c7a1

Browse files
fixed variable name 2
1 parent c904cb4 commit 977c7a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_get_displacements.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ def test_cih_lk():
2626

2727
def test_cih_lk1d():
2828
video = pyidi.VideoReader(input_file='./data/data_synthetic.cih')
29-
lk = pyidi.DirectionalLucasKanade(video)
29+
lk1d = pyidi.DirectionalLucasKanade(video)
3030

3131
points = np.array([
3232
[ 31, 35],
3333
[ 31, 215],
3434
[ 31, 126],
3535
[ 95, 71],
3636
])
37-
lk.set_points(points)
38-
lk.configure(dij = (0.5, 0.5), int_order=1, verbose=0, show_pbar=False)
39-
dsp = lk.get_displacements(autosave=False)
37+
lk1d.set_points(points)
38+
lk1d.configure(dij = (0.5, 0.5), int_order=1, verbose=0, show_pbar=False)
39+
dsp = lk1d.get_displacements(autosave=False)
4040

4141
np.testing.assert_array_equal(dsp.shape, (len(points), video.N, 2))
4242
return None

0 commit comments

Comments
 (0)