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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file colourful-1.2.5.tar.gz.

File metadata

  • Download URL: colourful-1.2.5.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for colourful-1.2.5.tar.gz
Algorithm Hash digest
SHA256 b7047646b18e969c0cae52da3b37f400fe14d11315d62c924e66277e1d3a2698
MD5 0123314b47e19a4f42f0d7b26f283498
BLAKE2b-256 1792a836d2e00422fdbf34b85f7038dd5df7dd43fff57396d5a6872e51e9ee60

See more details on using hashes here.

File details

Details for the file colourful-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: colourful-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for colourful-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6381f4e9c31d27afdd87e95e3a435336aba3bed191a2f886147de64f7ff6b7e5
MD5 07ede758d8ecf867d673689f67c194f9
BLAKE2b-256 e4ed292dd6e05eb52d11b86a7015f38a1ca3a338c83bb2b8f9888c285cd11331

See more details on using hashes here.

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