Is there a way to crop/mask a UserMedia object?

Get help using Construct 2

Post » Wed Jul 30, 2014 9:49 am

Either to crop it, or to 'mask' the rest of the image that you don't need, like you would in Photoshop/Illustrator/Flash?

The broad context is a little mugshot generator thing for a client. A bit like the BBC America "Copper" mugshot thing from a few years ago. They used facial recognition tech in theirs to pick out the eyes, nose and mouth (results from their app were fantastic, check it out here: http://www.pinterest.com/svarland/copper-mugshots/) but that is a bit advanced for the purpose of this app :)

I'd just like to be able to crop out a section of the face in order to better blend it in with the background - an image of a "criminal" posing with their name board.

Prototype here (rough as hell :lol: ; example expanded on from C2 example project): http://www.angelserver.in/html5/webcam_test3

I currently just paste another copy of the background image with a hole in the face onto the UserMedia object, and another layer beneath it with the background, but I think I can achieve a better result with cropping or masking if that sort of functionality exists. I'd like to use a mask a bit like this:

Image

Possible? :D
B
7
S
1
Posts: 61
Reputation: 588

Post » Wed Jul 30, 2014 4:41 pm

Just a lil' bump^ as it started to get buried in page 2 :) thanks guys.
B
7
S
1
Posts: 61
Reputation: 588


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 47 guests