Suggestions for activating front facing camera within Safari on iPad - ios

I'm trying to create a kiosk-style customer registration process with an iPad, but doing it an an entirely web-based environment, rather than a purpose-built app.
During the registration process, the user is required to take a photo of their own face using the iPad camera.
I have been experimenting with the HTML5 Media Capture tools, but unfortunately, this always defaults to the iPad's back camera, rather than the front-facing camera. This means the user must then switch to the front facing camera, which isn't ideal as part of the user experience.
I can't see any way of forcing the iPad to default to the front camera in the device settings, and my searches haven't revealed any way of doing this with HTML only.
I've had a look at apps such as "Picup", but they don't seem to offer much more than is already achievable with HTML5 with regard to camera control.
Can anyone offer any suggestions? Does anyone know of any other iOS apps (like Picup) that might give the ability to activate the camera for uploading images in a form, but can be configured to use the front facing camera as default?
Or am I going to have to go down the path of creating a purpose-built app to get the control I need?
Any suggestions would be welcomed, and thanks in advance for your reply.

The Media API currently doesn't allow you to distinguish between front and rear cameras, so there is currently no method (that I know of) that allows you to select the front camera.
However I would suggest perhaps building your app the way you are, but using PhoneGap Build (which can package your app into an iOS app) and the Camera Plugin (http://docs.phonegap.com/en/2.6.0/cordova_camera_camera.md.html) which does allow you to specify the front camera (see options->cameraDirection) apparently (I haven't tried it myself).

Related

xamarin forms livecast-like page-inline camera

I was wondering if anyone here knows how to add a camera area like this one(similar to snapchat I guess) in Xamarin Forms (preferably,mainly with XAML)Camera area is suppose to have a livecast & it is going to be on iOS
needed this screen:
I tried Xam.Plugins.Media but couldn't manage to create the needed screen
The media plugin, goes into the platform specific Camera Screen, takes a picture then returns. You can't put extra buttons on the screen in this way.
To get a video feed and manage the capture yourself, you will need to implement a lot of platform specific things.
Android
https://developer.xamarin.com/recipes/android/media/video/record_video/
iOS (Look at the AV samples)
https://developer.xamarin.com/samples/ios/Media/

iPhone's Tone Color Change from an App

Recently, I have installed Twilight on my Android phone. Apparently is adds a color tone effect on the screen. Here are two screen shots taken from PlayStore.
Now my question is that is there a way to develop similar system display tone color set up application in iOS?
It is not possible as Apple restrict the developers to edit home screen. There are very limited features that we can access like Calendar, Gallery, etc. The above screenshot your are showing is related to Widget but there are no Widget concept in iOS.
Yes, it is certainly possible and I use an app that does this.
Have a look at https://github.com/anthonya1999/GoodNight, It's even open sourced.
However an app like this will most likely be denied from the App Store, but never the less it is possible.
Night Shift is supposed to bring something like this in iOS 9.3, though not to that extent.
I don't know of any public API that would allow an application to change that kind of parameter system-wise, though. Maybe in the Accessibility framework, but that would restrict it to app-wise, not system-wise.

Phonegap barcodescanner plugin: use font camera option

I've managed to make my app use the front camera via this website.
By changing the code I can decide which camera the app will use.
I want my users to make that decision though, so I'm looking for a way to implement this... For example by putting a checkbox on index.html or by putting a button on the scanning-screen which swaps the camera.
Does anyone have any idea how to do this?
I would be very thankful...

Augmented reality API for IPAD specifically

i'm looking for an AR API (possibly free) or SDK that may be used on IPAD.
I've tried Wikitude so far, but it's not adapted for IPAD for the moment, and most of the well known API seems to be only made for iPhone..
Any clue on this one?
Any chance that this API offer the possibility to add the AR view as a subview (for example as an element of a tab bar..:))
Thanks a lot
Why are you going for 3rd party library? You can apply AR using local library. On your ViewController make 2 UIView. The one in the back implement Camera View on it. And the one on the front implement whatever you want to show on the live preview of camera. Then if you want to capture the screen just simply take a screenshot and it'll be saved.

blackberry camera Application

I am implementing camera application using then example comes with blackberry plugin for eclipse named "CameraDemo" the problem is that when the screen loses focus It does not display the camera view istead of it shows like this
has anybody faced such problem whats the solution?
This way of taking picture (using the Player and VideoControl.getSnapshot()) does not work nice on all BB models. I'd even say it works nice only on a narrow set of BB models. So if you are going to use your app on a wide range of BB models, then this is not the right way to go.
Instead to take a picture use a built-in Camera app. Here is a starting point on how to do that.
Basically you invoke the built-in Camera app and listen for the file-system changes to detect a new image file path. Then you need to close the built-in Camera app somehow - it's possible to do that by simulating two 'Esc' button presses.
Yes, this sounds a bit hacky/over-complicated, but that's how BB engeneers arranged that for us. :) BTW, this is actually not so bad if compare with Android where different device manufactorers violate the common rules and implement the Camera app in their specific way so you are not able to write the code once covering all Androids.

Resources