Facial Feature Prediction for Real-Time Video Effects

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional methods for applying effects to video content, such as facial feature tracking, are computationally intensive, leading to performance issues on mobile devices.

Innovation Solution

A method that detects a face in a video frame, applies a transformation to estimate facial feature locations, and uses these predictions to apply effects in subsequent frames, reducing the need for continuous facial feature detection and thus minimizing computational resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional facial feature tracking methods are used to apply effects to video content, then the effects can be accurately applied to facial features, but the computational intensity increases significantly

Engineering Contradiction:
Improvefacial feature location accuracyVSAvoidcomputational load
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system performs facial feature detection and transformation calculation in advance during video capture, storing the transformed bounding boxes for later use. This preliminary action eliminates the need for continuous computational intensive facial feature tracking during video playback, significantly reducing real-time computational load while maintaining accurate effect application.

Inventive Principle:
Principle #10Preliminary action

2Speed

If continuous facial feature detection is performed for each video frame, then real-time effect application is enabled, but device performance deteriorates due to high computational requirements

Engineering Contradiction:
Improvereal-time effect application speedVSAvoidvideo playback performance
Core Design Contradiction:
SpeedVSProductivity

Solution Approach 1:

The system pre-computes and stores transformed bounding boxes during video capture, then retrieves and applies these pre-computed values during playback. This eliminates continuous facial feature detection during playback, maintaining real-time effect application speed while preventing device performance deterioration.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates a copy of the facial feature transformation data in the form of pre-computed bounding boxes that can be quickly retrieved and applied during playback. This copying approach allows real-time effect application without the computational burden of re-detecting and re-transforming facial features for each frame.

Inventive Principle:
Principle #26Copying

3Reliability

If facial features are detected in every video frame, then accurate effect application is maintained, but computational resources are excessively consumed

Engineering Contradiction:
Improveeffect application accuracyVSAvoidcomputational resources
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system performs accurate facial feature detection and transformation only during video capture when needed, then stores the results for reuse during playback. This preliminary action maintains effect application accuracy for the captured content while eliminating redundant computational operations during playback, significantly reducing energy consumption.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system discards the computationally intensive facial feature detection process during playback by recovering and reusing pre-computed transformed bounding boxes from the capture phase. This approach maintains reliable effect application accuracy while eliminating unnecessary computational resource consumption during video playback.

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS10778939B2Media effects using predicted facial feature locations
Publication Date: 2020.09.15 META PLATFORMS INC
  • US10778939B2 patent drawing
  • US10778939B2 patent drawing
  • US10778939B2 patent drawing

AI summary

An effects application receives a video of a face and detects a bounding box for each frame indicating the location and size of the face in each frame. In one or more reference frames. The application uses an algorithm to determine locations of facial features in the frame. The application then normalizes the feature locations relative to the bounding box and saves the normalized feature locations. In other frames (e.g., target frames), the application obtains the bounding box and then predicts the locations of the facial features based on the size and location of the bounding box and the normalized feature locations calculated in the reference frame. The predicted locations can be made available to an augmented reality function that overlays graphics in a video stream based on face tracking in order to apply a desired effect to the video.