scorecard
  1. Home
  2. tech
  3. Twitter is using artificial intelligence for smarter image cropping

Twitter is using artificial intelligence for smarter image cropping

Edoardo Maggio   

Twitter is using artificial intelligence for smarter image cropping
Tech2 min read

Jack Dorsey smile

Getty

Twitter CEO Jack Dorsey.

Twitter is rolling out an improvement to its service that uses artificial intelligence (AI), specifically a neural network, to make better crops of image previews.

Up until now, Twitter automatically cropped an image with the help of face detection, or by simply carving a thumbnail from the middle of the image.

By training neural networks with thousands of images, Twitter now understands which part an user would likely be interested in seeing.

In an example, the firm showed a tweet with an image of an airplane wing. The previous automatic crop shows little of the wing itself, and mostly focuses on the sky, whereas the neural network-enhanced preview shows almost the entire wing, which helps the user better understand both the content and the context.

Twitter preview before after

Twitter

A before and after comparison of image thumbnails on Twitter.

The new crop system also works well with faces; that's another case scenario where the non-intelligent crop could cut out faces entirely - especially in portrait shots - whereas the AI-trained image recognises the face and puts that in the preview.

To identify the regions, Twitter says that the system analyses images to understand where there is a high concentration of so-called "saliency."

Twitter preview before after (2)

Twitter

The new preview system is good at recognising both objects, like a plane wing, and faces; even those of animals.

"A region having high saliency means that a person is likely to look at it when freely viewing the image," the post reads. Academics have studied and measured saliency by using eye trackers, which record the pixels people fixated with their eyes."

There are no hard dates, but the new image preview is currently rolling out Twitter's official app on Android and iOS, as well as twitter.com on the web.

READ MORE ARTICLES ON


Advertisement

Advertisement