Skip to content

m0rsmordre/colorize-grayscale-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

colorize-grayscale-images

Grayscale Image

example_grayscale

Colorized Image

example_colorful

How to use

  • First of all you need a DEEP AI API KEY sign up to website https://deepai.org/dashboard/profile and get your api key in profile section
  • Edit the part of DEEP_AI_API_KEY = 'TOKEN' with your DEEP AI TOKEN
  • Create bw and cf folders. Bw folder is for black and white images, cf folder is for colored images. Put some grayscale images in the bw folder
  • Run script "python main.py"
  • Script will scan files in bw folder and send a request to DEEP AI API image will be downloaded to cf folder as colorized

Nasıl Kullanılır

  • İlk önce bir adet api keyine ihtiyacınız olacak. Siteye kayıt olduktan sonra profile kısmından api keyinizi kopyalayın https://deepai.org/dashboard/profile
  • DEEP_AI_API_KEY = "TOKEN" yazan kısımdaki TOKEN yazısını kendi api keyiniz ile değiştirin.
  • bw ve cf isminde klasörleri oluşturmalısınız. bw isimli klasöre siyah beyaz fotoğraflarınızı atın
  • Programı çalıştırın "python main.py"
  • Program bw klasöründeki dosyaları tarayacak ve DEEP AI API'sine dosyaları gönderecek ve dosyaları teker teker cf klasörüne renklendirilmiş şekilde indirecektir.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages