Patent ID: 11935214
Assignee: BAIDU USA LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 9:
10. The system of claim 9 wherein the step of adaptively training an inpainting model using, as inputs into the inpainting model independent from being input, if at all, into a loss function, masked patch samples, in which patch samples were selected from the video sequence using at least some of the optical flows to obtain an updated inpainting model comprises:
using optical flows related to a detected object or objects in the video sequence to define one or more sampling areas in the video sequence;
sampling one or more patches in the one or more sampling areas;
for each patch, generating a corresponding masked patch, which represent a masked version of the patch; and
updating the inpainting model using the masked patches as inputs into the inpainting model and the patches as corresponding ground truth references.