# US 2021/0084347 A1 · System and method of real-time video overlaying or superimposing display

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0084347 A1
- Document ID: US20210084347A1
- Status: Published application
- Kind: A1
- Application number: 16/839,081
- Filed: 2020-04-03
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: Loop Now Technologies, Inc.
- Applicants: Loop Now Technolgies Inc.
- Inventors: Li CHEN; Yang-Cheng FAN; Ting Kwan LUK; Xinshuo ZHANG; WuHsi LI
- Web page: https://patentgrep.com/patent/US20210084347A1

## CPC

- H04N 21/23424: {involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement}
- H04N 5/272: Means for inserting a foreground image in a background image, i.e. inlay, outlay
- H04N 21/2187: Live feed
- H04N 23/45: for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
- H04N 23/63: by using electronic viewfinders
- H04N 23/90: Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Technologies relating to system and method of real-time video overlaying or superimposing display from multiple mutually synchronous cameras are disclosed. An example method of real-time video overlaying includes the steps of: synchronizing frame rates of a depth data, a face meta data, and a video data of a first camera video output captured by a first camera; determining a first depth between a user face and the first camera; using a cutoff depth to determine a user body contour; generating a binary mask of the user body contour based on the first depth and the cutoff depth; smoothing an edge of the binary mask; merging the binary mask with the first camera video output and generating a merged first camera video output; and overlaying the merged first camera video output onto a second camera video output.

## Claims

### Claim 1

A real-time video overlaying system comprising:
a user device comprising a device body having a first side and a second side;
a first camera formed on the first side;
a second camera formed on the second side;
a depth sensor formed on the first side; and
an image processor, wherein the image processor comprises:
a synchronizer unit configured to synchronize a first video data captured by the first camera, a face meta data captured by the first camera, and a depth data captured by the depth sensor;
a binary mask generator unit configured to generate a binary mask from the first video data captured by the first camera;
a video smoothing unit configured to smooth an edge of the binary mask;
a video transforming unit configured to transform the binary mask to allow a drag-and-zoom feature;
a video merger unit configured to merge the binary mask into the first video data, and generating a merged first video data; and
a video overlaying unit configured to overlay the merged first video data onto a second video data captured by the second camera.

### Claim 2 (depends on 1)

The system as claimed in claim 1, wherein the user device comprises a mobile phone or a wearable device.

### Claim 3 (depends on 1)

The system as claimed in claim 1, further comprising:
an image sensor; and
a memory.

### Claim 4 (depends on 3)

The system as claimed in claim 3, wherein the image sensor comprises a CCD or a CMOS sensor, and the memory comprises a hard drive or a flash memory.

### Claim 5

A method of real-time video overlaying comprising the steps of:
synchronizing frame rates of a depth data, a face meta data, and a video data of a first camera video output captured by a first camera;
determining a first depth between a user face and the first camera;
using a cutoff depth to determine a user body contour;
generating a binary mask of the user body contour based on the first depth and the cutoff depth;
smoothing an edge of the binary mask;
merging the binary mask with the first camera video output and generating a merged first camera video output; and
overlaying the merged first camera video output onto a second camera video output.

### Claim 6 (depends on 5)

The method as claimed in claim 5, wherein the first camera and the second camera are facing in the opposite direction.

### Claim 7 (depends on 5)

The method as claimed in claim 5, wherein the first depth is determined by a depth sensor.

### Claim 8 (depends on 5)

The method as claimed in claim 5, wherein the step of synchronizing frame rates comprises synchronizing the frame rate to 60 FPS.

### Claim 9 (depends on 5)

The method as claimed in claim 5, wherein any point on the binary mask further than the user body contour is set a value of 0, and any point falls within the user body contour is set to a value of 1.

### Claim 10 (depends on 5)

The method as claimed in claim 5, further comprising:
applying a low pass filter on the binary mask after generating the binary mask of the user body contour.

### Claim 11 (depends on 10)

The method as claimed in claim 10, wherein the step of applying the low pass filter on the binary mask after generating the binary mask of the user body contour further comprises:
temporarily buffering a last binary mask that corresponds to a last frame, and then mixing the last binary mask with a current binary mask that corresponds to a current frame, and
then generating the binary mask according to a combination of the last frame and the current frame.

### Claim 12 (depends on 11)

The method as claimed in claim 11, wherein the combination of the last frame and the current frame follows an exemplary equation:
the binary mask=last frame*0.4+current frame*0.6.

### Claim 13 (depends on 5)

The method as claimed in claim 5, wherein the step of smoothing an edge of the binary mask further comprises: creating a first alpha matte on the binary mask.

### Claim 14 (depends on 13)

The method as claimed in claim 13, wherein the step of smoothing the edge of the binary mask further comprises: upscaling the first alpha matte to RGB resolution after creating the first alpha matte on the binary mask.

### Claim 15 (depends on 5)

The method as claimed in claim 5, further comprising:
smoothing the binary mask by applying a gamma adjust process and a gaussian blur process; and
transforming the binary mask to allow a drag-and-zoom feature.

### Claim 16 (depends on 15)

The method as claimed in claim 15, wherein the step of applying the gamma adjust process further comprises: applying a CIGammaAdjust filter.

### Claim 17 (depends on 15)

The method as claimed in claim 15, wherein the step of applying the gaussian blur process further comprises: applying a CIGaussianBlur filter.

### Claim 18 (depends on 15)

The method as claimed in claim 15, wherein the step of transforming the binary mask further comprises: scaling the binary mask to the same size as the second camera video output.

### Claim 19 (depends on 18)

The method as claimed in claim 18, wherein the step of transforming the binary mask further comprises: placing the binary mask at a position corresponding to a bottom center of the second camera video output after scaling the binary mask to the same size as the second camera video output.

### Claim 20 (depends on 5)

The method as claimed in claim 5, wherein the step of merging the binary mask with the first camera video output and generating the merged first camera video output further comprises: applying a second alpha matte to the first camera video output; correcting an orientation of the first camera video output; and applying a CIBlendWithMask filter to merge the first camera video output with the binary mask.
