Hi all, I’ve had an an usual request from a client… I know the technology involved, but I’m not really sure if what I’m hoping to achieve is possible.
I’ve been asked to capture a photo (easy enough)… The app is for capturing a portrait (face), where the user must line their head up with an ‘augmented’ mask, ie; the camera view has a layer on it with a hole where your face goes (I hope you get that, it’s tricky to explain), a bit like one of those fairground stands, where you put your head in.
So first of all, is it possible to overlay images on the camera view?
This is the tough part… When your face is aligned, you execute a screen capture (again, simple enough), BUT, they are asking me to convert the masked area to alpha, so the output image is just the ‘head / face’ and the ‘augmented part’ is trimmed, with the file being saved, presumably, as a transparent PNG.
So, the app doesn’t do much, but what it does do seems quite complex… I thought Bitmap Masking might help, but I really don’t know where to start. If someone can point me to a relevant tutorial (or something like that), I would be eternally grateful.
Thanks
Mark