Trajnet tools.
Project description
Tools
summary table and plots: python -m trajnettools.summarize <dataset_files>
plot trajectories in a scene: python -m trajnettools.trajectories <dataset_file>
APIs
trajnettools.Reader: class to read the dataset_file
trajnettools.show: module containing contexts for visualizing rows and paths
trajnettools.writers: write a trajnet dataset file
trajnettools.metrics: contains average_l2() and final_l2() functions
Dataset
Datasets are split into train, val and test set. Every line is a self contained JSON string (ndJSON).
Scene:
{"scene": {"id": 266, "p": 254, "s": 10238, "e": 10358}}
Track:
{"track": {"f": 10238, "p": 248, "x": 13.2, "y": 5.85}}
with:
id: scene id
p: pedestrian id
s, e: start and end frame id
f: frame id
x, y: x- and y-coordinate in meters
Frame numbers are not recomputed. Rows are resampled to about 2.5 rows per second.
Dev
pylint trajnettools
pytest
mypy trajnettools --disallow-untyped-defs
Dataset Summaries
biwi_hotel:
crowds_students001:
crowds_students003:
crowds_zara02:
crowds_zara03:
dukemtmc:
syi:
wildtrack:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for trajnettools-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10ea81fa044b8d60148816061c03aa1cad601ef5f591458df637a17bd82e67c7 |
|
MD5 | 37bc3c14b568ebe92dacc7e4d14e3562 |
|
BLAKE2b-256 | 6eacc6452df52309bf7b92b0d78d2e325fecd9b42a01869fb699fc4182bb3905 |