How Microsoft Azure Simplifies Face Recognition? - Zerone ...
文章推薦指數: 80 %
Microsoft Azure Face API offers advanced algorithms that detect human faces in digital images. Face API can detect one or more human faces in an image and ... Blog HowMicrosoftAzureSimplifiesFaceRecognition? BookYourFreeStrategySession Facialrecognition(orfacerecognition)systemsarecommonlyusedforsecuritypurposes.Today,thistechniquefindsitsapplicationinabroadrangeofindustriesincludingretail,eventmanagement,hospitals,academies,defensewings,governmentdepartments,commercialestablishments,banks,andfinancialinstitutions.Facerecognitionisabiometricmethodofidentifying(recognizing)anindividualbycomparinglivecaptureordigitalimagedataagainstthestoredrecordforthatperson.Beforewemoveon,letushaveaquickglanceatthetwoterms-facedetectionandfacerecognition. FaceDetectionandRecognition–AnOverview FaceDetectionandFaceRecognitionaretwodistinctconceptsthatdiffercompletelyfromeachother,thoughrecognitionbuildsupondetection.InDetection,thesystemidentifieshumanfacesindigitalimages,irrespectiveofthesourceoftheimage.InRecognition,thesystemrecognizesaknownfaceinadigitalimagewithaknownname.Herealso,sourceisnotamatterofconcern.Sourcecouldbeanyofthese:ascannedphotograph,alivevideostreamoraCCTVfootage. Incorporatingfacedetectionandrecognitiontechnologiesinbusinessesallowsyoutogeneratevastamountsofusefuldata,thatcanbefurtheranalyzedtoderiveadvancedinsightsandbusinessintelligence.Facerecognition-poweredanalyticssolutionplaysasignificantroleinmanyindustries,sinceitreducesthegapbetweenbusinessandcustomer. Currently,numerousopensourcecodesareavailableinthemarketforfacedetectionandrecognition,outofwhich,themostwidelyusedsolutionsareOpenFace,OpenCVusingEMGU.NETWrapper,andMSAzureFaceAPI.Inthispost,wewillhavealookathowMicrosoftAzureFaceAPIhelpsinfacedetectionandrecognition. MicrosoftAzureFaceAPI MicrosoftAzureFaceAPIoffersadvancedalgorithmsthatdetecthumanfacesindigitalimages.FaceAPIcandetectoneormorehumanfacesinanimageanddisplayfacerectanglestohighlightthefacesintheimage.Alongwiththis,FaceAPIalsoshowsattributesthatincludemachine-learningbasedpredictionsoffacialfeatures.Theattributescompriseage,gender,emotion,pose,smileandfacialhair,inadditionto27otherlandmarksforeachfaceidentifiedinthegivenimage.State-of-the-artalgorithmsdetecthumanfacesinimages,openingarangeoffacialcapabilitiestoyourapplications. MicrosoftAzureFaceAPIcan: Detecthumanfacesandsearchforsimilarities Consolidateimagesintogroupsbasedontheirvisualsimilarities Identifyanypreviouslytaggedpeopleinimages OnceFaceAPIidentifiesthefaces,itwillverifytofindoutwhethertwopeopleinanimageorimagesarethesamebyusingaconfidencescore,orcompareitagainstadatabasetofindoutwhetheranidenticalfacealreadyexists.FaceAPIusesthesharedvisualtraitstogroupsimilarlookingfaces. MSAzureEmotionAPI EmotionAPIprovidesyouanincrediblepersonalizedexperiencebyallowingyoutobuildanapplicationthatrecognizesemotionsfromfacialexpressions.Thisisacloud-basedAPIthatdetectsemotionssuchashappiness,sadness,neutrality,contempt,anger,disgust,fear,andsurprise.EmotionAPIanalyzestheseemotionsbasedonuniversalstandardsofcategorizingfacialexpressions.Itfunctionsinacross-culturalmanner.Thatmeans,yourapplicationwillworkacrosstheglobe. SubscriptionandImplementation UserswithaMicrosoftAzuresubscriptioncanimplementFaceAPI,sinceitisapaidservice.YoucancreateyourownFaceAPIserviceusingtheAzureportal.Thishelpsyourapplicationtoperformfacedetectionandrecognition. QuickstepstoimplementMicrosoftAzureFaceAPI ThefollowingexampleisbasedonWindowsOSandsourcecodeispurelyinC#.Toimplementthesesteps,youneedtohaveaMicrosoftAzuresubscription. Step1: CreateFaceAPIserviceinMSAzureasdisplayedbelow: Step2: Goto“AllServices”menu,whereyoucanseeyourserviceslisted.Notethesubscriptionid,endpoint,andaccesskeyswhichweneedlaterinourprogram. Step3: Selecttheappropriatepricetierforcreatingtheservice.Inthisexample,weareusingthe“FreePriceTier”fordemopurpose. Step4: DifferentstagesofFacerecognitionandDetection -AuthorizeAPIcall:WhileusingfaceAPIclientservices,youshouldauthorizeyourselfforavalidsubscriptionkey. privateFaceServiceClient_faceClient=newFaceServiceClient("Yoursubscriptionkey"); -Createpersongroup:Persongroupactsasacontainerofallpersons.Inthefollowingcodesnippet,replacepersonGroupIdwithyourgroupnameasperyourrequirement(example:mygroup,group1). -Addpersontogroup:Hereweareaddingpersonstopreviouslycreatedgroup. //DefinePerson CreatePersonResultfriend1=await_faceClient.CreatePersonAsync(“Givethepreviouslycreatedgroupname”,“Giveuniquepersonname”); -Addperson’sfaces(TakeTrainingimages) -Trainpersongroup:Thepersongroupmustbetrainedpriortoperforminganidentificationusingit.Moreover,ithastobere-trainedafteraddingorremovinganyperson,orifanypersonhastheirregisteredfaceedited. -IdentifyPerson:Thefollowingcodedemonstratestheprocessofidentification. Theresultwillappearasshownbelow: -Capture1:Samegendergroupwithdifferentemotions. -Capture2:Differentgendersandemotions TheMicrosoftAzureCognitiveServiceFaceAPIApplicationhelpsyoutomakeaFaceAPIappin30minutes.AllyouneedisaMicrosoftAzuresubscription.AzureFaceAPIhasanaccuracyof90-95%. close Hello. We’regladyou’rehere. Tellusalittleaboutyourrequirement. FullName* WorkEmail* Phone* CompanyName* Howcanwehelpyou?*
延伸文章資訊
- 1臉部辨識文件- 快速入門、教學課程和API 參考- Azure 認知服務
Microsoft Face 演算法啟用了臉部屬性偵測及臉部辨識。 ... Azure 臉部辨識服務會提供AI 演算法,可偵測、辨識和分析影像中的人臉。 臉部辨識軟體在許多不同的案例中很 ...
- 2Azure-Samples/Cognitive-Face-CSharp-sample - GitHub
Sample application for using the Face API. Contribute to Azure-Samples/Cognitive-Face-CSharp-samp...
- 3臉部辨識
"By enhancing our service with the Face API, we have a competitive advantage in markets that dema...
- 4How Microsoft Azure Simplifies Face Recognition? - Zerone ...
Microsoft Azure Face API offers advanced algorithms that detect human faces in digital images. Fa...
- 5什麼是Azure 臉部辨識服務?
偵測API 可偵測影像中的人臉,並傳回其位置的矩形座標。 它也會傳回代表已儲存臉部資料的唯一識別碼。 這會用於稍後的作業,以識別或驗證臉部。