Patent ID: 9058605
Filing Date: 2015-06-16
Classification: G06Q,G06T

Abstract:
1. A non-transitory computer-readable medium comprising computer-readable instructions for simulating accessory display on a subject, wherein execution of said computer-readable instructions by one or more processors causes said one or more processors to carry out steps comprising: obtaining at least one subject image of a subject comprising at least one ear region of said subject; obtaining at least one ear accessory image of an ear accessory; generating at least one accessory foreground matte for said at least one ear accessory image; determining at least one accessory scaling factor based on at least one reference marker on said at least one ear accessory image and an inter-pupillary distance of said subject in said subject image; scaling said at least one accessory foreground matte using said at least one accessory scaling factor; generating at least one accessory background matte for said at least one ear accessory image; scaling said at least one accessory background matte using said at least one accessory scaling factor; generating a shadow layer based on said at least one accessory foreground matte image and said at least one ear accessory image; generating a subject background layer based on said subject image; generating an ear layer based on said subject image; and rendering a simulated image of said subject wearing said ear accessory by layering in sequence said subject background layer, a background portion of said at least one ear accessory image based on said scaled accessory background matte, said ear layer, a foreground portion of said at least one ear accessory image based on said scaled accessory foreground matte, and said shadow layer.