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

Android Camera2API Switch between front - back camera

After switching to front camera, It's not switching to back camera. Then, If I capture using frontCamera without switching It's opening the back camera. I'm looking for the exact for past 2 weeks. private val surfaceTextureListener = object :…
Vani
  • 1
  • 1
0
votes
0 answers

CameraX: front camera video recording failed

I try video recording on front camera (selfie). when it comes to implementation, it causes no recording response instead of start recording. When I press change camera button back, video recording does not work. Please help me review the preview…
Jeff Bootsholz
  • 2,971
  • 15
  • 70
  • 141
0
votes
0 answers

How to show front camera like in the whatsapp video call in the corner of the screen?

Hello Developers I want to show front camera at the corner of the screen on my app. In this way Demo I have tried these methods How do I open the "front camera" on the Android platform? Front face camera android. How to launch front camera with…
0
votes
0 answers

How to programmatically check mirror front camera switch on/off Swift iOS

Is it possible to turn off front camera mirror mode programmatically in iOS or how to check front camera switch on/off programmatically?
0
votes
1 answer

Fix orientation of images taken with front camera ios

I'm using custom camera implementation in my app using Swift. When the image is captured, is called func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: Error?). I get the image data with…
Slavcho
  • 2,792
  • 3
  • 30
  • 48
0
votes
1 answer

how to change status bar color on phones with front camera or ear speaker under the status bar area (while using full screen theme)?

im using android:Theme.NoTitleBar.Fullscreen in my styles.xml and everything works fine with most phones. but on some phones with front camera/ear speaker under the screen (like xiaomi redmi note 7) it doesn't get fullscreen(statusbar is still there…
0
votes
1 answer

cordova-plugin-barcodescanner scan options work in phonegap mobile app and stop working after build

I want to use the cordova-plugin-barcodescanner plugin to scan QR code using the front camera. I'm using phonegap and everything is working fine when I test the app using the phonegap mobile app. When I build the the apk file and run the built app…
0
votes
0 answers

Not able to capture images using front camera , While applying setParameters

Actually There two problem I am facing Right now in my application. 1)Getting RuntimeException while Using Front Camera. 2)orientation of capture image using back camera is device dependent, means that in some device I got perfectly fine orientation…
earthling
  • 147
  • 16
0
votes
1 answer

Open front camera using MediaStore.ACTION_IMAGE_CAPTURE

Hello friends I want to use front camera in my app using MediaStore.ACTION_IMAGE_CAPTURE This is the method which I'm using public void CaptureImage(int request){ Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); …
0
votes
1 answer

Unity android front camera

how could i change this code to access front cam, currently it shows me back cam.? I have tried some different things, but doesn't seem to be working. if (isLocalPlayer) { if (this.gameObject.name == "Player 1") { …
MrRockis
  • 19
  • 1
  • 1
  • 6
0
votes
0 answers

image orientation changes when saved in local after capture from front camera

Hello all i am facing a problem regarding orientation of image, when saved on local storage. But the strange thing is that when i capture from the REAR camera and get it from storage path it works fine but when i capture it from FRONT camera and get…
0
votes
1 answer

How to disable the camera switch button in iphone

I am doing one application. In that I am using the camera to take the pictures from rear camera only. So I want to disable the camera switch button(rear to front and front to rear). So please guide me how to do this?
0
votes
2 answers

Accessing front Camera with swift?

I've done some searching and most answers are either in Obj-C or not applicable to this code. I'm using this guide : http://drivecurrent.com/devops/using-swift-and-avfoundation-to-create-a-custom-camera-view-for-an-ios-app/ and I've got this code…
Barkley
  • 6,063
  • 3
  • 18
  • 25
0
votes
1 answer

Not Working - Open native Front Camera through Intent as default in Android

In my app I want to open native front camera as default as it my requirement. I tried putExtras and send it as intent but it is not working as below : Intent intent = new…
Bansi Doshi
  • 229
  • 1
  • 3
  • 12
0
votes
1 answer

how to flip the video taken using front camera android

I have a video that mirror flips when I take it using the front camera. The surface view that is used to capture the video shows the mirror effect when recording but then it is flipped while playing the same. Kindly Help me.
user4204805
  • 123
  • 2
  • 14