Skip to main content
Microsoft logo
Power Apps
    • AI Builder
    • Automate processes
    • Azure + Power Apps
    • Build apps
    • Connect data
    • Portals
  • Pricing
    • Overview
    • Become a Partner
    • Find a Partner
    • Find partner offers
    • Partner GTM Resources
    • Blog
    • Customer stories
    • Developer Plan
    • Documentation
    • For IT Leaders
    • Roadmap
    • Self-paced learning
    • Webinars
    • App development topics
    • Overview
    • Issues
    • Give feedback
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • User groups
    • Register
    • ·
    • Sign in
    • ·
    • Help
    Go To
    • Power Apps Community
    • Welcome to the Community!
    • News & Announcements
    • Get Help with Power Apps
    • Building Power Apps
    • Microsoft Dataverse
    • AI Builder
    • Power Apps Governance and Administering
    • Power Apps Pro Dev & ISV
    • Power Apps Portals
    • Connector Development
    • Power Query
    • Power Platform Integration - Better Together!
    • Power Platform Integrations
    • Power Platform and Dynamics 365 Integrations
    • Community Blog
    • Power Apps Community Blog
    • Galleries
    • Community Connections & How-To Videos
    • Community App Samples
    • Webinars and Video Gallery
    • Canvas Apps Components Samples
    • Kid Zone
    • Business Value Webinars and Video Gallery
    • Emergency Response Gallery
    • 2021 MSBizAppsSummit Gallery
    • 2020 MSBizAppsSummit Gallery
    • 2019 MSBizAppsSummit Gallery
    • Ideas
    • Power Apps Ideas
    • Community Engagement
    • Demo Extravaganza 2021
    • Demo Extravaganza - Components 2021
    • Power Apps Community Demo Extravaganza 2020
    • Experimental
    • Error Handling
    • Power Apps Experimental Features
    • Community Support
    • Community Accounts & Registration
    • Using the Community
    • Community Feedback
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Power Apps Community
    • Galleries
    • Emergency Response Gallery
    • Correctly Face Masked Detection

    Correctly Face Masked Detection

    03-14-2022 21:01 PM

    Microsoft easonlai
    Microsoft
    97544 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    easonlai
    Microsoft easonlai
    Microsoft
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    Correctly Face Masked Detection

    ‎03-14-2022 09:01 PM

    Hi Everyone

     

    Given that COVID-19 (Omicron variation) situation is still not yet controlled, the confirmed cases keep rising in some countries and cities. It's important to make sure people wear a face mask correctly to prevent a potential COVID-19 spread out. Most indoor areas are still required (compulsory required) to wear the face mask before entering. But it would become meaningless if people are incorrectly wearing the face mask. I am delighted to announce this Power App (Canvas App) template to help corporations, enterprises, schools, and universities check are wearing a face mask correctly before entering a venue.

     

    This app is an infused AI model trained with a tool called "Lobe". It used a camera to take an image (every 1 second, it can be further tuned down) and perform AI model scoring to identify/classify continuously (every 0.5 seconds, it can be further tuned down) if that person is correctly wearing a face mask or not. If it detects people's face mask is wearing incorrectly, it will give the block sign. In reverse, it will give a green sign.

     

    To download this Power App (Canvas App) template, please download it from my code repository on GitHub (easonlai/correctly_face_masked_recognition). Please give me a Star for this GitHub code repository and give me a Like below if you like it.

     

    With my previous template of "Leave Office/Campus Safe" for tracking, we should make a more safe environment for people using a digital solution with Power Platform (Power App).

     

    For how to import this template into your environment, please refer to this official article.

    For more details on how to use an image classification model by Lobe in Power Apps, please refer to this official article.

     

    I hope you enjoy it. And god bless, COVID-19 will be gone soon.

     

    Below is a screenshot of sample images (Correctly & Incorrectly wearing the face mask).

     

    git-image-1.png

     

     

     

    Labels:
    • Labels:
    • Admissions
    • Covid-19
    • Return to School
    • Return to Workplace
    Message 1 of 5
    97,544 Views
    1 Kudo
    Reply
    • All posts
    • Next Topic
    skylitedave
    skylitedave Kudo Kingpin
    Kudo Kingpin
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    a month ago

    I downloaded the template and loaded into Power Apps it but am not clear on how I get the model you trained in Lobe?  Can you explain a bit more if there is a way I can get the trained model ( CorrectlyFaceMasked) or do I need to get the pictures from the repository and train a new model

     

    I totally follow the Power App you made and am exploring LOBE integration with Power Apps at present but am not following how I get the trained Lobe Model that you created...

     

    Thx!

    Thx!

    Message 2 of 5
    362 Views
    0 Kudos
    Reply
    easonlai
    Microsoft easonlai
    Microsoft
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    a month ago

    Thanks for your questions. Maybe you can refer to my blog post on Medium for more details about how to train a computer vision model with LOBE.

    https://medium.com/geekculture/serving-ai-model-with-low-code-dev-mobile-app-6104dcc27b1b

     

    Message 3 of 5
    352 Views
    0 Kudos
    Reply
    skylitedave
    skylitedave Kudo Kingpin
    Kudo Kingpin
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    4 weeks ago

    THx

     

    I built my own model for drinking water and got it working

     

    I am studying what you did - you approached it differently than the app I am working on...  Some similar things but also some different things ..  will play around

     

    Key learning from yours was using the .Classification rather than .Prediction that I was trying to use 

     

    I need to find the documentation on the dot ( .) notation for Lobe - let me know if you know where I can find that 

     

    Thx for the great demo!

     

    Message 4 of 5
    333 Views
    0 Kudos
    Reply
    skylitedave
    skylitedave Kudo Kingpin
    Kudo Kingpin
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    4 weeks ago

    I got it...  I was referencing my image incorrectly so Lobe was not too happy

     

    Thx again for the great demo!

     

    Message 5 of 5
    329 Views
    0 Kudos
    Reply

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Automate
    • Power Virtual Agents

    Power Apps

    • Sign in
    • Sign up

    Browse

    • Sample apps
    • Services

    Downloads

    • Studio
    • iOS
    • Android

    Learn

    • Documentation
    • Support
    • Community
    • Give feedback
    • Blog
    • Partners

    • © 2022 Microsoft
    • Follow Power Apps
    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Trademarks