TravelMonkey
TravelMonkey copied to clipboard
Extracting text from a picture/foto, detecting the language of the text and have SpeechService to pronounce the original text plus translations.
I thought what I wanted in a travel app would be that I could walk around in a foreign country and I could point my smartphone at any kind of writings or signs and have the app do the translation for me.
What I did was basically making a copy of the AddPicture page and extended the existing ComputerVisionService with the functionality of extracting text out of pictures/fotos.
When you hit the translate button you'll be redirected to the TranslateResultPage which I extended with some functionality. Whit the help of Azure's SpeechService you can hear the text in the detected language plus some other selected languages.
This could also be helpful in a restaurant looking at the menu or when you are learning a new language. You will hear how to pronounce the text in the detected language and also of the translations.
I added some more languages just for the fun of it.
I'd still have a lot of ideas on how to extend this app even more. I especially like the idea of adding a real time translator. But also I struggled a lot in the UI/xaml part of it as I am a backend guy. I think I need to invest a bit into some Xamarin training first. Having said that I loved the idea of this challenge with the existing app we could extend. I definitely could check how something worked first before adding something new.
The documentation on Azure's Cognitive Services is excellent and the code examples are very helpful. One thing to add where I struggled was when I tried using the SpeechService SDK in Xamarin and couldn't get it to work. After looking at the TranslationService I figured out I need to do it over the REST API which eventually worked out fine. So I think it's sometimes not clear of when you can use the SDK or when you have to use the REST API.
As I am preparing for the AI-100 Exam this challenge came at the right time! Because what's better than real hands on when you are learning about a new topic?!