قالب وردپرس درنا توس
Home / Tips and Tricks / How to color black and white photos on your iPhone using shortcuts «iOS & iPhone :: Gadget Hacks

How to color black and white photos on your iPhone using shortcuts «iOS & iPhone :: Gadget Hacks



We may never know all the colors behind old and classic black-and-white photos, but thanks to the technology, we can achieve a pretty accurate coloration. Although Photoshop is a popular way to color these images, you can now use your iPhone with a handy shortcut to transform vintage photos and bring them back to life.

The DeepAI API includes an Image Coloring API that has been trained on color images and their grayscale counterparts to create a comprehensive learning model that can accurately color black-and-white photos. All you have to do is register and download the link, and you can colorize the images stored on your iPhone in seconds.

Step 1
: Subscribe to DeepAI

DeepAI.org is an artificial intelligence community. Here you can share APIs, research, records, jobs and more – all in terms of AI. How does that fit with this abbreviation? Well, the DeepAI API shortcut uses the DeepAI API (confusing, I know), so an API key is required for you to use it.

To get an API key, you must sign up for an account with DeepAI.org. Go to DeepAI.org and tap the three-dot menu on the top right. On the menu that appears, tap "LOG IN," and then choose a sign-in method: Email, Google, GitHub, Twitter, or LinkedIn.

If you've created an account, tap the three-dot menu in the top-right corner again, but this time select "Dashboard." Above you see a long series of numbers and letters. This is the API key – copy it by long-pressing it and tapping Copy.

Note : Registration is free but some requests are free for the API. Get $ 5 worth of API requests for free, so you can color up to 10,000 black and white images without spending a penny.

Step 2: Download and install DeepAI API

Open the DeepAI API Link to the corresponding iCloud link below.

If you receive a warning in iOS 13 that DeepAI API can not be opened, you have not set up shorcuts to allow untrusted links from outside the gallery. To change it, open the Settings app, click "Shortcuts," then switch to Share security to "Allow untrusted shortcuts." In the popup, tap "Allow," and then enter your passcode. Then try again to open the link.

When a webpage for the shortcut appears, tap Get Shortcut to open shortcuts.

If you are using iOS 13, click Add Shortcut The screen prompts you to review all actions for security. So, look at them and click "Add untrusted link" below. On iOS 12, you can tap to display Actions to check all affected items to make sure they are displayed correctly, and then click Get Link to install them ” width=”532″ height=”532″ style=”max-width:532px;height:auto;”/>

  How to color black-and-white photos via shortcuts on your iPhone

Before installing, however, you must enter your API key (which you copied in the previous step). Type in where it says Text (in iOS 13, bottom left) or Api-Key (in iOS 12, bottom right) by long pressing on the text box and tapping On "Paste". Click Done when you're done.

Step 3: Colorize B & W Images

You can either color (1) use a photo-based app or (2) call the Shortcuts app. Both methods work and use the Image Colorization API. However, before you get started, you should know some guidelines:

  • The maximum size for uploading files is 1,200 pixels in the size of the largest page.
  • If you upload an image that is larger than 1,200 pixels, it is automatically uploaded resized.

Method 1: Apple Photos (or Another Photos App)

In the Apple Photos app, locate the black and white photo that you want to color. You can do this in other apps like Google Photos, Dropbox, Files, and so on.

Touch the share icon on the navigation bar when you find it. Then scroll down the action sheet until your shortcuts are up and tap DeepAI API. You may need to tap OK when a pop-up appears asking if you want to grant DeepAI API access to your photos.

Choose "Image Coloring" from the options displayed. When you do it for the first time, the DeepAI API will prompt you for access to api.deepai.org. Click OK".

The DeepAI API shortcut is now running It takes a few seconds to colorize the image. The colorization process is not perfect works very well (as you can see below). When you tap the sharing icon in the upper-right corner, you can share, copy, and save the colorized image. You must do one of these steps otherwise the changes will be lost.

# 2: Shortcuts Application

If you want to use shortcuts for the colorization process, open the app, go to "My Shortcuts" and tap on the DeepAI API shortcut. Then tap "Image Dye" in the options that appear and choose either "Select Photo" to get a photo from the photo application, or "Clipboard" to choose an image that has been copied to your clipboard.

After a few seconds, the black and white image is colored. Below you can see the black and white image (left) and the colored version (right). Touch the sharing icon to save, copy, or share the photo on your device.

Cover photo and screenshots of Nelson Aguilar / Gadget Hacks

Source link