Questions tagged [ios-camera]

285 questions
6
votes
1 answer

How to take several images from Camera ios

I`m making one implementation for take photo from camera and select photo from library. For take photos from library i`m using ELCImagePickerController and setting the images in a scrollview. What i want to do is take several images from Camera and…
Pedro Franco
  • 1,926
  • 1
  • 15
  • 37
6
votes
2 answers

What is the difference between Face Detection and Face Recognition in iOS perspective

May be this sounds like a stupid one, but i really curious to know that, what is the difference between "Face Detection and Face Recognition" in iOS perspective? And in what case or which kind of situation should i use the two of them. I am new in…
Tulon
  • 4,011
  • 6
  • 36
  • 56
5
votes
0 answers

Flutter issue - iOS platform not able to load the video from S3 (PlatformException(VideoError, Failed to load video: Cannot Open, null, null))

I am trying to play a video from S3 storage on Iphone X (14.71 iOS version) but I receive the following error: 2021-10-10 00:43:02.134221+0200 Runner[2045:114048] [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: PlatformException(VideoError,…
5
votes
5 answers

How to add camera permissions into flutter project?

I want to open the camera by clicking a button but cannot add the camera and gallery permissions in the iOS package. I have those keys: NSPhotoLibraryUsageDescription NSCameraUsageDescription NSMicrophoneUsageDescription And I don't know where I…
Abdurrahman Anas
  • 665
  • 2
  • 9
  • 21
5
votes
1 answer

Flutter camera image to swift UIimage

I'm developing a custom flutter plugin where I send flutter image camera to swift and create a UIImage using flutter camera plugin (https://pub.dev/packages/camera). For that, I send the camera image bytes using this…
Ramzi Omri
  • 51
  • 2
5
votes
1 answer

swift AVCapturePhotoOutput capturePhoto hangs preview

Showing preview in 1080 x 1440; getting photo with max resolution (3024 x 4032) and quality on iPhone 8 Plus with code: capturePhotoOutput?.capturePhoto(with: configurePhotoSettings(), delegate: self) with photo settings: private func…
Volodymyr Kulyk
  • 6,455
  • 3
  • 36
  • 63
5
votes
2 answers

how to set fron-facing camera zoom with swift avfoundation

I'm trying to make an app with swift, and I want to use front-facing camera. I used AVFoundation and tried some codes. But I couldn't set front-facing zoom parameter. Is it possible? For back-camera, everything worked successfully. I dont want to…
gkhanacer
  • 575
  • 7
  • 25
5
votes
1 answer

How to take multiple photos in a sequence (1s delay each), using Swift on iOS8.1?

I am trying to take few photos after a single user click on a Camera preview so I can present them and user can pick one that was timed best or use all in a "film strip" mode. The expected user experience is: "I open a camera, take a picture and…
Piotr
  • 1,597
  • 3
  • 18
  • 25
5
votes
1 answer

set AVCaptureTorchModeOn

I want to turn on torch mode AVCaptureTorchModeOn in my app while doing video recording. I m using below code. -(void)set_TorchMode:(BOOL)turnOn { AVCaptureDevice *theDevice = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeVideo]; if…
Nikunj
  • 987
  • 11
  • 25
4
votes
0 answers

How to select the audio source while recording a video with flutter camera plugin

I need to play a playback in my Flutter app while recording a video with audio. To prevent the playback from being heard on the recorded video, I want the user to use headphones. Unfortunately, some headphones microphones are awful, so I want to…
Micha
  • 176
  • 2
  • 7
4
votes
1 answer

getUserMedia return a rotated video on safari iOS

i need to stream a video over webrtc & play it on web page, it works properly on all desktop browser window & mac os. it works on android browsers too. but on safari iOS the video is rotated as landscape. it's rotated on both ( when capturig the…
4
votes
0 answers

How to calibrate camera using react native?

We have requirement of capturing photo from app, but for that external light source is attached near to camera of phone. Using which we have to calibrate camera for getting better image. Is there any code snippet or methodology which can be use to…
4
votes
1 answer

setExposureModeCustom: Duration/ISO values in EXIF data do not match

I'm working on an app that uses various advanced iOS camera controls, e.g. custom exposure settings (duration and ISO). The exposure is locked at custom values using: device.setExposureModeCustom(duration: duration, iso: iso) { …
robert
  • 3,484
  • 3
  • 29
  • 38
4
votes
3 answers

Open Camera Programmatically Through iOS App - Deep Link?

I want to create an IBAction to open the iOS native camera app in my app, but I can't seem to find the address for the camera app online. I know for messages it's: UIApplication.shared.open(URL(string: "sms:")!, options: [:], completionHandler:…
Theo Strauss
  • 1,281
  • 3
  • 19
  • 32
4
votes
1 answer

ios swift square photo viewfinder

I am making a custom camera view controller using AVFoundation frameworks in Swift 4/iOS 11/Xcode 9.1 My code for setUpCaptureSession: (credit to brian voong of letsbuildthatapp.com, I have followed his IG/firebase tutorial and made extensive use of…
kinghenry14
  • 1,187
  • 1
  • 11
  • 34
1
2
3
18 19