GithubHelp home page GithubHelp logo

wazzabeee / image-video-colorization Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 5.8 MB

Colorize your black and white images and YouTube videos for free. Streamlit application based on CNN deployed on Hugging Face.

Home Page: https://medium.com/geekculture/creating-a-web-app-to-colorize-images-and-youtube-videos-80f5be2d0f68

Python 100.00%
automatic-colorization colorization computer-vision deep-learning huggingface-spaces image-colorization papers streamlit video-colorization cnn

image-video-colorization's Introduction

Image Video Colorization

This project was conceived as part of the "Sujets Spéciaux" course at UQAC under the supervision of Kevin Bouchard

Objective

The aim was to deploy a video image colorization application. To this end, I have taken up the GitHub project of Richard Zhang and his co-authors with models and papers presented at ECCV16 and SIGGRAPH17. Their solutions are based on convolutional neural networks.

The interface for the models was designed on Streamlit and deployed in a Space on Hugging Face.

The tutorial with all the design steps is available on my Medium blog.

The following features are available:

  • Colorization of a batch of images.
  • Colorization of MP4, MKV and AVI video files.
  • Colorization of Youtube videos.

Interface

Running Locally

If you want to process longer videos and you're limited by the Hugging Face space memory's limits, you can run this app locally.

ffmpeg.exe is needed to run this app, you can install it using brew install ffmpeg and update the IMAGEIO_FFMPEG_EXE environment variable accordingly.

git clone https://github.com/Wazzabeee/image-video-colorization
cd image-video-colorization
pip install -r requirements.txt
streamlit run 01_📼_Upload_Video_File.py

Todos

Other models based on GANs will probably be implemented in the future if my application for a community grant to gain access to a GPU on Hugging Face is successful.

References

  1. Richard Zhang, Phillip Isola et Alexei A Efros. « Colorful Image Colorization ». In : ECCV. 2016.
  2. Richard Zhang et al. « Real-Time User-Guided Image Colorization with Learned Deep Priors ». In : ACM Transactions on Graphics (TOG) 9.4 (2017).

image-video-colorization's People

Contributors

cdelteil avatar dependabot[bot] avatar wazzabeee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ak-kumar-v

image-video-colorization's Issues

models

I get the following error when trying to run your code:

ModuleNotFoundError: No module named 'models'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.