Guys i am trying to create an application to capture an image inside a frame of png and merge it just like the following application  any idea ? pls help me
I want  to draw image frame for camera view and overlapping the image frame on captured image and merge it

PLEASE HELP ME !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!