Questions tagged [front-camera]

Mostly a camera which is near the display on the front side. Thus allowing to preview the image to be taken.

Wikipedia:

A front-facing camera is a feature of cameras, mobile phones and similar mobile devices that allows taking a self-portrait photograph or video while looking at the display of the device, usually showing a live preview of the image.

A camera on the front of the phone, facing the user. This enables two-way video calls (such as Google Hangouts, Apple FaceTime, or Skype), and is also useful for capturing self-portraits ("selfies").

76 questions
0
votes
0 answers

Front camera not working on different devices

public class camera extends Activity { private static final String LOG_TAG = "photo"; private int cameraId = 1; private Camera camera = null; Button b1, b2; @Override protected void onCreate(Bundle savedInstanceState) { …
abdul
  • 1
  • 1
0
votes
0 answers

Lips Detection Not Working in Matlab

I am unable to detect mouth using vision.CascadeObjectDetector. When I try it to extreme HD image it works fine. But on images/videos captured through Front Mobile Camera (5mp minimum), it gives error - Please assist how can I get it working for…
0
votes
0 answers

iPad Front camera in UIInterfaceOrientationLandscapeLeft return rotated image

I have a problem with the iPad front camera While I'm trying to take a photo the result from - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { UIImage *chosenImage =…
OXXY
  • 1,047
  • 2
  • 18
  • 43
0
votes
1 answer

Cannot connect camera service

I have used all the permissions required, which are:
ANURAG GUPTA
  • 173
  • 1
  • 13
0
votes
3 answers

Android Front Camera does not open

i have tried to implement the concept to capture image via front camera.So, i have followed the step of the below site http://www.vogella.com/tutorials/AndroidCamera/article.html but i have encounter the issue while click the button. Can you some…
Vengat
  • 235
  • 1
  • 5
  • 16
0
votes
4 answers

Android Opening Front Camera by default

I am very new to android and for some reason I have to implement a code that would let open the front camera by default instead of rear camera. My minimum SDK is API 9 and Target SDK is API 21. I have a PicturePlugin.Java file and the code…
Indranil Dutta
  • 159
  • 2
  • 14
0
votes
1 answer

HTML5 how to access front camera on device (iPad or Nexus tablet)

knowing that by using this HTML tag: it's possible to open the primary camera on device, i would ask if it's possible open directly the front camera of Apple or Android tablet device.. thanks
0
votes
2 answers

Mediarecorder start failed - 19

I am getting Mediarecorder start failed - 19 error when running start() for MediaRecorder,This happens only when i'm trying to set the camera to capture from front camera with this code: private Camera openFrontFacingCamera() { int…
Nirel
  • 1,855
  • 1
  • 15
  • 26
0
votes
2 answers

Switching from back camera to front camera for video recording is not working

Back camera is working fine but,when we switch from back to front camera ,it crashes(in case of video recording using MediaRecorder ).... it showing error which i show in log !! Here is my code : private void start_work() { if(recording) { …
Gagan
  • 745
  • 10
  • 31
0
votes
1 answer

Android: Unable to find app on devices with only front cameras

I have an app which uses a camera for one of its functions and the camera is mandatory. But the app does not care whether the device has only a front camera or only back camera or both. I am not able to see the app on devices that have only a…
Sunny
  • 7,444
  • 22
  • 63
  • 104
0
votes
2 answers

SurfaceView is not preview when switch to open front camera

When I try to open front camera using below code it is not previewing the camera on surfaceview in camerapreview class, what is the problem? swicthToFrontCamera.setOnClickListener(new View.OnClickListener() { …
0
votes
1 answer

Face focus using Front camera

I want to develop an app where the face is detected using the front camera. However the image is not taken. The front camera should only detect the face and check whether it is within the correct dimensions. These dimensions will then help me to…
0
votes
2 answers

How to detect front camera and flash availabiliy

Hi I am developing a custom video app. I am able to get the currentCameraId by currentCameraId = Camera.CameraInfo.CAMERA_FACING_BACK; I have two questions to ask: 1) How to detect android devices with only front camera. Because on tablets with…
0
votes
1 answer

Capture video in front camera

Is it possible to capture a video using the front facing camera of an iPhone while there is a view that a user interacts with while the video is secretly recording? I am trying to develop a "proposal app" that will show a series of puzzle with a…
SleepNot
  • 2,982
  • 10
  • 43
  • 72
-2
votes
1 answer

How can I open front camera using xamarin android

I want to open the front camera of my device for face verification in my app with a title "Smile for the camera".How can I do this, currently I am getting the back camera default, how do I change to front camera and also hide the back camera…
Swathy
  • 199
  • 1
  • 5
  • 24