- clone the repository using
git clone https://github.com/wuxiaohua1011/stereo_image_to_point_cloud_japan.git
- Setup an identical conda environment using
conda create --name myenv --file spec-file.txt
- Activate the environment using
conda activate myenv
- install required modules
pip install tqdm opencv-python
- Download the data video file
mkdir data/raw_data && python download_google_drive.py 1DZvYQMRoPbrmJ67q4kNZ1duFWk5oHnV_ ./data/raw_data/both_eye_0304_1.mp4
- run
python together.py
, you should see a windows pop up, presss
to draw a bounding box, and then pressspace
orenter
to confirm the bounding box, then you should see both the position and the disparity map showing.
Feel free to disable showing disparity map by passing in False on line 102 for calculating disparity map