ML Scene Detection Model for Portrait Background Replacement

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional chroma key technology is limited in replacing backgrounds in portrait photographs, as it requires specific saturated colors and struggles with patterns and subjects wearing similar-colored clothing, making it difficult to accurately distinguish subjects from backgrounds.

Innovation Solution

A system and method using a machine learning-based photographic scene detection model to automatically detect and classify backgrounds, floors, and props of various colors and designs, allowing for replacement without relying on saturated colors or patterns, by training the model with diverse sample images under different conditions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If chroma key technology is used to replace backgrounds, then background replacement can be achieved with saturated colors, but it fails when subjects wear similar-colored clothing or when backgrounds have patterns

Engineering Contradiction:
Improvebackground replacement accuracyVSAvoidapplicability to different scene colors and designs
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent transforms the background from a simple color-based solution to a structured pattern-based solution. By embedding detectable patterns (such as grid patterns, radial patterns, or other geometric designs) into the background, the system enables reliable detection and replacement regardless of the subject's clothing color or the background's base color. This parameter change from color saturation to pattern structure resolves the contradiction between reliability and adaptability.

Inventive Principle:
Principle #35Parameter changes

2Difficulty of detecting and measuring

If conventional detection methods are used, then simple color-based backgrounds can be detected, but complex designs and patterns cannot be accurately distinguished

Engineering Contradiction:
Improveease of scene detectionVSAvoidscene boundary accuracy
Core Design Contradiction:
Difficulty of detecting and measuringVSMeasurement precision

Solution Approach 1:

The patent introduces an intermediary detectable pattern as a mediator between the background and the detection system. This embedded pattern acts as a visual cue that facilitates accurate detection and segmentation. The pattern serves as an intermediate element that the detection algorithm can reliably identify and use to define scene boundaries, thereby improving measurement precision without increasing detection difficulty.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If machine learning models are trained with diverse sample images, then detection accuracy improves for various conditions, but training time and computational resources increase

Engineering Contradiction:
Improvescene detection accuracyVSAvoidmodel training time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-training the machine learning model with a comprehensive dataset that includes diverse lighting conditions, subject characteristics, and background patterns before deployment. This preliminary training ensures the model is already adapted to various scenarios, reducing the need for extensive fine-tuning or retraining when encountering different拍摄 conditions in production, thereby mitigating the time loss associated with training.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11019317B2System and method for automated detection and replacement of photographic scenes
Publication Date: 2021.05.25 SHUTTERFLY LLC
  • US11019317B2 patent drawing
  • US11019317B2 patent drawing
  • US11019317B2 patent drawing

AI summary

A method of photographing a subject includes storing a library of photographic scene designs in a computer memory, training a photographic scene detection model by a computer processing device using machine learning from sample portrait images comprising known photographic scenes defined in the library of photographic scene designs, capturing a production portrait photograph, using a digital camera, of a subject in a photographic scene that is defined by a photographic scene design in the library of photographic scene designs, automatically detecting the photographic scene in the production portrait photograph using the photographic scene detection model operating on one or more computer processors, and processing the production portrait photograph by an image processing system to personalize the photographic scene detected in the production portrait photograph.