Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of Xamarin.Forms App to get handwritten text from an image using Microsoft Cognitive Services - http://julianocustodio.com/HandwritingText
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:DemoHandwritingText"
x:Class="DemoHandwritingText.MainPage">
<ScrollView>
<StackLayout>
<StackLayout Orientation="Horizontal"
HorizontalOptions="Center"
VerticalOptions="Center">
<Image x:Name="MinhaImagem" Aspect="AspectFill" HeightRequest="200"
WidthRequest="400" HorizontalOptions="CenterAndExpand" />
</StackLayout>
<Button Clicked="TakePicture" Text="Foto"></Button>
<Label x:Name="Resultado" FontAttributes="Bold" FontSize="20"
HorizontalOptions="CenterAndExpand"/>
</StackLayout>
</ScrollView>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.