Skip to content

CatxFish/Add_Light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages