background preloader

Vision

Facebook Twitter

Applying Business Rules to Profile Photos Using Microsoft Cognitive Services | Kloud Blog. A customer I am working with at the moment is in the (very) early stages of discussion around the gathering and application of profile photos across their internal systems. In this particular case, we are considering that the photos themselves do not exist. Sure, there are ID card photos of startled staff taken on day one of their employment, but people being people, they would rather not be forever digitally represented by their former selves – particularly not the version of themselves which had an ID photo taken in a poorly lit un-used meeting room 7 years ago before they got that gym membership. There are many technical considerations when embarking on something like this: Where will we store the data? What file formats do we need to support? What is the maximum size and resolution for photos across our systems? The Rules Let’s make up some rules which might be applicable to corporate profile photos.

The API’s And then fill in the relevant details. Other Cool Things Conclusion Like this: Blog.atwork.at | Microsoft Cognitive Services Face API Teil 2. In Teil 1 ging es um das Erstellen einer einfachen App, um Gesichter auf Fotos mit der Face-API zu erkennen. Nun geht es darum, mehr über die Gesichter zu erfahren… Ich habe das Beispiel aus dem Tutorial Get Started with Face API in C# etwas erweitert.

Hier sehen wir das bisherige Ergebnis mit einer Person (mir) und dem erkannten Gesichtsfeld auf dem Foto. Sehen wir uns an, was die Face-API noch alles kann und welche Daten sie uns für eigene Apps liefern kann… Dazu habe ich das Sample (Code siehe hier) mit den Infos von der Face-API - How to Detect Faces in Image erweitert und mit demselben Bild (und weiteren, s.u.) experimentiert. Somit habe ich einfach das verwendete Bild erneut mit FaceAttributes an das Service gesendet: faceServiceClient.DetectAsync(s, returnFaceLandmarks: true, returnFaceAttributes: requiredFaceAttributes) Der Screenshot zeigt die möglichen Attribute (Age, Gender, Smile, FacialHair, HeadPose, Glasses). var json = JsonConvert.SerializeObject(face);

Blog.atwork.at | Microsoft Cognitive Services Face API Teil 2. Cognitive Services et Xamarin.Forms : Reconnaissance optique (OCR) Après vous avoir présenté les Cognitive Services, après vous avoir montré comment les utiliser pour analyse une image (scène, personnes, émotions…) voici un autre exemple moins intelligent mais tout aussi puissant : l’OCR ! Les Cognitive Services Je ne referai pas le résumé de cette présentation et je renverrai le lecteur intéressé – mais qui ne le serait pas ? ! – vers les deux articles suivants : Je vous attends, le temps que vous lisiez… Ca y est ? Vous êtes rapide ! L’OCR est une autre fonction de l’IA spécialisée dans la vision. Tout le code présenté reste donc le même seule la partie fonctionnelle appelant le service est différente.

L’OCR on ne présente plus cela fait des lustres que l’informatique sait reconnaître avec plus ou moins de bonheur le texte présent dans une image. L’intérêt ? Certes il existe déjà des logiciels très pointus pour faire de l’OCR. Un Exemple On reprend le même code et la même logique que pour l’analyse des photos (voir le lien en haut de cet article). Le code. Face API Using ASP.Net MVC - CodeProject. Download FaceAPI_MVC.zip - 8.7 MB Contents To Focused: What is Cognitive Services? What is Face API? Sign Up for Face API Create ASP.Net MVC Sample Application Add AngularJS Install & Configure the Face API Upload images to detect faces Mark faces in the image List detected faces with face information Summary Cognitive Services (Project Oxford) : Microsoft Cognitive Services, formerly known as Project Oxford are a set of machine-learning application programming interfaces (REST APIs), SDKs and services that helps developers to make smarter application by add intelligent features – such as emotion and video detection; facial, speech and vision recognition; and speech and language understanding.

Face API: Microsoft Cognitive Services, there are four main components Get more details from Microsoft blog: Face API has: Sign Up for Face API: UI Helper: ID Verification | Instant Document Verification | Mitek. IDMobile Infographic: How it works. Image Recognition with Microsoft Cognitive Services Computer Vision and Xamarin. Ever since the Microsoft Cognitive Services were available, I always wanted to give those APIs a spin. The power of machine learning at your fingertips, that's pretty awesome! Today I managed to hook up a Xamarin app to the Computer Vision API to do some image recognition. The basic idea of this app is really simple: Let the Computer Vision tell you what you're looking at. Simply take a picture, pass it along the Computer Vision API and display the result in the app. Because this is a simple demo, we'll be using Xamarin.Forms.

So let's see how you're able to use the Computer Vision API inside your Xamarin app. The goal The goal is that you're able to take a picture with this app and let the Computer Vision API tell you what you're looking at. The Statue of Liberty The Mona Lisa, a paiting by Leonardo da Vinci My current profile picture on Twitter A random celebrity, Ryan Gosling Let's see how we can call these from our Xamarin-app and let the Microsoft Cognitive Services do it's work! Les Cognitive Services & les Xamarin.Forms. Microsoft Cognitive Services - Documentation. In this tutorial, you will learn to create and develop a simple Windows application that invokes the Face API to detect faces in an image; essentially by framing the faces.

Table of Contents Preparation To use the tutorial, you will need the following prerequisites: Make sure Visual Studio 2015 is installed. Step 1: Subscribe for Face API and get your subscription key Before using any Face API, you must sign up to subscribe to Face API in the Microsoft Cognitive Services (formerly Project Oxford) portal. See subscriptions. Step 2: Create the application framework In this step you will create a Windows application project to implement the basic UI for picking up and displaying an image.

Open Visual Studio 2015.From the File menu, click New and then Project.In the New Project dialog box, click Visual C# > Windows Desktop > WPF Application. Now your app can browse for a photo and display it in the window similar to the image below: Step 3: Configure the Face API client library Title = "Detecting.