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
1
vote
1 answer

Could not take photo with front camera 2

I checkout Camera2Basic (google sample) and I just changed this method in the class Camera2BasicFragment in order to take a photo with front camera : private void setUpCameraOutputs(int width, int height) { Activity activity =…
Imene Noomene
  • 3,035
  • 5
  • 18
  • 34
1
vote
1 answer

Front camera brightness get very low when start recording in custom camera

I'm working in a custom video recorder which contain both front and back camera. When i start recording in back camera no problem, when i start recording in front camera brightness of the camera reduced. i have camera switch button to change front…
Sasi
  • 445
  • 4
  • 19
1
vote
1 answer

Front Camera Mirror Video Android

I captured the video in front camera using MediaRecorder. It was mirrored. For image I used matrix.preScale() method to reverse the image. But for video I can't reverse it. if (!camera.getConfig().isFaceCamera) { //For Back camera …
1
vote
1 answer

Weird issue with Front facing camera pictures

I'm trying to get the software so that when a picture is taken, only the part of the picture within a square that you see in the camera overlay shows up as the picture. The rear camera works fine, but when I try to take pictures with the front…
1
vote
0 answers

Front facing camera not working, throwing IllegalStateException

java.lang.IllegalStateException: Could not execute method of the activity Caused by: java.lang.reflect.InvocationTargetException Caused by: java.lang.RuntimeException: takePicture failed Following is my MainActivity called One: import…
mayur saini
  • 209
  • 7
  • 17
1
vote
0 answers

How to know if android device has front flash

I want to know if device supports front flash. I got the camera list from the camera manager and tried to get the front camera. How do I get the front camera if "Camera" is deprecated and how to know if it supports flash? import…
Zach Bublil
  • 857
  • 10
  • 28
1
vote
1 answer

Trying to use back camera followed by front camera c# mediacapture windows phone 8.1

I am writing a program where I want to take pic from back camera and then front camera using a single button. First it takes pic using back camera with no issue. but I try takin pic using front camera, it gives me exception saying like "No error…
1
vote
0 answers

How to switch front camera to rear camera in window's application

I have worked on image capturing window application in c#. This application/ software capturing image from window tablet and other window devices. In the window tablets have two camera like front and rear camera use switch during capturing image…
surendra Kandira
  • 587
  • 2
  • 5
  • 22
1
vote
1 answer

How to implement the Mirror by libyuv::I420Scale for android front camera?

The following words are from libyuv#rotation Mirror - Horizontal Flip Mirror functions for horizontally flipping an image, which can be useful for 'self view' of a webcam. int I420Mirror(const uint8* src_y, int src_stride_y, const…
Jerikc XIONG
  • 3,517
  • 5
  • 42
  • 71
1
vote
2 answers

record video by front-camera - WP8 - C#

My windows phone app needs to record a video from front-camera and send it to the server through a webservice. Here while I'm trying to record video from front-camera, I'm getting mirror inverted video. Means front-camera records 180 degree rotated…
Keval Langalia
  • 1,762
  • 1
  • 16
  • 29
1
vote
2 answers

How to open Android front camera intent

I want to open the front camera in nexus 7 but I am not to open it is always opening back camera then Manually I am selecting the front cam through my android program how can I open always front camera first I have tried This links but not working…
SHIVA
  • 107
  • 1
  • 11
1
vote
1 answer

Switching between camera not working in android

My Video Recoding app record video and it is working from back camera now i want to use front camera also to record video. So users can switch between camera. User can select by which camera he want to record the video. Initially when my activity…
Ravi Bhandari
  • 4,682
  • 8
  • 40
  • 68
1
vote
1 answer

UIImagePickerController front camera mirror image

I have an app that uses the camera to take picture. I am building something like a selfie with a celebrity. With front camera, user can adjust according to the overlay photo and take the picture. The problem is that the front camera picture gets…
Ashish Musale
  • 839
  • 10
  • 15
1
vote
0 answers

front face camera phonegap in Android

I'm going crazy trying to set up the front camera to use an app that take pictures using the front camera. As I checked in the API documentation it should be something like this: var options = { quality: 50, destinationType:…
1
vote
2 answers

Switching to front camera not working

Here is my whole activity code : import java.io.IOException; import pickld.android.intents.R; import android.app.Activity; import android.hardware.Camera; import android.os.Bundle; import android.view.SurfaceHolder; import…
jofftiquez
  • 7,548
  • 10
  • 67
  • 121