Skip to content

ruiyu0/Swing-for-True-Scale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swing for True Scale in Dual Camera Mode

The repository contains the code for "Be Real in Scale: Swing for True Scale in Dual Camera Mode" ISMAR 2023.

pipeline

Environment

The scale estimation code was developed using Python. You can use the following commands to set up the environment in Anaconda or Miniconda:

conda create -n swing4scale python=3.9
conda activate swing4scale
conda install pip
pip install open3d
pip install superpose3d
pip install mediapipe

Face scale estimation

We provide sample data in the data folder collected by a calibrated Samsung Galaxy S22. To estimate the pupil distance (PD), simply run:

python main_pupil_dist_estimate.py

Citation

If you use the code in your research, please cite the paper:

@inproceedings{yu2023real,
  title={Be Real in Scale: Swing for True Scale in Dual Camera Mode},
  author={Yu, Rui and Wang, Jian and Ma, Sizhuo and Huang, Sharon X and Krishnan, Gurunandan and Wu, Yicheng},
  booktitle={IEEE International Symposium on Mixed and Augmented Reality (ISMAR)},
  pages={1231--1239},
  year={2023}
}

About

Code for "Be Real in Scale: Swing for True Scale in Dual Camera Mode" ISMAR 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages