{"id":38974,"date":"2024-08-19T16:59:01","date_gmt":"2024-08-19T11:29:01","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=38974"},"modified":"2024-08-19T16:59:01","modified_gmt":"2024-08-19T11:29:01","slug":"enhancing-face-matching-accuracy-with-azure-face-api-in-power-automate-flow","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2024\/08\/enhancing-face-matching-accuracy-with-azure-face-api-in-power-automate-flow\/","title":{"rendered":"Enhancing Face Matching Accuracy with Azure Face API in Power Automate Flow"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignnone wp-image-38975 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-in-power-automate-flow.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"2800\" height=\"1600\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-in-power-automate-flow.png 2800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-in-power-automate-flow-300x171.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-in-power-automate-flow-1024x585.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-in-power-automate-flow-768x439.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-in-power-automate-flow-1536x878.png 1536w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-in-power-automate-flow-2048x1170.png 2048w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-in-power-automate-flow-660x377.png 660w\" sizes=\"(max-width: 2800px) 100vw, 2800px\" \/><\/p>\n<p style=\"text-align: justify;\">In today&#8217;s digital age, integrating advanced facial recognition capabilities into applications has become increasingly important for various purposes such as security, identification, and user authentication. Azure Face API provides a robust suite of services enabling developers to incorporate functionalities like face detection, face verification, and emotion recognition into their applications.<\/p>\n<p style=\"text-align: justify;\">Recently, we faced a requirement to compare two uploaded images and determine the similarity percentage, along with verifying if the faces in the photos belong to the same person. The primary goal was to ensure accurate detection and identification of faces in the uploaded images, yielding precise comparison results.<\/p>\n<p style=\"text-align: justify;\">In this blog post, we will explore how to leverage the Azure Face API service within Power Automate flow and Canvas App to achieve this requirement. The following steps will guide you through the process of creating an automated flow that validates inputs, detects faces, retrieves face IDs, verifies faces, and ultimately provides a comparison result.<\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 1: Create an Automated Flow<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Create an Automated flow with the trigger Power Apps(V2). Add two inputs to receive the uploaded images as shown below.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38976 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-1.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"613\" height=\"256\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-1.png 613w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-1-300x125.png 300w\" sizes=\"(max-width: 613px) 100vw, 613px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 2: Initialize Two Object Variables<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Add the \u2018Initialize variable\u2019 action in Power Automate to store the content of the first and second images for further use.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38977 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-2.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"625\" height=\"501\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-2.png 625w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-2-300x240.png 300w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 3: Initialize Two String Variables<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Add the \u2018Initialize variable\u2019 action in Power Automate to store the face IDs for the first and second faces for further use.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38978 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-3.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"634\" height=\"664\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-3.png 634w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-3-286x300.png 286w\" sizes=\"(max-width: 634px) 100vw, 634px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 4: Validate the inputs<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">In Power Automate, add the \u2018Condition\u2019 action to check the inputs received from Power Apps (V2). This action helps ensure that the images uploaded through the Canvas App are properly validated. Within the \u2018Condition\u2019 action, set the values of the \u2018FirstFileContent\u2019 and \u2018SecondFileContent\u2019 variables based on the received inputs.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38979 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-4.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"1347\" height=\"750\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-4.png 1347w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-4-300x167.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-4-1024x570.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-4-768x428.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-4-660x367.png 660w\" sizes=\"(max-width: 1347px) 100vw, 1347px\" \/><\/p>\n<p style=\"text-align: justify;\">Expressions from the above image:<\/p>\n<ul style=\"text-align: justify;\">\n<li>substring(triggerBody()[&#8216;text&#8217;],\u00a05,\u00a0sub(indexOf(triggerBody()[&#8216;text&#8217;],\u00a0&#8216;;&#8217;),\u00a05))<\/li>\n<li>split(triggerBody()[&#8216;text&#8217;],\u00a0&#8216;,&#8217;)[1]<\/li>\n<li>substring(triggerBody()[&#8216;text_1&#8217;],\u00a05,\u00a0sub(indexOf(triggerBody()[&#8216;text&#8217;],\u00a0&#8216;;&#8217;),\u00a05))<\/li>\n<li>split(triggerBody()[&#8216;text_1&#8217;],\u00a0&#8216;,&#8217;)[1]<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><strong><u>Step 5: Create files in Blob Storage<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Add the \u2018Create blob (V2)\u2019 action to create image files in Azure Blob Storage using the images provided by Power Apps. These files will be stored in Azure Storage for further use.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38980 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-5.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"939\" height=\"641\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-5.png 939w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-5-300x205.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-5-768x524.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-5-660x451.png 660w\" sizes=\"(max-width: 939px) 100vw, 939px\" \/><\/p>\n<p style=\"text-align: justify;\">Expressions from the above image:<\/p>\n<ul style=\"text-align: justify;\">\n<li>formatDateTime(utcNow(), &#8216;yyyyMMddHHmmss&#8217;)<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><strong><u>Step 6: Detect Face<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Add the \u2018Detect faces\u2019 action in Power Automate to identify faces within the images sent from Power Apps. For this action, use the image URL generated from the blob storage in the previous steps as the input.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38981 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-6.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"697\" height=\"289\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-6.png 697w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-6-300x124.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-6-660x274.png 660w\" sizes=\"(max-width: 697px) 100vw, 697px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 7: Get Face ID<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Now, Add the \u2018Apply to Each\u2019 action in Power Automate to iterate through the detected faces in both images. Within this action, include a \u2018Set variable\u2019 action to capture the Face IDs for both images.<\/p>\n<p style=\"text-align: justify;\">Expressions from the above image:<\/p>\n<ul style=\"text-align: justify;\">\n<li>body(&#8216;Detect_First_face&#8217;)<\/li>\n<li>body(&#8216;Detect_second_face&#8217;)<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38982 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-7.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"658\" height=\"702\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-7.png 658w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-7-281x300.png 281w\" sizes=\"(max-width: 658px) 100vw, 658px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 8: Verify Face<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">For this, Add the \u2018HTTP\u2019 action in Power Automate to invoke the Face API and verify the face. Provide the API endpoint and append the URI as shown in the screenshot. Include the access key in the request header and pass the Face IDs in the request body, as demonstrated in the image.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38983 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-8.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"672\" height=\"499\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-8.png 672w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-8-300x223.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-8-660x490.png 660w\" sizes=\"(max-width: 672px) 100vw, 672px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 9: Get Confidence<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Add the \u2018Parse JSON\u2019 action to parse the output of the above HTTP action and get the confidence.<\/p>\n<p style=\"text-align: justify;\">JSON Schema:<\/p>\n<pre class=\"lang:css gutter:true start:1\">{\r\n    type: object,\r\n    properties: {\r\n        isIdentical: {\r\n            type: boolean\r\n        },\r\n        confidence: {\r\n            type: [\r\n                integer,\r\n                number\r\n            ]\r\n        }\r\n    }\r\n}\r\n<\/pre>\n<p style=\"text-align: justify;\"><strong><u>Step 10: Respond to the Canvas App<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Add the \u2018Respond to a Power App or flow\u2019 action to send the Confidence and isIdentical to the Canvas App.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38984 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-9.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"1175\" height=\"326\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-9.png 1175w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-9-300x83.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-9-1024x284.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-9-768x213.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-9-660x183.png 660w\" sizes=\"(max-width: 1175px) 100vw, 1175px\" \/><\/p>\n<p style=\"text-align: justify;\">Expressions from the above image:<\/p>\n<ul style=\"text-align: justify;\">\n<li>formatNumber(mul(100,\u00a0float(body(&#8216;Parse_JSON&#8217;)?[&#8216;confidence&#8217;])),&#8217;#0&#8242;)<\/li>\n<li>if(equals(body(&#8216;Parse_JSON&#8217;)?[&#8216;isIdentical&#8217;],\u00a0true),\u00a0&#8216;Yes&#8217;,\u00a0&#8216;No&#8217;)<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38985 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-10.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"661\" height=\"320\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-10.png 661w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-10-300x145.png 300w\" sizes=\"(max-width: 661px) 100vw, 661px\" \/><\/p>\n<p style=\"text-align: justify;\"><strong><u>Step 11: Create the required canvas app<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Develop a Canvas App with two controls AddMediaWithImage to upload Reference and Comparison images and a button to initiate the comparison process.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38986 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-11.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"724\" height=\"577\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-11.png 724w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-11-300x239.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-11-660x526.png 660w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/><\/p>\n<p style=\"text-align: justify;\">Add the following formula to the onSelect() property of the Compare Images button. This formula triggers the execution Compare uploaded face images to get face matching accuracy Power Automate Flow upon button click. The Power Automate Flow accepts two input values, which are passed as JSON (the uploaded images). If an image is not uploaded, it passes Image Not Found.<\/p>\n<pre class=\"lang:css gutter:true start:1\">Set(\r\n    RecoginzationVar,\r\n    Compareuploadedfaceimagestogetfacematchingaccuracy.Run(\r\n        If(\r\n            IsBlank(AddMediaButton1.Media),\r\n            Image Not Found,\r\n            Substitute(\r\n                JSON(\r\n                    UploadedImage1.Image,\r\n                    JSONFormat.IncludeBinaryData\r\n                ),\r\n                ,\r\n                \r\n            )\r\n        ),\r\n        If(\r\n            IsBlank(AddMediaButton2.Media),\r\n            Image Not Found,\r\n            Substitute(\r\n                JSON(\r\n                    UploadedImage2.Image,\r\n                    JSONFormat.IncludeBinaryData\r\n                ),\r\n                ,\r\n                \r\n            )\r\n        )\r\n    )\r\n);\r\nIf(\r\n    IsBlank(RecoginzationVar.confidence),\r\n    Notify(\r\n        Please Upload Face Images,\r\n        NotificationType.Error\r\n    ),\r\n    Navigate(ComparisonsResult);   \r\n);\r\n<\/pre>\n<p style=\"text-align: justify;\"><strong><u>Step 12: Add Comparison Result screen<\/u><\/strong><\/p>\n<p style=\"text-align: justify;\">Add a screen to show comparison results.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38987 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-12.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"627\" height=\"504\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-12.png 627w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-12-300x241.png 300w\" sizes=\"(max-width: 627px) 100vw, 627px\" \/><\/p>\n<p style=\"text-align: justify;\">Below is the output.<\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38988 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-13.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"811\" height=\"649\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-13.png 811w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-13-300x240.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-13-768x615.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-13-660x528.png 660w\" sizes=\"(max-width: 811px) 100vw, 811px\" \/><\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38989 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-14.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"804\" height=\"645\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-14.png 804w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-14-300x241.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-14-768x616.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-14-660x529.png 660w\" sizes=\"(max-width: 804px) 100vw, 804px\" \/><\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38990 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-15.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"805\" height=\"624\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-15.png 805w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-15-300x233.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-15-768x595.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-15-660x512.png 660w\" sizes=\"(max-width: 805px) 100vw, 805px\" \/><\/p>\n<p style=\"text-align: justify;\"><img decoding=\"async\" class=\"alignnone wp-image-38991 size-full\" style=\"border: 1px solid #000000; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-16.png\" alt=\"Face Matching Accuracy with Azure Face API in power automate flow\" width=\"804\" height=\"643\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-16.png 804w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-16-300x240.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-16-768x614.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2024\/08\/Face-Matching-Accuracy-with-Azure-Face-API-16-660x528.png 660w\" sizes=\"(max-width: 804px) 100vw, 804px\" \/><\/p>\n<h2 style=\"text-align: justify;\"><strong>Conclusion: <\/strong><\/h2>\n<p style=\"text-align: justify;\">By integrating Azure Face API within Power Automate flow and Canvas App, you can efficiently and accurately compare two uploaded images to determine the similarity percentage and verify if the faces in the images are the same. This process harnesses the advanced facial recognition capabilities of Azure Face API, which includes face detection, verification, and emotion recognition. Following the outlined steps ensures a smooth and precise implementation, allowing developers to leverage these powerful tools for enhanced facial matching accuracy in various applications. Whether for security, identification, or other use cases, this approach provides a reliable and automated solution for face-matching requirements.<\/p>\n<p><strong><div class=\"su-heading su-heading-style-default su-heading-align-center\" id=\"\" style=\"font-size:15px;margin-bottom:5px\"><div class=\"su-heading-inner\"> Empower Your Dynamics 365 CRM with Our Next-Gen AI Expertise!<\/div><\/div><\/strong><\/p>\n<p>Step into the future of app development with our <a href=\"https:\/\/bit.ly\/45q16LG\">Copilot-enabled Power Platform<\/a> solutions, <a href=\"https:\/\/www.inogic.com\/services\/ai-solutions\/microsoft-dynamics365-powerplatform-chatgpt-azure-openai-consulting-services\/\">Azure OpenAI<\/a> Sales Companions, and Copilot Studio Developments. Contact crm@inogic.com to unlock business success with AI integration.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In today&#8217;s digital age, integrating advanced facial recognition capabilities into applications has become increasingly important for various purposes such as security, identification, and user authentication. Azure Face API provides a robust suite of services enabling developers to incorporate functionalities like face detection, face verification, and emotion recognition into their applications. Recently, we faced a requirement\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2024\/08\/enhancing-face-matching-accuracy-with-azure-face-api-in-power-automate-flow\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1985,2917],"tags":[2924,2923],"class_list":["post-38974","post","type-post","status-publish","format-standard","hentry","category-power-automate","category-power-automate-flow","tag-azure-face-api","tag-face-recognition"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/38974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=38974"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/38974\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=38974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=38974"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=38974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}