-
Notifications
You must be signed in to change notification settings - Fork 0
Detecting movement
Tim edited this page Jan 2, 2022
·
12 revisions
The movement detector operates bCode detection files, such as the one created from the example video. In this video, a single pixel corresponds to 0.0339973 mm of real-world space. How far a bCode moved between successive frames of the example video can thus be detected by running
java -jar movement_detector.jar filtered.data.file=2018-08-03-09-03-18-039.txt \
frame.rate=10 mm.per.pixel=0.0339973 movement.file=distance_moved.txton the bCode detection file 2018-08-03-09-03-18-039.txt, which we created in this tutorial. This will result in a file named distance_moved.txt that lists all detected movements in the format described here.