Questions tagged [camera-overlay]

Camera-overlay represents the iOS property cameraOverlayView, which is a custom view to display on top of the default image picker interface. The camera-overlay is defined via the cameraOverlayView property of the UIImagePickerController.

The cameraOverlayView property is defined in the UIKit Framework Reference: https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIImagePickerController_Class/index.html#//apple_ref/occ/instp/UIImagePickerController/cameraOverlayView

84 questions
21
votes
1 answer

Camera Overlay with User-Photo not saving as edited

I am using a transparent image with a cut out for a user to insert / take their own image. For some reason, while using the UIImagePickerControllerEditedImage and cropping the user-taken photo, the image does not save as it was edited; see photo for…
WrightsCS
  • 50,551
  • 22
  • 134
  • 186
19
votes
2 answers

UIImagePicker cameraOverlayView appears on Retake screen

I am struggling with a problem. I am capturing a video, and i had put an UIImageView with an UIImage in it as the UIImagePicker CameraOverLay. So when the user starts the camera in order to capture a video, he can see an overlay on the camera. When…
Raz
  • 2,633
  • 1
  • 24
  • 44
11
votes
3 answers

Using cameraOverlayView with UIImagePickerController

I have an app that uses the UIImagePickerController to take a picture. The problem is that I only want the camera option to be available and I understand that I need to hide the standard controls: cameraUI.showsCameraControls=NO; and use a…
RGriffiths
  • 5,722
  • 18
  • 72
  • 120
9
votes
1 answer

ffmpeg screen recording with camera overlay on OSX

I would like to use ffmpeg to record my desktop as well as my camera as an overlay on top of the desktop. So basically I will have two input sources that need to be recorded $ ffmpeg -f avfoundation -list_devices true -i '' [AVFoundation input…
lockdoc
  • 1,539
  • 1
  • 18
  • 31
8
votes
1 answer

How to change camera Overlayview orientation landscape left and right iPhone?

In my iPhone application i have a UIImagePickerController for take photos. I have hide all default camera controls and added UIView with Two button as a CameraOverLayView in UIImagePickerController. My application is always run in Landscape mode…
Yuvaraj.M
  • 9,741
  • 16
  • 71
  • 100
8
votes
0 answers

iOS camera freezes when previewing video when there is a camera overlay

I am attempting to overlay a view over a video capture session in UIImagePicker. The overlay works fine but when the app gets to the screen where the user can "retake", "play" or "use video", the app crashes and gives the error: 2017-04-16…
lawndogg
  • 127
  • 1
  • 14
8
votes
1 answer

cameraOverlayView prevents editing with allowsEditing

Editing a photo after it's been taken (moving and scaling it) works fine in my app with this line: [imagePicker setAllowsEditing:YES]; But if I also use a cameraOverlayView, the editing mode doesn't work anymore. The screen comes up, but pan and…
6
votes
1 answer

iOS - Positioning a custom overlay on camera (vertical alignment). Size of top black bar

I'm searching a programmatic solution to following problem: I want to draw a custom overlay on camera (iOS). And I want it to be vertically central on the camera output view. I've accomplished to draw my custom view centrically relatively to the…
boweidmann
  • 3,312
  • 2
  • 20
  • 27
5
votes
1 answer

UIImagePickerController camera view: height of the black bottom bar?

I see that by default, when displaying a UIImagePickerController with type camera, a black bar at the bottom of screen appears at the bottom. I'd like to show a custom cameraOverlayView exactly on top and matching the dimensions of such black…
AppsDev
  • 12,319
  • 23
  • 93
  • 186
5
votes
1 answer

AVCaptureSession VS UIImagePickerController camera preview

I'm developing an application similar to Instagram iOS app. Instagram have a custom camera preview. I want to develop something similar and the question is - what to use better for this purpose - UIImagePickerController with custom cameraOverlayView…
4
votes
1 answer

React Native - Overlay in Camera

I'm developing an app in react native and I will take some pictures. I need to have a grid over my camera, and when the user take the picture, my app will save the image and the grid together. Does anyone know how I solve this problem? Thanks This…
Gabriel Arantes
  • 102
  • 2
  • 8
4
votes
0 answers

Draw 3D grid on camera overlay in ios

I'm developing a Augmented reality app where I need to add a 3D grid on camera overlay. My attempt so far: DrawLayer.h #import @interface DrawLayer : UIView @property (nonatomic, assign) int numberOfColumns; @property (nonatomic,…
Poles
  • 3,585
  • 9
  • 43
  • 91
4
votes
0 answers

UIImagePickerController with cameraOverlayView on iPad iOS 6 has no "Take Photo" button

The following code creates a popover controller with a UIImagePickerController that uses cameraOverlayView to show a custom button that opens photo library. This works great on iOS 5, but on iOS 6 the "Take Photo" button is missing, instead -…
Kof
  • 23,893
  • 9
  • 56
  • 81
4
votes
0 answers

how to create overlay view for camera and access its methods in iphone sdk?

hi i have searched lot of for custom camera overlay view. i have find almost many sample projects but i can't still get perfect answer as i want to get. My question is i want to implement custom camera like instagram or picyou or other social…
Hrushikesh Betai
  • 2,227
  • 5
  • 33
  • 63
4
votes
1 answer

UIImagePickerController overlayView and showsCameraControls issue

I'm trying to use a custom overlay on the UIImagePickerController and also be able to move and scale the resulting image. The problem is when I set showsCameraControls=YES, the overlay won't show but I can use the the move and scale functionality. …
NickDK
  • 999
  • 10
  • 24
1
2 3 4 5 6