Is it possible to have a custom camera interface?

Hello Everybody,

I am working on a kind of avatar / profile picture creator app.
It’s core concept is: you got a set of assets you can choose and modify to build a face.

One of it’s features is the possibility to use a photo as your background.

Till now i implemented this with media.Camera and media.PhotoLibrary calls.

The Library implementation is fine as it is, but for the camera i wish i wouldnt have to “leave” the app, so that i can preview the camera view directly lying under my assets.

here is a case that might give you a better understanding:
i built a funny face with the standard graphical background and decide now “hey that head would look hilarious on my girlfriends shoulders”. so i hit the camera button, but by leaving the app, i have to guess the position of my built head to make the image i am about to take to fit it.

of course i could simply rearrange the built head to fit the image afterwards, but it would be nice to be able to preview it.

long story short:

is media.show( media.Camera, onComplete ) and the way it works the only possibility to access the camera, or is there a way (like with the secret audio API), to fully customize the camera and it’s way of implementation?

if there isn’t, what i assume, is there any plan to integrate this to corona?

i’m looking forward to your reply and have a nice sunday,
Michael

so i guess the answer is no.

thanks.

No there isn’t.

It would be great if there was, but i don’t know if or when they will be adding it in.

thanks for your reply! its a pitty that there isnt a way, but at least i know now.
still had hope for some hidden api.

Hi Michael,

If I understand your intention, you would like to have the camera view “behind” other display objects, as in, you can put little framing lines, or graphics over the camera view? If so, that’s essentially “augmented reality”. At this point it’s not possible, but it should be possible in Graphics 2.0 (in some capacity, but I’m not sure to what degree), which is progressing and moving closer to beta testing stage. So the short answer is: this isn’t possible now, but it should be before too long. :slight_smile:

Best regards,

Brent

Hey Brent,
yip, that exactly describes what i wanted to do.
Plus: it would be nice to be able to have a custom camera GUI (your own “take a picture”, “switch front/back camera” and so on, buttons)

great to know that it’ll be implemented soon, as i am pretty close to finishing my app this will be a good reason for an after-release update.
thanks for your reply,
Michael

so i guess the answer is no.

thanks.

No there isn’t.

It would be great if there was, but i don’t know if or when they will be adding it in.

thanks for your reply! its a pitty that there isnt a way, but at least i know now.
still had hope for some hidden api.

Hi Michael,

If I understand your intention, you would like to have the camera view “behind” other display objects, as in, you can put little framing lines, or graphics over the camera view? If so, that’s essentially “augmented reality”. At this point it’s not possible, but it should be possible in Graphics 2.0 (in some capacity, but I’m not sure to what degree), which is progressing and moving closer to beta testing stage. So the short answer is: this isn’t possible now, but it should be before too long. :slight_smile:

Best regards,

Brent

Hey Brent,
yip, that exactly describes what i wanted to do.
Plus: it would be nice to be able to have a custom camera GUI (your own “take a picture”, “switch front/back camera” and so on, buttons)

great to know that it’ll be implemented soon, as i am pretty close to finishing my app this will be a good reason for an after-release update.
thanks for your reply,
Michael