Skip to content

icebeam7/FaceMaskAppDetection

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

FaceMaskAppDetection

This project consists of a mobile application that detects if a person wears a mask or not in a video. It combines the output of 2 Azure AI Cognitive Services:

  1. Azure Video Analyzer
  2. Azure Custom Vision

The application is written in C# using [Xamarin] (https://dotnet.microsoft.com/en-us/apps/xamarin), which allows to deliver a cross-platform mobile application that can run in Windows, Android, and iOS among other platforms.

App details:

  • You can record a local video
  • You can upload the video to Azure Video Analyzer
  • You can see a list of videos from Azure Video Analyzer service
  • You can access the details of a video

Azure Video Analyzer service doesn't tell you if you are wearing a mask or not, but it will return frames from the video. That's where Azure Custom Vision enters: Using Object Detection capabilities from Custom Vision project, I could label "mask" zones and "no-mask" zones. Then, I send the frame from Video Analyzer to Custom Vision so it can tell me if the person is wearing a mask or not.

Image 1: Application Menu Application Menu

Image 2: Recording a video Recording a video

Image 3: Wearing a mask Wearing a mask

Image 4: Accessing the video list Accesing the video list

Image 5: Accessing video details: No mask / Mask detection Accessing video details: No mask / Mask detection

Image 6: Adding mask and no mask tags Adding mask and no mask tags

Image 7: Prediction Prediction

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages