Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

A Python script to batch colourise photos using DeOldify through the DeepAI API and transfer colour to the high res original.

License

Notifications You must be signed in to change notification settings

RedAuburn/batch-colourise-and-transfer-colour

Repository files navigation

batch-colourise-and-transfer-colour

A Python script to batch colourise photos and transfer colour to the high res original. colourising is currently done with the deepAI API, which uses Jason Antic's model. https://deepai.org/machine-learning-model/colorizer

This could also be applicable for downsizing videos and overlaying colour to the highres original, drastically reducing the time needed to colourise a video.

examples: Gif Demo Close Cubes

Run:

  • Place your images into the input folder

  • Open a terminal/cmd and cd into the folder

  • Run python3 batch_colourise_with_deepai.py

Features:

  • batch process a folder of images with the DeepAI API

  • Overlay colour from the low res colourised image onto the original full res image automatically. (similar to PS Color blendmode)

  • Overlay can be used for individual image sets.

Todo:

  • scale image to upload locally

  • proper GUI

  • select folder instead of putting script in it

  • select only individual files mode (done for blend but not batch, just run blend on it's own)

  • local file input sanitization when selecting files

About

A Python script to batch colourise photos using DeOldify through the DeepAI API and transfer colour to the high res original.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages