Definition

image recognition

What is image recognition?

Image recognition, in the context of machine vision, is the ability of software to identify objects, places, people, writing and actions in digital images. Computers can use machine vision technologies in combination with a camera and artificial intelligence (AI) software to achieve image recognition.

The terms image recognition, picture recognition and photo recognition are used interchangeably.

A screenshot classifying various objects through image recognition.
Objects are classified through image recognition.

How does image recognition work?

While animal and human brains recognize objects with ease, computers have difficulty with this task. There are numerous ways to perform image processing, including deep learning and machine learning models. However, the employed approach is determined by the use case. For example, deep learning techniques are typically used to solve more complex problems than machine learning models, such as worker safety in industrial automation and detecting cancer through medical research.

Typically, image recognition entails building deep neural networks that analyze each image pixel. These networks are fed as many labeled images as possible to train them to recognize related images.

This process is typically divided into the following three steps:

  1. A data set with images and their labels is gathered. For instance, a dog image needs to be identified as a "dog" or as something that people recognize.
  2. A neural network will be fed and trained on these images. Convolutional neural network processors perform well in these situations, as they can automatically detect the significant features without any human supervision. In addition to multiple perceptron layers, these networks also include convolutional layers and pooling layers.
  3. The image that isn't in the training set is fed into the system to obtain predictions.
Graphic explaining the three models of AI.
Machine learning, deep learning and neural network are all applications of AI.

Image recognition algorithms compare three-dimensional models and appearances from various perspectives using edge detection. They're frequently trained using guided machine learning on millions of labeled images.

Image recognition use cases

Image recognition is used to perform many machine-based visual tasks, such as labeling the content of images with meta tags, performing image content search and guiding autonomous robots, self-driving cars and accident-avoidance systems.

The following are some prominent real-world use cases of image recognition:

  • Facial recognition. Facial recognition is used in a variety of contexts -- social media, security systems and entertainment -- and frequently involves identifying faces in photos and videos. For example, when someone uploads a photo of their friends on Facebook, the app instantly suggests the friends whom it believes are in that photo. Deep learning algorithms are used in facial recognition to evaluate a photo of a person and produce the accurate identity of the individual in the image. The algorithm can be expanded to extract important attributes such as age, gender and facial expressions of a person through their image. The facial recognition feature on smartphones, as well as computerized picture identity verification at security checkpoints such as airports or building entrances, are the most common applications of image recognition.
  • Visual search. Image search using keywords or visual features uses image recognition technology. For instance, Google Lens enables users to conduct image-based searches and Google's Translate app offers real-time translation by scanning text from photographs. These technological advancements enable consumers to conduct real-time searches. For instance, if someone finds a flower at a picnic and is interested in learning more about it, they can simply take a photo of the flower and use the internet to look up information on it right away.
  • Medical diagnosis. Using image recognition technology, healthcare professionals and clinicians examine medical imaging to diagnose diseases and conditions. For example, image recognition software can be trained to analyze and spot patterns in data from MRI or X-ray devices. This enables clinicians to find, detect and report medical abnormalities at an early stage. Radiology, ophthalmology and pathology are three fields that frequently use image recognition for medical diagnosis.
  • Quality control. Traditional manual quality inspection is labor-intensive, time-consuming and error prone. However, using a set of annotated photos of a product of interest, an artificial intelligence model or neural network can be trained to automatically spot patterns of malfunctioning equipment. As a result, it's possible to identify and isolate items that don't meet the standards, thus improving overall quality of the product.
  • Fraud detection. The fraud detection procedure can be automated and enhanced with the use of AI photo recognition tools. For example, one method of detecting fraud is to use an AI image recognition tool to process checks or other documents submitted to banks. To assess the authenticity and legality of a check, the computer analyzes scanned images of it to extract crucial data such as the account number, check number, check amount and the account holder's signature.
  • People identification. Government agencies, law enforcement and other security agencies use image recognition to identify and collect information about individuals in photographs and videos.

Current and future applications of image recognition include smart photo libraries, targeted advertising, interactive media, accessibility for the visually impaired and enhanced research capabilities.

What are the types of image recognition?

Training image recognition systems can be performed in one of three ways -- supervised learning, unsupervised learning or self-supervised learning. Usually, the labeling of the training data is the main distinction between the three training approaches.

  • Supervised learning. This type of image recognition uses supervised learning algorithms to distinguish between different object categories -- such as a person or a car -- from a collection of photographs. A person can use the labels "car" and "not car," for instance, if they want the image classification system to recognize photographs of cars. With this type of image recognition, both categories of images are explicitly labeled in the input data before the images are fed into the system.
  • Unsupervised learning. An image recognition model is fed a set of images without being told what the images contain. As a result, the system determines, through analysis of the attributes or characteristics of the images, the important similarities or differences between the images.
  • Self-supervised learning. Self-supervised training is frequently considered a subset of unsupervised learning because it also uses unlabeled data. It's a training model where learning is accomplished using pseudo-labels created from the data itself. It enables a person to learn to represent the data with less precise data. With this as a starting point, a machine can be taught to imitate human faces using self-supervision, for example. After the algorithm has been trained, supplying additional data causes it to generate completely new faces.

What is the difference between image recognition and object detection?

Image recognition and object detection are similar techniques and are both related to computer vision. However, they have the following distinct differences:

Image recognition

  • Image recognition identifies and categorizes objects, people or other items in an image or video.
  • Image recognition software normally assigns a classification label to each frame of an image or video.
  • Image recognition systems might only need to identify the presence of certain features or patterns within an image or video, without necessarily localizing them.

Object detection

  • Object detection finds instances and locations of objects in the image and their class or type.
  • Object detection systems use bounding boxes -- the rectangle that's used to surround an image and to show the position and dimensions of distinct objects within an image or video -- together with the class or type of each object.
  • Object detection is generally more complex than image recognition, as it requires identifying the objects present in an image or video as well as localizing them and determining their size and orientation.

Common object detection techniques include Faster Region-based Convolutional Neural Network (R-CNN) and You Only Look Once (YOLO), Version 3. R-CNN belongs to a family of machine learning models for computer vision, specifically object detection, whereas YOLO is a well-known real-time object detection algorithm.

The future of image recognition

Image recognition is gaining immense popularity and can lead to a variety of new applications in the future, including the following:

  • Driverless cars. Even though this technology hasn't yet reached its pinnacle, many companies are actively using AI, ML, computer vision and image recognition to market autonomous vehicles. One of the fundamental technologies enabling self-driving technology -- including the creation of safety measures -- is computer vision. In particular, image recognition technology makes it possible to forecast the position, velocity and motion of other moving objects as well as identify objects, people, routes and hazardous curves on highways. Scientists are developing AI to enable cars to adapt to challenging weather conditions and also see in the dark.
  • Smart glasses. With built-in image recognition, wearable technology such as smart glasses should live up to early promises. For example, a person wearing smart glasses would be notified if a product they just put in their cart is available across the street for a lower price.
  • Augmented reality. Another area that can greatly benefit from image recognition is augmented reality (AR), which is being propelled forward by the gaming industry. AR technology is already being used in games such as Pokemon Go, but in the future, it will play a significant role in the fashion, medical and educational sectors.
  • Predicting consumer behavior. The valuable applications of image recognition could help brand advertising, ad targeting and enhancing customer service. Through image recognition, brands can target customers' uploaded photos to gain additional insights into their preferences and spending patterns. Armed with the necessary information on their customers, brands can easily deliver effective targeted marketing to consumers.

Privacy concerns for image recognition

Google, Facebook, Microsoft, Apple and Pinterest are among the many companies investing significant resources and research into image recognition and related applications. Privacy concerns over image recognition and similar technologies are controversial, as these companies can pull a large volume of data from user photos uploaded to their social media platforms.

Machine vision has various applications across different industries. Find out how the manufacturing sector is using AI to improve efficiency in its processes.

This was last updated in March 2023

Continue Reading About image recognition

Dig Deeper on AI technologies

Business Analytics
CIO
Data Management
ERP
Close