Skip to content

vacany/application-flow

Repository files navigation

How to use Flow for Motion Segmentation, Instance Segmentation and Pose Estimation

Installation

Benchmark data

  • Setup directory for extracting the data, visuals and experimental results '''console BASE_PATH='path_where_to_store_data' '''
  • Download Data and unpack it to the folder $BASE_PATH/
tar -xvf data_sceneflow.tgz $BASE_PATH/data/sceneflow

The data consist of *.npz files, where inside key names corresponds to:

  • 'pc1' : xyz points in time t
  • 'pc2' : xyz points in time t+1
  • 'pose1' : Pose Transformation from t to t+1

Use Case

After installation of the package and setting up the data, you can run:

python optimize_frame.py *path_to_frame*

The script will compute Flows, dynamic mask per-point, instances by DBSCAN from geometry and motion features and pose estimation in output:

Clusters:  (136898,) ---> [int ids]
Dynamic points:  torch.Size([136898]) ---> [binary mask]
Flow:  torch.Size([136898, 3]) ---> [float per-point flows]
Pose:  torch.Size([4, 4]) ---> [odometry matrix]

where you can look at the and of the script for format and save the output to your desired location.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published