| Author: | Jin Zhou (ferryzhou@gmail.com) |
|---|
Do point tracking using KLT algorithm
Here is the usage:
klt_point_tracking -i <filepath> -f <ptdb.txt> [options]
reads an image sequence (can be *.avi or a directory)
runs tracking
write result to ptdb.txt
options:
-d draw tracking images
-c <filepath> write tracking images to filepath
-p <param> corner detector params ('400 0.02 8')
-m <num> maximum tracking frame num
-q <quiet> (turn off debugging output)
output format:
number_of_all_features
frameId, pointId, x y
frameId, pointId, x y
...
read a sequence in directory, output the tracking results to abc_ptdb, draw intermediate track ing results:
klt_point_tracking -i ..\data\torus\ -f torus_ptdb.txt -d