tmralmeida / path-viz

Visualization of trajectories based on CSV datasets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

path-viz

Visualization of huamn motion trajectories based on CSV datasets. [under construction]

Status

  • Supported datasets
  • Features
    • path visualization
    • heading angle (atc dataset)
    • save path
    • draw map (sCREEN dataset)

Arguments

Argument Name Type Default Additional Info
--path str ------ Path for the CSV file
--dataset str atc Dataset name [atc, edeka, globus, aldi, rewe]
--map_dir str dir_to_map Directory for the map image
--n_trajectories int 1 Number of trajectories to show
--draw ------ ------ Draw path
--no_draw ------ ------ Only scattered visualization

Running

python main.py --path ../datasets/atc-tracking-part1/atc-20121024.csv --draw -nt 6
python main.py --path ../datasets/new_sCREEN/sCREEN\ dataset/globus.txt --dataset globus --n_trajectories 4 --draw 

Note: always pass the path argument along with the respective ds name.

To save the path: press q key to close the plot window at the end of the visualization and then press y key in the terminal.

Example

example folder contains a saved path of one person from the atc dataset.

Visualization Examples

First Video

After including the heading angle provided by the atc dataset:

Second Video

About

Visualization of trajectories based on CSV datasets.


Languages

Language:Python 100.0%