New Deep Learning Method Enhances Your Selfies

Researchers from Adobe Research and The Chinese University of Hong Kong created an algorithm that automatically separates subjects from their backgrounds so you…

Brad Nemire
1 min readadvanced
--
View Original

Overview

Researchers from Adobe Research and The Chinese University of Hong Kong developed a deep learning algorithm that effectively separates subjects from backgrounds in images, allowing for easy background replacement and filter application. This method utilizes a TITAN X GPU and cuDNN-accelerated Caffe deep learning framework, achieving a speed 20 times faster than CPU-only methods.

What You'll Learn

1

How to use deep learning for automatic portrait segmentation

2

Why GPU acceleration is crucial for deep learning tasks

3

When to apply automatic background replacement in photography

Prerequisites & Requirements

  • Basic understanding of deep learning concepts(optional)
  • Familiarity with Caffe deep learning framework(optional)
  • Experience with image processing techniques(optional)

Key Questions Answered

How does the new algorithm enhance selfie photography?
The new algorithm enhances selfies by automatically separating subjects from their backgrounds, allowing users to easily replace backgrounds and apply filters. This automation simplifies the editing process, making it more accessible for casual photographers who find manual tools tedious.
What technology was used to train the deep learning model?
The researchers used a TITAN X GPU along with the cuDNN-accelerated Caffe deep learning framework to train their convolutional neural network on 1,800 portrait images from Flickr. This setup significantly improved processing speed, making it 20 times faster than CPU-only methods.
What are the limitations of current user-guided tools for portrait segmentation?
Current user-guided tools for portrait segmentation are often tedious and difficult to use, posing challenges for casual photographers. These limitations hinder users from achieving professional-looking portraits without extensive effort in manually creating masks.
What future developments are planned by the researchers?
The researchers plan to focus on portrait video segmentation as their next development. This advancement aims to extend the capabilities of automatic segmentation beyond still images to dynamic video content.

Key Statistics & Figures

Speed improvement of the deep learning method
20x
The GPU-accelerated method is 20 times faster than a CPU-only approach.
Number of portrait images used for training
1,800
The convolutional neural network was trained on 1,800 portrait images sourced from Flickr.

Technologies & Tools

Hardware
Titan X GPU
Used to accelerate the training of the deep learning model.
Software
Cudnn
Accelerated the Caffe deep learning framework used for training the convolutional neural network.
Software
Caffe
Deep learning framework utilized for training the convolutional neural network.

Key Actionable Insights

1
Leverage deep learning for automatic image processing to enhance user experience.
By implementing deep learning algorithms for tasks like portrait segmentation, developers can create more user-friendly applications that cater to casual photographers, reducing the complexity of image editing.
2
Utilize GPU acceleration to significantly improve processing times in deep learning tasks.
Incorporating GPU acceleration, as demonstrated with the TITAN X, can lead to substantial performance improvements, making it feasible to handle larger datasets and more complex models efficiently.
3
Consider the user experience when designing image editing tools.
Understanding the limitations of current tools can guide developers to create solutions that are not only effective but also intuitive for users, thereby increasing adoption and satisfaction.

Common Pitfalls

1
Relying solely on manual tools for image segmentation can lead to poor results and user frustration.
Many casual photographers may not have the skills or patience to create accurate masks manually, which can deter them from using image editing tools effectively.