blog.atwork.at

news and know-how about microsoft, technology, cloud and more.

Join us at Global Azure Austria 2023

Global Azure is an annual event that brings together developers, IT professionals, and cloud enthusiasts from all around the world. Taking place as a a free, virtual event on Friday 12th May 2023, this year's event promises to be bigger and better than ever, with a wide range of sessions for all skill levels. As in previous years, we are proud to be part of Global Azure Austria.

Join us at the Global Microsoft 365 Developer Bootcamp in Vienna!

We are excited to kick off the Global Microsoft 365 Developer Bootcamp in Vienna, Austria on November 27, 2019!

Interested in the JFK files? Explore them with Microsoft AI!

Microsoft's AI allows to analyze large amount of data, even interpreting and indexing handwritten documents and learning key topics. In the Microsoft AI.Lab, engineers combined Azure Search and Cognitive Services to analyze more than 34,000 pages and scanned evidence photos related to the assassination of US president John F. Kennedy in 1963 that went public. Read more about burning questions and see the results online.

Detect sentiment with Text Analytics

Azure Cognitive Services offer a bunch of services. One is the Sentiment Analysis API that allows to analyze unstructured text for tasks such as sentiment analysis based on Microsoft machine learning algorithms. See the first steps how to use that here.The test works in the same way with Postman as in the previous article.The goal here is to analyze some text to get a positive or negative result of the meaning.So, we just need some Azure logic and a tool to send and get the data. How to detect sentiment with Text Analytics informs about the service we want to consume. Again, we need to create a new Cognitive Service and to get our own access data from the Azure Portal. Once created, we get that data in the service overview and in the keys menu.Then, calling the Computer Vision API is easy: We need a HTTP POST request against the API and modify just the region and the subscription key.https://<region>.api.cognitive.microsoft.com/analytics/v2.0/sentiment?subscription-key=<subscription-key>So, my sample starts with https://westeurope.api.cognitive.microsoft.com/analytics/v2.0/sentiment...In Postman, we just create a new POST request with that URL and some parameters as here:As Headers we add a key "Content-Type" with value "application/json" and the body text that shall be uploaded with that post.As defined, the data we want to submit can be formatted JSON type, as here. First, there's a positive, then there's a negative text, in english language.{         "documents": [             {                 "language": "en",                 "id": "1",                 "text": "We love this trail and make the trip every year. The views are breathtaking and well worth the hike!"             },             {                 "language": "en",                 "id": "2",                 "text": "Poorly marked trails! I thought we were goners. Worst hike ever."             }         ] }See Language and region support for the Text Analytics API for more info.When clicking on the "Send" button, the request should be sent to the API. After some seconds of analyzing, the result will be shown as body, similar as here. Here's the output in JSON format.{     "documents": [         {             "id": "1",             "score": 0.92014169692993164         },         {             "id": "2",             "score": 0.05087512731552124         }     ],     "errors": [] } The return data says, that the first text with id 1 is positive (92%), the second text with id 2 is very negative (5%). A neutral value would be 0.5 (50%). Happy analyzing your text with the Sentiment Analysis API!

First steps with the Microsoft Vision API

Cloud services help to automate simple and complex processes. For analyzing a picture, the Microsoft Cognitive Services offer a bunch of services like the Vision API, (Custom) Computer Vision, Face API, Video Indexer an more. Follow this first sample with Postman to start with the Vision API.

Microsoft Cognitive Services Emotion API Teil 4

Neben der Face-API habe ich kürzlich die Emotion API der Microsoft Cognitive Services ausprobiert. Beide Services basieren auf Machine Learning und interpretieren Gesichter. Während die Face API Basisinformationen über ein Gesicht liefern, versucht die Emotion API den Gesichtsausdruck von erkannten Gesichtern in Zahlen zu fassen. Die Emotion API beurteilt einen Ausdruck in verschiedenen Kategorien und liefert Wahrscheinlichkeiten retour. Das Ganze sieht dann so aus…