Sign inSign up

genocs/facecomparison

By genocs

Updated over 4 years ago

Web Api service with Azure blob storage and Cognitive Services for face comparison

Image
0

2.8K

genocs/facecomparison repository overview

face-comparison

Web Api service built with .NET Core 5. It allows to compare two images finding similarity score. The service need both a Azure Blob Storage and Cognitive Services account for face comparison.

The github repo is also available at: Genocs/face-comparison

Azure

The project requires to have an Azure subscription with

  • Storage account
  • Cognitive Services

Setup

Below the variables that need to be set up before running

  "AzureStorageConfig": {
    "AccountName": "{{accountName}}",
    "AccountKey": "{{AccountKey}}",
    "ImageContainer": "{{ImageContainer}}",
    "ThumbnailContainer": "{{ThumbnailContainer}}"
  },
  "AzureCognitiveServicesConfig": {
    "Endpoint": "{{Endpoint}}",
    "SubscriptionKey": "{{SubscriptionKey}}"
  }

The setting reported below describe how setup Docker Compose environment variables

    environment:
      - AzureStorageConfig__AccountName={{accountName}}
      - AzureStorageConfig__AccountKey={{AccountKey}}
      - AzureStorageConfig__ImageContainer={{ImageContainer}}
      - AzureStorageConfig__ThumbnailContainer={{ThumbnailContainer}}      
      - AzureCognitiveServicesConfig__Endpoint={{Endpoint}}
      - AzureCognitiveServicesConfig__SubscriptionKey={{SubscriptionKey}}

Tag summary

Content type

Image

Digest

Size

83.7 MB

Last updated

over 4 years ago

docker pull genocs/facecomparison