/DepthEstimation

Primary LanguagePythonMIT LicenseMIT

ZoeDepth Estimation

This project is a Python-based application that uses the ZoeDepth model from the isl-org repository for depth estimation in images.

Usage/Examples

Example Photo Output
pexels-peng-liu-169647 bffe9859ec12

CLI Usage

usage: climenu.py [-h] input_image output_image

positional arguments:
    input_image     Path to input image.
    output_image    Path to output depth map.
options:
    -h, --help      show this help message and exit

API Usage

http://127.0.0.1:8064/predict

Installation

Install the required libraries with pip

pip install -r requirements.txt

Environment Variables

To run this project, you will need to add the following environment variable to your .env file:

IMAGE_API_KEY

(You can generate your own API key from here )

Deployment

To deploy this project run

  docker build -t depth_estimation .
  docker run -d -p 8064:8064 depth_estimation

License

MIT