-
公开(公告)号:US20240378844A1
公开(公告)日:2024-11-14
申请号:US18195401
申请日:2023-05-10
Applicant: Google LLC
Inventor: Lucy YU , Andrew LIU , Orly LIBA
Abstract: A media application derives a bystander mask from an image by analyzing the image with a bystander segmentation model, wherein the image depicts a bystander and the bystander mask identifies a plurality of first pixels in the image that are associated with the bystander. The media derives a shadow mask for the bystander by analyzing the image with a shadow segmentation model, wherein the image and the bystander mask are provided as input to the shadow segmentation model, and wherein the shadow mask identifies a plurality of second pixels in the image that are associated with a shadow of the bystander. The media application modifies the image to update pixel values of the plurality of first pixels and the plurality of second pixels such that the bystander and the shadow are erased from the image.
-
公开(公告)号:US20240394852A1
公开(公告)日:2024-11-28
申请号:US18691569
申请日:2022-08-01
Applicant: Google LLC
Inventor: Orly LIBA , Lucy YU , Yael Pritch KNAAN
Abstract: Implementations described herein relate to methods, computing devices, and non-transitory computer-readable media to generate an output image. In some implementations, a method includes estimating depth for an image to obtain a depth. The method further includes generating a focal table for the image that includes parameters that indicate a focal range and at least one of a front slope or a back slope. The method further includes determining if one or more faces are detected in the image. The method further includes, if one or more faces are detected in the image, identifying a respective face bounding box for each face and adjusting the focal table to include the face bounding boxes. The method further includes, if no faces are detected in the image, scaling the focal table. The method further includes, applying blur to the image using the focal table and the depth map to generate an output image.
-