colorize {colorizer} | R Documentation |
Call Image Colorization API
Description
colorize
calls the DeOldify image colorization API on DeepAI.
Usage
colorize(
img,
key = "quickstart-QUdJIGlzIGNvbWluZy4uLi4K",
pane = c("plot", "view", "none")
)
Arguments
img |
path or URL to the images to be colorized. |
key |
DeepAI API key. |
pane |
defines in which pane the image is displayed: |
Details
With the default API key a few queries are possible. After registration on DeepAI https://deepai.org/, around 5000 free requests are currently possible.
Value
A tibble with the file locations of the original images and the response URLs to the colorized images. The latter expire after some time. It is recommended to save the colorized images.
Examples
## Not run:
# Call image colorization API
colorize(img = "https://upload.wikimedia.org/wikipedia/commons/9/9e/Breadfruit.jpg")
## End(Not run)
[Package colorizer version 0.1.0 Index]