I am trying to build an application similar to apps such as Mathpix or Photomath which has a live camera feed and a resize-able box in the middle to tell the camera exactly where to scan. I am wondering how I can replicate this behavior in Xamarin.Forms.
Resizeable Camera Image
Click the link to view the image of the screen I am attempting to replicate. When a user taps on the screen the cropped image is highlighted and then that input is processed. All I need to do is create a replica UI without the backend processing.
Thanks for the help!
Related
So as you can see in the above image I have an requirement to embed camera in Xamarin form based android application (Not native android) and show the saved path in label (Storage location).
Right now I am able to do is on button click but its opening the camera and from there when i take image its navigating back to the app but my requirement is that camera should open within the app it self instead of navigation.
I have gone through with Xamarin.Forms Custom Renderers but so far not found any working code.
It will be great if anybody can provide me the same ..looking forward...
I'm coding an application with xamarin forms and I've a problem.
The goal is to have an image (from an api), detect the touch event when the user touches the screen on this image and then, draw something like an icon on the image with the coordinates catched by the touch event.
I didn't find any component that allow me to do that. Has someone an idea?
Thanks
Maybe this can help:
https://forums.xamarin.com/discussion/comment/190529#Comment_190529
https://www.nuget.org/packages/Xamarin.Controls.SignaturePad/
https://github.com/15mgm15/Xamarin-Forms-Signature
You can set an Image for the background and use the signature pad to draw in front of it.
I know it is possible to update a live tile in Windows 8 with image and text. But, I wanted to update the tile with a video.
Is it possible? If a video cannot be sent directly, can we break the video into many images and then update?
You cannot add video to the live tiles neither the gif images (you can add gif's but they won't work as intended). Adding video is not allowed since it'll consume lot's of system recourses in the background task. The purpose of live tile's are to show information not content itself so that user can just glance on it and take action if needed.
I'm adding a video chat component to an existing application that will have picture in picture functionality. My questions is, due to the "airspace" problem, how can picture in picture be accomplished?
I have two activeX controls, one for the remote video feed, and one for the local video feed. They are both wrapped in their own border and I would like to show the local video and its border in the corner of the larger remote video feed. The local video renders on top of the remote video just fine (although I'm kind of confused by this because I thought that you couldn't have anything on top of an activeX controller due to airspace) but the border that contains the local video gets rendered behind everything so that you cannot see it. I've tried setting the ZIndex of the border, however, this doesn't work.
I'm just wondering how I can accomplish a form of PiP that is similar to what's used in Skype or Microsoft Lync.
EDIT: Would it be possible to simply use a popup window for the PiP? You could create the illusion that it isn't a popup pretty easily. A popup could render on top of the activeX control right?
upgrade to .net 4.5. Supposedly they solved the "airspace" problem (airspace is solved link). But, given that you are posting here I'm guessing you can't use .net 4.5?
I am using DirectShow.Net in C#. I made a player that will stream video from a usb device to a video screen and to an avi file at the same time.
I want to have a button so the video will preview on the screen but not capture until a button is pressed. currently to do this, i have to redo the graph and add in the capture filter renderstream.
is it possible to create 2 different graphs off of 1 input? so I would have my usb camera that is displaying to a video window and then when i press a button i can create a second graph that will save the video from the camera to a file while its still playing on screen?
As mentioned by #Geraint, you can use GMFBridge with DirectShow.Net. DirectShow.Net website states:
Samples\Misc\GMFPreview
----------------------- A sample showing how to use Geraint's
indispensible GMFBridge tool to allow
part of a graph to be stopped while
another part keeps running. This is
useful to allow preview windows to
keep running while you start/stop
capturing to disk.