Welcome to Xamarin Guy Show Blog

Keep updated for latest and Greatest Posts from Xamarin guy

Dotnet MAUI Open CV Face Detection

Step 1 : Plugins to add

https://github.com/takuya-takeuchi/UltraFaceDotNet

Step 2 : Files to be downloaded

.bin and .param

https://github.com/Linzaer/Ultra-Light-Fast-Generic-Face-Detector-1MB/tree/master/ncnn/data/version-RFB

Step 3 : Add this downloaded files to newly created data folder of your project and don’t forget make it as Embedded Resource

Step 4 : MainPage.xaml

Step 5 : MainPage.xaml.cs

Step 6: DetectService.cs

Step 7: IDetectService.cs

Step8: DetectResult.cs

Step9: Object.cs

Step 10 : Make sure you have added enough permission for taking camera photo

https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/device-media/picker?tabs=android

Step 11: Hurray you did it!

Clean the project before usage 🙂

Leave a Reply

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.