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
0
votes
1 answer

How to add button in Content Page to Capture Image using Custom Renderer- View

I wants to develop a Xamarin.Forms mobile app to capture image using native camera with Overlay. I am new in xamarin.forms. i have found below link- https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/custom-renderer/view but…
0
votes
0 answers

Overlaying FEA on video stream

I got a video stream from a camera. I would like to overlay an FEA like 3D of one object that showing the stresses on the object dynamically changes. Do you guys have any idea how to implement this?
0
votes
1 answer

How to Implement Dependency Service for Camera Overlay in Xamarin.Forms Using the Media Plugin?

I am trying to pass a camera overlay function as a dependency service into my shared code using the Media Plugin for Xamarin https://github.com/jamesmontemagno/MediaPlugin. I can not figure out how to implement the dependency service correctly. The…
zack
  • 85
  • 9
0
votes
1 answer

adding UIlabel to camera overlay view uiimagepickercontroller Xcode objc

I want to add some UILabels on top of my UIImagePickerController's custom OverlayView but can't seem to get it working. Here is my code. -(IBAction)getPhoto:(id)sender{ picker = [[UIImagePickerController alloc] init]; picker.allowsEditing =…
0
votes
0 answers

Unable to add overlay object on tracked face in openCV android

Below is the code to draw rectangle on tracked face. I want to replace this rectangle with a custom overlay like hat image. This code is executed inside onCameraFrame method of openCV and mRgba is the mat object of camera preview. public Mat…
0
votes
2 answers

How can I set the correct camera image size on a preview layer?

This is the view when showing on an iPad Mini. On an iPhone the camera image seems correct, it fills the screen. How can I tell the camera to fill the entire area? My code follows the images. Indeed, the project works ok on smaller devices, only…
Postmaster
  • 110
  • 3
  • 13
0
votes
0 answers

Add Xib file as CameraOverlay to create a Custom Camera UI (XAMARIN.iOS)

I m trying to create a camera Custom UI (somewhat like Instagram camera view ) Can Some one help me with adding .xib (layout for my cameraOverlayView) as cameraOverlayView . inside -> ViewDidLoad() base.ViewDidLoad(); var…
samridhgupta
  • 1,695
  • 1
  • 18
  • 34
0
votes
0 answers

Adding CameraOverlayView to UIImagePicker

I am stuck in creating a CameraOverlayView on the UIImagePicker my Xamarin.iOS application here is my code to launch the cameraView { var imagePickerControl = new UIImagePickerController(); imagePickerControl.SourceType =…
0
votes
2 answers

Capture a UIImage without dismissing the UIImagePickerController?

I have used a custom overlay view over a UIImagePickerController to capture a UIImage. The custom overlay view has one button. On the click of this button I want to capture the UIImage without closing the UIImagePickerController? How do I get a…
Cloy
  • 2,141
  • 23
  • 32
0
votes
1 answer

Swift: how to change default behaviour of buttons "Use Photo", "Cancel", "Shoot", "Retake" of UIImagePickerController

As explained here I would need to modify a little the actions/behaviour of the buttons listed in titled. I would like to avoid to build a new image picker overlay as some posts suggest. I just need to add a call to one of my methods into default…
SagittariusA
  • 5,289
  • 15
  • 73
  • 127
0
votes
0 answers

Get image within the camera overlay

I have a camera overlay(Imageview) on my custom camera currently. I have got everything working. Now just need to get the image within the overlay. How do I go about doing this. Did a lot of research but didn't find an efficient way to do it. P.S.…
0
votes
1 answer

Custom Camera Overlay Not Working on iPad

I am trying to get a custom overlay working. I have a PNG image in my project. The edges have a border, while the center is transparent. In my code, I have: self.imagePickerController = [[UIImagePickerController alloc] init]; …
user717452
  • 33
  • 14
  • 73
  • 149
0
votes
1 answer

How to make a camera overlay take pictures

I am trying to create an overlay for the camera in my app. I have succeeded in displaying a button to the screen, but I do not know what to set for the selector of the button. So I have a class called CameraOverlay and all it does is put a button on…
0
votes
0 answers

Show an image over (on top of) a webcam feed actionscript 3

So I have searched the web for about two days and don't have a clue where to start. I'm pretty new to flash (started 2 days ago). I'm a 3rd year CS student and I'm kind off stuck on this. It'd would be great if anyone could tell me if it was…
Ahsan Saleem
  • 43
  • 1
  • 7
0
votes
0 answers

Buttons on camera overlay not responding to touches

I've searched far and wide across the internet, but to no avail. Basically, I have a viewController that is presenting a UIImagePickerController every time it appears (in viewWillAppear). I'm using a custom camera overlay (xib file) for the…