Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.13 KB

readme.MD

File metadata and controls

40 lines (27 loc) · 1.13 KB

Add Light

This project aims to use open-source depth estimation models to adding light sources that were not originally present in the scene and show the results on web page.

Overview

The goal of this project is to provide a solution for augmenting images with additional light sources using Depth Anything ,Blinn-Phong model and OpenGL for rendering. Users can interact with the web interface based on Gradio, upload their images, and preview the enhanced results in real-time.

Requirements

  • Onnx Runtime
  • OpenCV
  • Gradio
  • PyOpenGL
  • pyglfw

Usage

  • git clone this repository:
git clone https://github.com/CatxFish/Add_Light.git
  • install dependency
ip install -r requirements.txt
  • Run
python app.py

Remark

  • If you can't run PyOpenGL on Windows, please check this

  • Since this project renders image by pyglfw, it does not support headless OS environment such as Google Colab