AI EXPRESS
  • AI
    Crippling AI cyberattacks are inevitable: 4 ways security pros can prepare

    Crippling AI cyberattacks are inevitable: 4 ways security pros can prepare

    AI

    How AI Is Being Used to Assess Risk

    Rain nabs $11M to build voice experiences for brands

    Rain nabs $11M to build voice experiences for brands

    AI Weekly: AI tools for hiring under scrutiny; Clearview AI settlement reaction

    AI Weekly: AI tools for hiring under scrutiny; Clearview AI settlement reaction

    Nuance partners with The Academy to launch The AI Collaborative

    Nuance partners with The Academy to launch The AI Collaborative

    How AI can improve services revenue and customer success

    How AI can improve services revenue and customer success

  • ML
    Moderate, classify, and process documents using Amazon Rekognition and Amazon Textract

    Moderate, classify, and process documents using Amazon Rekognition and Amazon Textract

    The Intel®3D Athlete Tracking (3DAT) scalable architecture deploys pose estimation models using Amazon Kinesis Data Streams and Amazon EKS

    The Intel®3D Athlete Tracking (3DAT) scalable architecture deploys pose estimation models using Amazon Kinesis Data Streams and Amazon EKS

    Intelligently search your Jira projects with Amazon Kendra Jira cloud connector

    Intelligently search your Jira projects with Amazon Kendra Jira cloud connector

    Enhance the caller experience with hints in Amazon Lex

    Enhance the caller experience with hints in Amazon Lex

    Image classification and object detection using Amazon Rekognition Custom Labels and Amazon SageMaker JumpStart

    Image classification and object detection using Amazon Rekognition Custom Labels and Amazon SageMaker JumpStart

    Run automatic model tuning with Amazon SageMaker JumpStart

    Run automatic model tuning with Amazon SageMaker JumpStart

    Achieve in-vehicle comfort using personalized machine learning and Amazon SageMaker

    Achieve in-vehicle comfort using personalized machine learning and Amazon SageMaker

    Example of subtitles toggled on within a web video player

    Create video subtitles with Amazon Transcribe using this no-code workflow

    Abstract diagram showing how AWS AI services come together.

    Content moderation design patterns with AWS managed AI services

  • NLP
    Researchers Propose A Graph-Based Machine Learning Method To Quantify The Spatial Homogeneity Of Subnetworks

    Researchers Propose A Graph-Based Machine Learning Method To Quantify The Spatial Homogeneity Of Subnetworks

    Westpac fund backs start-up that enables AI phone calls

    Westpac fund backs start-up that enables AI phone calls

    Biased data is anathema to society says the SAS CTO who has made it his mission to stamp bias out

    Biased data is anathema to society says the SAS CTO who has made it his mission to stamp bias out

    ELaPro, a LOINC-mapped core dataset for top laboratory procedures of eligibility screening for clinical trials | BMC Medical Research Methodology

    ELaPro, a LOINC-mapped core dataset for top laboratory procedures of eligibility screening for clinical trials | BMC Medical Research Methodology

    The problem with self-driving cars

    The problem with self-driving cars

    These 5 robotic startups are impacting healthcare sector with their innovation

    These 5 robotic startups are impacting healthcare sector with their innovation

    Raidix Era Western Digital

    What is a supercomputer? – Dataconomy

    Data Intelligence Solutions for Sales Market Overview 2022-2029| Key Players – Linkedln, Discoverorg, Zoomlnfo, Datanyze, Dun & Bradstreet

    Japan Cloud Natural Language Processing Market Size 2022 Analysis by 2029

    Generic business image for news article

    Asset servicing data services news

  • Vision
    Creator Karen X. Cheng Brings Keen AI for Design ‘In the NVIDIA Studio’

    Creator Karen X. Cheng Brings Keen AI for Design ‘In the NVIDIA Studio’

    GFN Thursday: ‘Evil Dead: The Game’ on GeForce NOW

    GFN Thursday: ‘Evil Dead: The Game’ on GeForce NOW

    pix2pix Generative Adversarial Networks

    pix2pix Generative Adversarial Networks

    AI-Generated Endangered Species Mix With Times Square’s Nightlife

    AI-Generated Endangered Species Mix With Times Square’s Nightlife

    Shopping Smart: AiFi Using AI to Spark a Retail Renaissance

    Shopping Smart: AiFi Using AI to Spark a Retail Renaissance

    Writing AlexNet from Scratch in PyTorch

    Writing AlexNet from Scratch in PyTorch

    Duos Technologies Uses AI-Powered System for Railcar Inspection

    Duos Technologies Uses AI-Powered System for Railcar Inspection

    Recycleye AI-Driven Systems Aim to Reduce Global Waste

    Recycleye AI-Driven Systems Aim to Reduce Global Waste

    NVIDIA Metropolis Edge AI-on-5G Platform Delivers IVA Over 5G

    NVIDIA Metropolis Edge AI-on-5G Platform Delivers IVA Over 5G

  • Robotics
    Eureka Robotics brings in $4.5M in pre-Series A funding

    Eureka Robotics brings in $4.5M in pre-Series A funding

    NASCAR crash test

    AB Dynamics’ robots at use crash testing NASCAR cars

    depainting a plane

    Advanced cable management lets robots depaint airplanes

    Dusty Robotics raises $45M Series B round

    Dusty Robotics raises $45M Series B round

    Flexxbotics brings in $2.9M in Series A funding

    Flexxbotics brings in $2.9M in Series A funding

    ABB's Mark Joppru joins MiR as VP of sales for the Americas

    ABB’s Mark Joppru joins MiR as VP of sales for the Americas

    Teraki, DriveU.auto partner for teleoperated delivery robots

    Teraki, DriveU.auto partner for teleoperated delivery robots

    Apex.AI receives strategic investment from Daimler Truck

    Apex.AI receives strategic investment from Daimler Truck

    Festo introduces pneumatic cobot arm

    Festo introduces pneumatic cobot arm

  • RPA
    Invoice Management Made Easy With Automation and RPA solution

    Automated Invoice Processing: An Ardent Need of Modern Day Businesses

    Conversational AI- Oomphing Up HR Digitization Factor| AutomationEdge

    Conversational AI- Oomphing Up HR Digitization Factor| AutomationEdge

    Know how to Implement Conversational AI

    Alarm Ringing! Top 10 Tips to go about Conversational Marketing

    UiPath RPA & Microsoft Cloud - Microsoft Inspire 2019

    UiPath RPA & Microsoft Cloud – Microsoft Inspire 2019

    UiPath 2019.7 Monthly Update | UiPath

    UiPath 2019.7 Monthly Update | UiPath

    Take The Wheel of Your Automation Strategy

    Take The Wheel of Your Automation Strategy

    Finding Your Unattended Robots Use Cases (Part 1)

    Finding Your Unattended Robots Use Cases (Part 1)

    EU Urges Public Sector to Use Artificial Intelligence To Improve Services

    EU Urges Public Sector to Use Artificial Intelligence To Improve Services

    2019 Gartner Peer Insights Customers' Choice for RPA

    2019 Gartner Peer Insights Customers’ Choice for RPA

  • Gaming
    You can now play Resident Evil 7 and Village in fully-immersive VR on PC

    You can now play Resident Evil 7 and Village in fully-immersive VR on PC

    UK Charts: Nintendo Switch Sports Is Number One For A Third Week

    UK Charts: Nintendo Switch Sports Is Number One For A Third Week

    Square Enix still recommends Balan Wonderworld "with confidence" despite recent lawsuit

    Square Enix still recommends Balan Wonderworld “with confidence” despite recent lawsuit

    This Elden Ring mod lets you hang out with your favourite NPCs

    This Elden Ring mod lets you hang out with your favourite NPCs

    Gears of War could be getting a Master Chief Collection-style collection

    Gears of War could be getting a Master Chief Collection-style collection

    Handheld Face-Off - Nintendo Switch OLED Model Vs Steam Deck

    Handheld Face-Off – Nintendo Switch OLED Model Vs Steam Deck

    Soulstice looks like it wants to be the next Devil May Cry, and gets an autumn release window

    Soulstice looks like it wants to be the next Devil May Cry, and gets an autumn release window

    Konami issues DMCA takedown of images claiming to be a Silent Hill reboot

    Konami issues DMCA takedown of images claiming to be a Silent Hill reboot

    The Callisto Protocol news coming next week

    The Callisto Protocol news coming next week

  • Investment
    Mammoscreen

    Therapixel Closes €15M Series B Financing

    GEOSAT

    Company EOS Data Analytics Partners With GEOSAT

    Solarr Raises $2M in Seed Funding

    Solarr Raises $2M in Seed Funding

    Yottaa

    Yottaa Receives Growth Investment from PSG

    satori

    Satori Raises $10M in Seed Funding

    klarpay

    Klarpay Raises CHF 3M in Funding

    Hedi Mardisoo and Kalle Palling

    Cachet Raises €5.5M in Funding

    venture capital

    Aquiline Closes Aquiline Technology Growth Fund II, At Over $365M

    devocean

    devOcean Raises $6M in Seed Funding

  • More
    • Data analytics
    • Apps
    • No Code
    • Cloud
    • Quantum Computing
    • Security
    • AR & VR
    • Esports
    • IOT
    • Smart Home
    • Smart City
    • Crypto Currency
    • Blockchain
    • Reviews
    • Video
No Result
View All Result
AI EXPRESS
No Result
View All Result
Home Computer Vision

Deep Learning Mask Detection Training Tutorial

seprameen by seprameen
December 23, 2021
in Computer Vision
0
Camera for Mask Detection Real-Time Demo
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter

This text will information you thru the method of creating a masks detection utility with deep studying. With the no-code pc imaginative and prescient platform Viso Suite, you’ll be able to develop a production-ready picture recognition utility with out writing code from scratch.

Constructing with Viso saves lots of costly time, ensures future-proof compatibility throughout platforms (cameras, processing {hardware}, AI fashions). It offers a dependable option to develop pc imaginative and prescient tasks with enterprise-grade safety layers in place.

We are going to cowl the next:

  1. Planning the pc imaginative and prescient challenge
  2. Growing the pc imaginative and prescient utility with out coding
  3. Configuring the appliance modules
  4. Deploying the AI imaginative and prescient utility to the sting
  5. Previewing the output video stream
  6. Versatile upkeep and privateness

 

 

Necessities:

  • You want a Viso Workspace that gives all of the instruments and capabilities in a single place.
  • Optionally available: USB or IP digital camera, edge pc that may be a generic Intel machine (x86-64 platform, desktop, embedded)

Planning Section

Log into the Viso Workspace, and navigate to “Library” and “Functions.” That is the place the place you’ll be able to handle and edit all of your pc imaginative and prescient functions and variations. Right here, you additionally see “Modules” presently put in in your workspace. Set up new modules so as to add new extensions and performance to the Viso Builder, the visible modeling software of Viso Suite. You’ll be able to add modules from {the marketplace} or import your customized code as Docker containers.

To construct a masks detection utility, we begin with the design of the pc imaginative and prescient utility. Due to this fact, we have to perceive the appliance stream and make sure the required modules are put in within the workspace.

 

Masks detection utility idea with Intel AI {hardware}

The idea of the video recognition utility could be very intuitive. Viso Suite permits utilizing a visible no-code modeling software to simply construct the pc imaginative and prescient pipeline – with out writing code from scratch. This protects time, avoids bugs, and makes it simple to observe finest practices.

Video-Enter

This module grabs the video frames that present the visible enter for the pc imaginative and prescient engine. With Viso, you’ll be able to seamlessly swap between a video file and any digital video digital camera.

Focus space

The region-of-interest module is used to deal with a selected space throughout the video frames. For instance, it’s common to carry out masks detection on the entrance of a shopping mall or retail retailer. By specializing in the doorway space, the next picture recognition algorithms solely apply to this area of curiosity. This often results in substantial enhancements in pc imaginative and prescient accuracy and efficiency by lowering the workload considerably.

Face Detection

Many pc imaginative and prescient functions contain and mix a number of completely different pc imaginative and prescient duties that every require specialised AI fashions. The idea of a stream with a number of levels can be referred to as a pc imaginative and prescient pipeline.

The primary pc imaginative and prescient module detects all faces within the focus space earlier than the next module performs the precise masks detection for each detected face. Technically, face detection is the elemental pc imaginative and prescient process referred to as object detection, to acknowledge and localize an object (right here: human faces) in a picture (right here: within the focus space).

With Viso Suite, you’ll be able to choose completely different AI frameworks (TensorFlow, OpenVINO, and many others.) and a broad checklist of AI fashions to carry out this process. Viso manages the mixing, compatibility, and orchestration of ML mannequin serving containers totally robotically. The power to simply change and replace the AI mannequin is crucial as a result of know-how advances quickly (see our article on real-time Object Detection). The checklist of obtainable, pre-trained AI fashions could be very in depth; you’ll be able to handle them in your workspace (Library -> AI fashions) and add your individual.

Masks Recognition

The next module within the pipeline can be a pc imaginative and prescient module for picture recognition. The output of the face detector is fed into this deep studying mannequin to acknowledge the presence of a masks. Therefore, the output is both “masks” or “no-mask” for every face, expressed with a degree of chance  (e.g., 0.98 – indicating 98% chance).

Choose “create a brand new utility” and begin with a brand new utility from scratch. Set a novel new utility title. In our case, we title it “Masks Detection” and click on “verify” to proceed. The applying is robotically initialized, and the editor will present an empty canvas.

Output Logic

The output knowledge stream of a pc imaginative and prescient deep studying mannequin is often not helpful with out processing and aggregating. In easy phrases, it might continuously ship the messages “particular person: masks, particular person: masks, particular person: masks” each time the ML mannequin is processing a picture, which may very well be even increased than the FPS of a video (relying on the efficiency and configuration).

To mixture and make sense, a counting logic or aggregation logic must be utilized earlier than the info will be safely despatched to third-party methods or the pc imaginative and prescient dashboards inside Viso Suite.

 

Real World Masked Face Dataset for Computer Vision
Real World Masked Face Dataset for Pc Imaginative and prescient

Construct the pc imaginative and prescient utility

To create the masks detector, we drag the next modules from the Viso Builder aspect panel to the canvas: Video feed, video view, area of curiosity, object detection, object recognition, perform, MQTT. Wire the modules collectively as under:

 

Computer Vision pipeline example masked face detection
Pc Imaginative and prescient pipeline instance masked face detection

Configure the appliance modules

For the Video Feed Module, choose “video file” because the picture supply. Later, you’ll be able to change the enter to a community/IP digital camera (most safety cameras) or USB (webcams, and many others.).

Within the object detection module, choose the OpenVINO framework. You see the out there {hardware} that can be used to course of the visuals. Evidently, solely choose {hardware} as it’s really out there to your computing gadgets.

You’ll be able to choose CPU for the AI inferencing process, but in addition VPU (Imaginative and prescient Processing Unit, Myriad X), iGPU (the brand new Intel Xe GPU sequence), and others. Within the tutorial, we use the Intel Myriad Imaginative and prescient Processing Models, highly effective and cost-efficient AI accelerators to successfully course of AI workloads with neural networks.

It’s essential to notice that the {hardware}’s processing energy considerably impacts the appliance’s efficiency (computed FPS, frames per second). CPUs are often the simplest out there however least highly effective methodology. Nvidia or the brand new Intel GPUs present probably the most computing energy however are comparatively costly and have a excessive power utilization. VPUs comparable to Myriad X present excellent power- and cost-efficiency ($/FPS and Watt/FPS). Identical to GPUs, they can be utilized together to extend picture processing efficiency. In our tutorial, we use 4 Myriad X processors.

For the mannequin choice, we use the pre-trained face detection mannequin of “OpenVINO for Retail.” As talked about earlier than, you might use your individual customized AI mannequin. However for a lot of standardized settings, pre-trained ML fashions present good outcomes.

Subsequent, we choose which skilled object class we would like the mannequin to detect. The item detection class will depend on what the neural community has been skilled for. As we already chosen the Retail Face Detection mannequin, we now choose the category “Face.”

Within the object recognition module, we choose the Keras Framework to run on the CPU. We choose the ML mannequin “Masks Detection” to be utilized.

Subsequent, we configure the video view node. This module shows the processed video output. It’s essential to notice that this module could also be eliminated in a manufacturing utility as a result of the pc imaginative and prescient system works totally autonomously. Often, prices will be saved if sources are devoted for higher utility efficiency as an alternative of processing a visible output video stream. Within the tutorial, we set “/video” because the native URL to preview the output immediately within the browser, given the shopper is throughout the identical community because the computing machine.

Then, we configure the perform node. We use this module to outline the logic that’s used to course of the output knowledge of the pc imaginative and prescient pipeline. The logic is particularly essential if a number of areas of curiosity are used. Best is to set the logic with a brief JavaScript code snippet to transform the output within the desired knowledge format relying on how the knowledge can be used.

Lastly, we configure the MQTT out node to ship the details about if individuals are sporting masks or not by way of the built-in MQTT dealer of Viso Suite. We outline the “Subject” to which the endpoint will subscribe. This can be essential to make use of the time-series knowledge, for instance, in dashboard widgets. The information will be seamlessly used throughout the dashboard builder of Viso Suite to create customized real-time dashboards with quite a few chart widgets.

 

Deploy the appliance

After the appliance modules have been configured, we save the app as an preliminary model. Will probably be created within the workspace library, underneath functions. The dependencies of the modules and the AI fashions they use are robotically managed; you’ll be able to view them within the module or AI mannequin sections of the workspace library.

To deploy the appliance, add it to a profile. We assign that profile to a tool that has been enrolled within the workspace. As soon as the machine is on-line and out there, the Viso Resolution Supervisor will robotically deploy the appliance with all dependencies to the computing machine.

 

Computer vision device management
Handle any Intel computing machine immediately from inside Viso Suite

Configure the deployed utility

We didn’t but set the area of curiosity to focus the masks detection on a selected space of the video/digital camera feed. That is solely doable after the appliance is deployed as a result of it’s a configuration on the native degree. After the appliance was deployed and is operating, we navigate to the machine in Viso Suite (Deployment -> Units) and entry Native configuration. We see all of the deployed modules which can be a part of the operating utility and choose the “area of curiosity” module.

After the cloud service requests a picture body, we will draw the area of curiosity (ROI) utilizing the polygon form. After defining the world by which the masks detection needs to be carried out, we’re prompted to set its title. We click on “Save” to verify the native configuration.

 

Previewing the outcomes

Since we have now the output video module deployed as a part of the appliance, we will now visualize the output of the pc imaginative and prescient pipeline. As a result of we set the output supply as “localhost,” we will view it immediately from throughout the browser. The output view node may very well be used to observe the outcomes from a number of enter (a number of cameras) and output (parallel utility paths) picture sources. In our tutorial, we used one enter feed (video file). Due to this fact, we have now a outcome output stream out there.

The outcomes present how solely faces throughout the area of curiosity (ROI) are detected. For every detected face, the pc imaginative and prescient app returns a worth “masks” or “no-mask,” which is up to date in real-time if an individual is placing on or taking off a masks.

Flexibility and Agility

The applying can now be simply up to date and maintained utilizing the Viso Builder. For instance, we will swap all the processing {hardware} platform to GPU – with out rewriting the code of the appliance. For example, Viso Suite makes it simple to make use of the just-released Intel iGPU, which boosts efficiency and effectivity, leading to important financial price financial savings for large-scale manufacturing methods.

We are able to swap from a video file to a webcam that we will plug into the machine or use the video feed of any community safety digital camera. It’s simply doable to make use of a number of video inputs or enhance the complexity of the appliance logic. And, importantly, we will simply migrate and roll out the appliance to new {hardware} gadgets.

The enterprise-grade versioning system and dependency administration of Viso Suite permit to securely roll out new functions to a fleet of gadgets. The built-in machine fleet administration ensures end-to-end safety and scalability. If wanted, we will roll out new variations in batches and simply roll them again to prior utility variations.

Privateness

We consider privateness and safety are probably the most crucial points of pc imaginative and prescient. Pc imaginative and prescient typically includes delicate knowledge, together with photos of individuals (workers, clients) or mental property (machines, processes, and many others.). Trade leaders use Viso Suite in healthcare, manufacturing, retail, authorities/public companies, and different industries requiring the very best knowledge privateness ranges.

As a result of connecting separate instruments is weak to extreme safety and privateness points, Viso Suite offers end-to-end capabilities to handle and shield all the course of. That is why we have to totally handle the gadgets, ML mannequin deployment, inference pipelines, entry administration, encryption – in a single place.

All visible knowledge is processed regionally, with on-device machine studying (Edge AI). This isn’t solely far more performance- and cost-efficient, it additionally ensures that no video photos are despatched to a cloud. We are able to course of the photographs in real-time, with out even storing them on-device. In our tutorial app, we included an output video preview that may solely be accessed on a neighborhood degree. We are able to all the time deploy the appliance with out the module and even take away the native preview totally.

The output knowledge is textual content strings “masks”/”no-mask” with out delicate visible knowledge. This edge intelligence strikes AI capabilities from the cloud to the sting machine as an alternative of shifting all knowledge to the cloud earlier than processing it there – enabling personal deep studying functions.

 

Get began

Be taught extra about creating no-code pc imaginative and prescient methods with Viso Suite. Get in contact with our crew and see how one can ship enterprise AI imaginative and prescient quickly, securely, and future-proof.

Source link

See also  Intel Xe GPU Series For Machine Learning - An Overview
Tags: deepdetectionlearningMasktrainingTutorial
Previous Post

TandemAI Raises $25M Seed & Pre-Series A Financing

Next Post

Open source NLP is fueling a new wave of startups

seprameen

seprameen

Next Post

Open source NLP is fueling a new wave of startups

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Newsletter

Popular Stories

  • A fan is making the Metroid 64 game that never was

    A fan is making the Metroid 64 game that never was

    0 shares
    Share 0 Tweet 0
  • Android 13 needs to steal a few of Apple’s features to show off at Google IO 2022

    0 shares
    Share 0 Tweet 0
  • Bubbles Raises $8.5M in Seed Funding

    0 shares
    Share 0 Tweet 0
  • Intel shows off new Arctic Sound M graphics chips for the datacenter

    0 shares
    Share 0 Tweet 0
  • Spotify Celebrates Star Wars Day With New Blend Playlists

    0 shares
    Share 0 Tweet 0

Computer Vision Jobs

View 115 Vision Jobs at Tesla

View 165 Vision Jobs at Nvidia

View 105 Vision Jobs at Google

View 135 Vision Jobs at Amamzon

View 131 Vision Jobs at IBM

View 95 Vision Jobs at Microsoft

View 205 Vision Jobs at Meta

View 192 Vision Jobs at Intel

Accounting and Finance Hub

Raised Seed, Series A, B, C Funding Round

Get a Free Insurance Quote

Try Our Accounting Service

AI EXPRESS

AI EXPRESS is a news site that covers the latest developments in Artificial Intelligence, Data Analytics, ML & DL, Algorithms, RPA, NLP, Robotics, Smart Homes & Cities, Cloud & Quantum Computing, AR & VR and Blockchains

Categories

  • AI
  • Ai videos
  • Apps
  • AR & VR
  • Blockchain
  • Cloud
  • Computer Vision
  • Crypto Currency
  • Data analytics
  • Esports
  • Gaming
  • Gaming Videos
  • Investment
  • IOT
  • Iot Videos
  • Low Code No Code
  • Machine Learning
  • NLP
  • Quantum Computing
  • Robotics
  • Robotics Videos
  • RPA
  • Security
  • Smart City
  • Smart Home

Quick Links

  • Reviews
  • Deals
  • Best
  • AI Jobs
  • AI Events
  • AI Directory
  • Industries

© 2021 Aiexpress.io - All rights reserved.

  • Contact
  • Privacy Policy
  • Terms & Conditions

No Result
View All Result
  • AI
  • ML
  • NLP
  • Vision
  • Robotics
  • RPA
  • Gaming
  • Investment
  • More
    • Data analytics
    • Apps
    • No Code
    • Cloud
    • Quantum Computing
    • Security
    • AR & VR
    • Esports
    • IOT
    • Smart Home
    • Smart City
    • Crypto Currency
    • Blockchain
    • Reviews
    • Video

© 2021 Aiexpress.io - All rights reserved.