how to design frame boundary on camera screen in xamarin forms - xamarin

i need your help now i learning Xamarin Forms.
I have one requirement to do this task of camera functionality.design frame boundary on camera.
i have already using this media.plugin to implemented camera in our project.
please help me.

Related

Xamarin.forms open camera inside popup

Is there any way we can open camera in a custom popup in xamarin.forms? Currently I am using Xam.Plugin.Media which will open camera in an entire screen. what I am trying to mimic is open the camera inside a circular frame to show inside Rg.Plugin.Popup . How can I achieve it? Does it require platform level implementation? Any help is appreciated
First, I find a feature-request - Cropping interface of Xam.Plugin.Media and the author refused it as it should be done in a different app since it is not available out of the box on all platforms.
You can have a try with Take Photo Overlay (iOS Only) function of this plugin to add a layer in iOS camera.
I also find a useful OverlaySample of Xamarin.forms which can add overlayer to camera in Xamarin.forms.
Refer: overlayview-in-xamarin-forms
how-capture-image-using-camera-circle

How to make a live camera with Microsoft.media.ocr with bounding box overlay so that user can touch and have text to speech in UWP?

I have implemented live camera and using Android text recognition and when I touch the bounding box overlay, text to speech works but in Universal windows, app cant get any documentation can anyone help how to implement in live camera OCR?
APIs from Windows.Media.Ocr namespace can extract text and text layout information from images. It’s designed to handle various types of images. For camera, you could capture images from the camera for recognition. You could get VideoFrame from camera and convert to image.
More details about how to implement OCR in UWP app please reference this sample. The scenario 2 provides how to capture image from camera and extract text.
More details about MediaCapture in UWP app please reference this tutorial.
For text to speech feature please try to reference this article and this sample.
If you want more additional features than Windows.Media.Ocr namespace, I recommend you to use Microsoft Cognitive Services. Check the Analyze video in near real-time section for more details.

Xamarin Forms Customized Camera for iOS and Android

I'm pretty new to Xamarin Forms and C# in general, and need som hints on the best way to create an app for iOS and Android. I want to use the Camera to take pictures / videos and later on send them with email or something else, since I want customized controls on the camera, I'm guessing the stock camera won't be an option? Which gets us to Renderers, which is the best approach to this? Preferably in a MVVM way. I just want the camera and a few customized buttons on it.
Do I make on renderer for the different buttons objects and one for the camera, the buttons I'll do as extensions of the Button class, but what about the camera?
/Oliver
You have two options:
Create a page renderer and put your camera/buttons native in each platform.
Create a view renderer for the camera and add your view in any page of Forms, so you can put your buttons or anything you like in forms.

How to customize Overlay Xamarin Labs Mediapicker?

I need to draw graphics and text over the camera stream video.
I'm using Xamarin Labs Mediapicker.
I read on an other post to register my own MediaPicker.cs to implement a custom renderer. How can I do that ?
For the moment, I need it on iOS.
Thancks by advance for your help !

How to replicate code for Facebook image gestures?

I am developing an educational app that is made of multiple images. I am also new at coding and XCode. I wanted to know how to get my images so they respond to the gesture similar to the photos on facebook (swiping, min/max zooming, scrolling all on one image). I have the UIImage in UIScrollview.
Can I add all the gestures in UIScrollView or do I have to add each gesture separately? Because the app is made up of multiple png images do I have to connect each image separately or is there a method to implement one code for the entire program?
I am using Storyboard and have minimal coding.
If this information is already out there I would greatly appreciate some direction. I have tried to use "Basic Zooming Using the Pinch Gestures" from the iOS library with little success.
Check out this tutorial.
http://www.raywenderlich.com/6567/uigesturerecognizer-tutorial-in-ios-5-pinches-pans-and-more
In this they go over exactly what your wanting, zooming in and out images and swiping. Pretty much you use UIGestureRecognizers. :)

Resources