Skip to main content

colourful is a package to colorize any greyscale image.

Project description

colourful

colourful is a package to colorize any greyscale image.

Usage

from colourful import Colour
api = Colour("your-api-key")
image = api.colourize("path/to/file/or/url")
print(image)

Example

from colourful import Colour
api = Colour("api-key")
image_url = api.colourize("https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSquKY_mSuJBAAiJ96LPdqS3yWFLMqZSvL73g&usqp=CAU")
print(image_url)
> https://api.deepai.org/job-view-file/8ef87b60-aecc-4ac4-8e8b-cc4de7a107eb/outputs/output.jpg

Example Using Images

Input -

Input

Output -

Output

Get API Key

1 - Go to DeepAI and create an account

2 - Verify by clicking on the URL sent by DeepAI to your E-Mail

3 - Go to DeepAI Dashboard and get your API Key

Note - This package is currently under development

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

colourful-1.2.5.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

colourful-1.2.5-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page