Skip to Content
Azure Serverless Computing Cookbook - Second Edition
book

Azure Serverless Computing Cookbook - Second Edition

by Praveen Kumar Sreeram, Jason Marston
November 2018
Intermediate to advanced
424 pages
10h 55m
English
Packt Publishing
Content preview from Azure Serverless Computing Cookbook - Second Edition

There's more...

The default code that the template provides invokes the Computer Vision API by passing the image that we have uploaded to blob storage. The face locator templates invoke the API call by passing the visualFeatures=Faces parameter, which returns information about the following:

  • Age
  • Gender
  • Coordinates of the faces in the picture
You can learn more about the Computer Vision API at https://docs.microsoft.com/en-in/azure/cognitive-services/computer-vision/home.

Use the Environment.GetEnvironmentVariable("KeyName") function to retrieve the information that's stored in the application settings. In this case, the CallVisionAPI method uses the function to retrieve the key, which is essential for making a request to Microsoft Cognitive ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Azure Serverless Computing Cookbook

Azure Serverless Computing Cookbook

Praveen Kumar Sreeram
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo
Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni

Publisher Resources

ISBN: 9781789615265Supplemental Content