×

Image segmentation and modification of a video stream

  • US 10,515,454 B2
  • Filed: 12/26/2018
  • Issued: 12/24/2019
  • Est. Priority Date: 11/30/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for manipulating portions of a video stream, comprising:

  • determining, by a client device, an approximate location of a mouth within a video stream including a face and comprising a first set of images and a second set of images;

    identifying, by the client device, an area of interest comprising a plurality of pixels within the one or more images of the first set of images, the area of interest being a portion of the one or more images encompassing the approximate location of the mouth;

    generating, by the client device a binarization matrix by performing operations comprising;

    for each pixel of the plurality of pixels within the area of interest;

    retrieving a set of color values associated with the pixel;

    determining a binary value for the pixel by comparing a first value of a first portion of the set of color values with a second value of a second portion of the set of color values;

    storing the binary value for the pixel in the binarization matrix;

    modifying each pixel in the plurality of pixels within the area of interest using the binarization matrix to create a binarized area of interest;

    identifying, by the client device, a set of teeth visible within the mouth in the binarized area of interest;

    identifying, by the client device, a first set of pixels and a second set of pixels within the binarized area of interest and adding at least a portion of the first set of pixels as a set of landmark points within a binary mask of the face, the first set of pixels corresponding to the set of teeth within the mouth; and

    when the set of teeth are visible within the second set of images, modifying, by the client device, a color value for the first set of pixels within the second set of images of the video stream.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×