project oxford - introduction to advanced manchine learning api

35

Upload: lee-stott

Post on 16-Apr-2017

416 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Project Oxford - Introduction to advanced Manchine Learning API
Page 2: Project Oxford - Introduction to advanced Manchine Learning API
Page 3: Project Oxford - Introduction to advanced Manchine Learning API
Page 4: Project Oxford - Introduction to advanced Manchine Learning API
Page 5: Project Oxford - Introduction to advanced Manchine Learning API
Page 6: Project Oxford - Introduction to advanced Manchine Learning API
Page 7: Project Oxford - Introduction to advanced Manchine Learning API
Page 8: Project Oxford - Introduction to advanced Manchine Learning API
Page 9: Project Oxford - Introduction to advanced Manchine Learning API
Page 10: Project Oxford - Introduction to advanced Manchine Learning API
Page 11: Project Oxford - Introduction to advanced Manchine Learning API
Page 12: Project Oxford - Introduction to advanced Manchine Learning API
Page 13: Project Oxford - Introduction to advanced Manchine Learning API

JSON:{"language": "en","orientation": "Up","regions": [{"boundingBox": "41,77,918,440","lines": [{"boundingBox": "41,77,723,89","words": [{"boundingBox": "41,102,225,64","text": "LIFE"},{"boundingBox": "356,89,94,62","text": "IS"},{"boundingBox": "539,77,225,64","text": "LIKE"}

. . .

TEXT:LIFE IS LIKERIDING A BICYCLETO KEEP YOUR BALANCEYOU MUST KEEP MOVING

Page 14: Project Oxford - Introduction to advanced Manchine Learning API
Page 15: Project Oxford - Introduction to advanced Manchine Learning API
Page 16: Project Oxford - Introduction to advanced Manchine Learning API
Page 17: Project Oxford - Introduction to advanced Manchine Learning API

Detection Result:JSON:[

{"faceRectangle": {"width": 109,"height": 109,"left": 62,"top": 62

},"attributes": {

"age": 31,"gender": "male","headPose": {

"roll": "2.9","yaw": "-1.3","pitch": "0.0"

}"faceLandmarks": {"pupilLeft": {

"x": "93.6","y": "88.2"

},"pupilRight": {

"x": "138.4","y": "91.7"

},...

Page 18: Project Oxford - Introduction to advanced Manchine Learning API

Verification Result:JSON:[

{"isIdentical":false,"confidence":0.01

}]

Page 19: Project Oxford - Introduction to advanced Manchine Learning API
Page 20: Project Oxford - Introduction to advanced Manchine Learning API
Page 21: Project Oxford - Introduction to advanced Manchine Learning API
Page 22: Project Oxford - Introduction to advanced Manchine Learning API
Page 23: Project Oxford - Introduction to advanced Manchine Learning API
Page 24: Project Oxford - Introduction to advanced Manchine Learning API
Page 25: Project Oxford - Introduction to advanced Manchine Learning API
Page 26: Project Oxford - Introduction to advanced Manchine Learning API

<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xml:lang="en-US"><voice name="Microsoft Server Speech Text to Speech Voice (en-US, ZiraRUS)">

Synthesize audio from text, to speak to your users.

</voice></speak>

Page 27: Project Oxford - Introduction to advanced Manchine Learning API
Page 28: Project Oxford - Introduction to advanced Manchine Learning API

{“entities”: [

{“entity”: “flight_delays”,“type”: “Topic”

}],“intents”: [

{“intent”: “FindNews”,“score”: 0.99853384

},{

“intent”: “None”,“score”: 0.07289317

},{

“intent”: “ReadNews”,“score”: 0.0167122427

},{

“intent”: “ShareNews”,“score”: 1.0919299E-06

}]

}

Page 29: Project Oxford - Introduction to advanced Manchine Learning API
Page 30: Project Oxford - Introduction to advanced Manchine Learning API

https://www.projectoxford.ai

Page 31: Project Oxford - Introduction to advanced Manchine Learning API
Page 32: Project Oxford - Introduction to advanced Manchine Learning API

Forum

Find Us visit www.msdn.com filter “Project Oxford” under “Microsoft Azure”

“Community” link in http://www.projectoxford.ai/

Sample Code SDK

http://www.projectoxford.ai/sdk

RESTful API C#, Java, Node's, PHP, Python, Ruby, Android…

Complete Solution

Page 33: Project Oxford - Introduction to advanced Manchine Learning API

Magic of How-Old.net1. Apply Subscription of “Face API” and get your subscription Key

2. Design your app

3. Use detection of “Face API” static async void MakeRequest()

{

var client = new HttpClient();

var queryString = HttpUtility.ParseQueryString(string.Empty);

// Specify values for optional parameters, as needed

// queryString["analyzesFaceLandmarks"] = "false";

// queryString["analyzesAge"] = "false";

// queryString["analyzesGender"] = "false";

// queryString["analyzesHeadPose"] = "false";

// Specify your subscription key

queryString["subscription-key"] = "";

// Specify values for path parameters (shown as {...})

var uri = "https://api.projectoxford.ai/face/v0/detections?" + queryString;

HttpResponseMessage response;

// Specify request body

byte[] byteData = Encoding.UTF8.GetBytes("");

using (var content = new ByteArrayContent(byteData))

{

response = await client.PostAsync(uri, content);

}

if (response.Content != null)

{

var responseString = await response.Content.ReadAsStringAsync();

Console.WriteLine(responseString);

}

}

Page 34: Project Oxford - Introduction to advanced Manchine Learning API

Magic of TwinsOrNot.netVerification Result:JSON: [{"isIdentical":false,"confidence":0.01 }]

Page 35: Project Oxford - Introduction to advanced Manchine Learning API