Skip to content

AI Bootcamp Istanbul 2018'de yapılan demoların kaynak kodları.

License

Notifications You must be signed in to change notification settings

Teknolot/ai-bootcamp-2018-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo app used during AI Bootcamp Istanbul "Rapid AI in Mobile Experiences" session.

POC Azure Functions code running Cognitive Services Face APIs to train and match faces to individuals.

API Schema

Endpoint : api/AddFace
Method : POST

Adding a new person with a face image.

Sample Request

{   
  "imageUrl":"https://i1.rgstatic.net/ii/profile.image/644263821971457-1530615873370_Q512/Cihan_Yakar.jpg",   
  "personName":"Daron"   
}   

Sample Response

{
    "faceId": "6d3e9486-ac88-42ac-9ec8-714b37dab654",
    "personId": "2c9e53a3-bbe3-43a0-9c28-0ec349e0ea62"
}

Adding additional faces to a person identified by its personId.

Sample Request

{   
  "imageUrl":"https://i1.rgstatic.net/ii/profile.image/644263821971457-1530615873370_Q512/Cihan_Yakar.jpg",   
  "personId":"2c9e53a3-bbe3-43a0-9c28-0ec349e0ea62"   
}   

Sample Response

{
    "faceId": "6d3e9486-ac88-42ac-9ec8-714b37dab654",
    "personId": "2c9e53a3-bbe3-43a0-9c28-0ec349e0ea62"
}

Endpoint : api/ValidateFace
Method : POST

Finding who a particular image belongs to if any.

Sample Request

{
    "imageUrl":"https://avatars2.githubusercontent.com/u/11349626?v=4"
} 

Sample Response

{
    "name": "Yigit",
    "personId": "1c316eff-61f1-4c7f-be9d-8d8c9dba53dd"
}

Endpoint : api/UploadFile
Method : POST

Uploads files to a storage account and returns its URL to be used in our APIs.

Multipart file upload is expected as part of the form post data in the request.

Sample Response

["https://facevalidationfunctions.blob.core.windows.net/tempphotos/teknolot.png"]

About

AI Bootcamp Istanbul 2018'de yapılan demoların kaynak kodları.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages