In this tutorial we introduce the demo of OnePose running with data captured with our OnePose Cap application available for iOS device. The app is still under preparing for release. However, you can try it with the example demo data and skip the first step.
- Download the captured mapping sequence and the test sequence to the PC by the provided url in app.
- Rename the annotate and test sequences directories to
your_obj_name-annotate
andyour_obj_name-test
respectively and organize the data as the follow structure:Refer to the demo data as an example.|--- /your/path/to/scanned_data | |--- your_obj_name | | |---your_obj_name-annotate | | |---your_obj_name-test
- Link the collected data to the project directory
REPO_ROOT=/path/to/OnePose ln -s /path/to/scanned_data $REPO_ROOT/data/demo
Now the data is prepared!
Execute the following commands, and a demo video naming demo_video.mp4
will be saved in the folder of the test sequence.
REPO_ROOT=/path/to/OnePose
OBJ_NAME=your_obj_name
cd $REPO_ROOT
conda activate oneposeplus
bash scripts/demo_pipeline.sh $OBJ_NAME