How to draw, edit, and save your trajectories
cd tools/trajectory_editor
python3 app.py
Then open http://localhost:5000/ in your browser.
If you’re running on a remote server, replace localhost
with your server’s IP address.
Click the Choose File button to open a local image:
Note: Use the progress bar below to control motion speed:
Select a trajectory in the sidebar to delete, edit, or copy it. In edit mode, drag points right on the image. The active trajectory is highlighted in color.
Enter horizontal (X) and vertical (Y) speed (pixels/frame):
Click Add to Selected to apply to the current trajectory, or Add to All to apply to everything.
Once you’re happy with your edits, click Store Tracks to save. Important: Each image’s set of trajectories must be saved separately.
After storing, find your track files in the videos_example
folder under tools/trajectory_editor
.