Questions tagged [ios-camera]

285 questions
2
votes
0 answers

iOS callback not triggered after file upload from $cordovaCamera

I'm building a hybrid app in ionic, which runs over cordova. I use the $cordovaCamera plugin to capture images from the phone, either by selecting from the phone's gallery or by using the camera to take a picture. I then send that image using…
BIU
  • 2,340
  • 3
  • 17
  • 23
2
votes
1 answer

Swift - captureOutput frame extracted color is always coming near to black

I am trying to process the video frames and extracting the concentrated color out of it. I was using the AVCaptureStillImageOutput but it was making the shutter sound everytime I take a frame for the processing so I switched to…
dhaval
  • 7,611
  • 3
  • 29
  • 38
2
votes
3 answers

Taking pictures with camera rotates asset.fullScreenImage 90 degrees?

I have a user pick a picture to crop from their Camera Roll. I display all of these pictures as thumbnails for the user to press. I use UIImage(CGImage: asset.fullScreenImage!.CGImage!, scale: scale, orientation: UIImageOrientation.Up) to ensure…
David
  • 7,028
  • 10
  • 48
  • 95
2
votes
0 answers

Does AVFoundation do better color adjustment than CoreImage?

I want to do some extreme, custom color temperature adjustments within an iPhone app and I'm trying to understand: what is the difference between doing it with AVFoundation vs with CoreImage filters? When you shoot photos with RAW, then the RAW file…
algal
  • 27,584
  • 13
  • 78
  • 80
2
votes
1 answer

NSRangeException - cannot remove observer

I am trying to capture images and record video from camera but whenever I dismiss my view with camera I get this error: Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove an observer App.CameraViewController…
Superian007
  • 395
  • 7
  • 25
2
votes
2 answers

iOS camera access through browser. Overlay?

I am developing a simple web page that will be accessed by an iOS user. It will ask them to take an upload an image. Is there any way of controlling an overlay on top of the active camera view? I haven't been able to find any examples of this so I…
Brian Marsh
  • 577
  • 2
  • 6
  • 19
2
votes
1 answer

How to position an AVCaptureVideoPreviewLayer inside a view?

I would like to display the camera preview in a square UIView. This is what I am doing : previewLayer!.connection?.videoOrientation = AVCaptureVideoOrientation.Portrait mySquareView.layer.addSublayer(previewLayer) The result is the camera preview…
Cherif
  • 5,223
  • 8
  • 33
  • 54
2
votes
1 answer

How do you capture full screen camera photos on iOS?

On Snapchat, it allows you to take a full screen camera photo on iOS. The preview is full screen, and the image returned is full screen. There appears to be no cropping/stretching/etc... What you see is what you get. Now I've looked all over the…
itsAllGood
  • 97
  • 1
  • 3
  • 9
2
votes
1 answer

Camera photo mode fullscreen on iOS7

Is there a way to set the camera photo mode fullscreen on an iPod 5gen with iOS7.1? When you are going to take a photo, the photo mode is not in fullscreen, only the video mode is in fullscreen, so, is there a way to change it? (I think the same…
pablomarti
  • 2,087
  • 2
  • 22
  • 35
2
votes
1 answer

How to create smaller mini camera view like in Tumblr iPhone app image picker

I would like to know how Tumblr app is adding a mini camera live view on collection view cell in their app? Is it UIImagePickerController of type camera resized? I would be glad if someone could give more idea on this implementation?
Tharindu Madushanka
  • 3,241
  • 7
  • 31
  • 33
2
votes
1 answer

Difference in setting iOS camera default configuration using setExposurePointOfInterest

I am trying to set my camera exposure settings to default configuration using setExposurePointOfInterest:CGPointMake(0.5, 0.5) Is this different from setExposurePointOfInterest:CGPointMake(0.5f, 0.5f) If I use the CGPoint without float, will it…
thar_bun
  • 820
  • 1
  • 5
  • 20
2
votes
1 answer

UIImagePickerController: ignoring request to take picture; camera is changing modes

This error gets thrown on ios7, I've built a small example Camera app in Titanium here is the code: index.js var overlay = Ti.UI.createView({ width: Ti.UI.FILL, height: Ti.UI.FILL, backgroundColor: 'transparent' }); var takePhotoBtn =…
Stevo Perisic
  • 353
  • 2
  • 12
2
votes
0 answers

IOS monitor photo album change when app is in background

I'm building an app that is supposed to monitor picture taking even if the app is in the background. For example: A user opens the app, insert some settings and then puts the app in the background (locks the device or something). When the user opens…
בועז יערי
  • 445
  • 1
  • 5
  • 14
2
votes
2 answers

How to open camera in small region of view in ios

I have to open camera in my app in small region of screen ,but not getting how to implement it,because camera opens on full screen genreally. The camera should be open in uiimage view region,Plz guide me how to achieve this.Thanks.
Sishu
  • 1,510
  • 1
  • 21
  • 48
2
votes
0 answers

GPUImageCropFilter: How to calculate cropRegion based on a cropRect?

After capturing a fullscreen image, I need to crop the original image based on an crop overlay which essentially is just a CGRect. This is how it looks like I understand that crop filter's region values should be between 0 to 1. This is the piece…
Peymankh
  • 1,976
  • 25
  • 30