CPC G06T 7/11 (2017.01) [G06T 7/136 (2017.01); G06T 7/62 (2017.01); G06T 7/66 (2017.01); G06T 7/73 (2017.01); G06T 7/90 (2017.01); G06V 10/255 (2022.01); G06V 10/28 (2022.01); G06V 40/162 (2022.01); G06V 40/19 (2022.01); G06V 40/193 (2022.01); G06V 40/197 (2022.01); G06T 2207/10024 (2013.01); G06T 2207/30041 (2013.01)] | 20 Claims |
1. A method for segmenting a video stream, comprising:
receiving, at a first client device, a first portion of the video stream from an imaging device;
generating a binary mask indicative of pixels representing an object of interest within one or more images of the first portion of the video stream, the binary mask comprising a set of first pixels having a first value;
determining an approximate center of mass of the set of first pixels;
receiving, at the first client device, one or more images of a second portion of the video stream;
receiving, at the first client device, at least one of the binary mask or tracking data representative of a location of the object of interest within the one or more images of the first portion of the video stream;
modifying, using the at least one of the binary mask or tracking data, one or more values for pixels of the binary mask representing the object of interest within the second portion of the video stream to generate a modified video stream;
identifying the location of the object of interest relative to the imaging device and a display device; and
determining a direction of the object of interest in the modified video stream by calculating a line of sight extending from the center of mass of the set of first pixels to the display device.
|