Skip to content

PeaceNeil/Depth_Estimator_594

Repository files navigation

Purpose

This is a simple depth estimation testing repository used for performing depth estimation after 5G data transmission to the base station in course 594. We use Depth Anything V2; for more details, please refer to https://github.com/DepthAnything/Depth-Anything-V2

Usage

Prepraration

git clone https://github.com/PeaceNeil/Depth_Estimator_594.git
cd Depth_Estimator_594
pip install -r requirements.txt
wget https://huggingface.co/depth-anything/Depth-Anything-V2-Small/resolve/main/depth_anything_v2_vits.pth

Or download other checkpoints listed here.

Infer one frame

Added a simple script for depth estimation and a 3D surface visualization.

python DispAnything.py --image_path IMAGE_PATH --encoder MODEL_TYPE

result

Perception based on mean value

python perception.py --image_path IMAGE_PATH

About

Part of Rice 594 Course Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published