MASQ App and Library

The current workflow for sizing military respirators is time consuming, manually intensive, and tedious, but is necessary due to the critical need for respirators to fit properly, especially in operating environments when Warfighters may be exposed to chemical, biological, radiological, and nuclear (CBRN) threats. To improve the fitting process, TSE developed the Mask Analysis and Size Quantification (MASQ) tool to rapidly generate a 3D model of a user’s face, accurately compute anthropometric measurements, and estimate the appropriate size of a respiratory protective mask.

MASQ analyzes a subject’s head using 2D images captured from the device’s camera, generates a 3D headform (3DHF), computes the scale of the model, predicts standard anthropometric measurements with a ~5% margin of error, recommends the appropriate size for the Avon C50 respirator, and provides potential fit issues due to hairline intersection. MASQ is supported on iOS and Android devices.

TSE developed MASQ under Small Business Innovation Research (SBIR) topic CBD161-005 (Phase 1, Phase II, and Sequential Phase II).

 

MASQ Web-App Model Viewer

The MASQ Web App allows a user to view the 3D Head forms and associated biographical data that are upload from the MASQ Mobile App. Within the Web App the user can filter their results based on granular control of anthropometric data.

Take a look at a running example website here

Download the scaling card here

MASQ Web App
There is a README within the Web App folder that explains how to setup the Web App

General Documentation

Navigation

The hamburger menu in the top left can be used to navigate around the app.

Users allows creating, editing, and deleting users.

Help displays walkthrough assistance and context-sensitive information.

Settings allows editing app-wide settings.


User Management

MASQ supports multiple users. If you are using MASQ personally, you only need to create a single user.

If using MASQ in a lab setting, a new User should be created for each subject.


Creating a New User

Navigate to the Users page then tap the Add User button:

Fill in the demographic info on the next page and tap Save.


Editing Users

Navigate to the Users page then tap the pen icon next to the user you would like to edit.

Edit the fields you wish to change and tap Save , or tap the < icon to abandon changes return to the Users page.


Deleting Users

Navigate to the Users page and tap the checkbox next to the users you would like to delete, or tap the top checkbox to select all users.

Tap the trash icon to delete the selected users.


Model Generation

MASQ performs size estimation by analyzing a 3D face model. To generate the model, MASQ combines 2D images from a short video. To generate a model:

First tap the user’s row on the Users page.

If this is the first time generating a model, tap the Start button in the center of the page to begin.

If the Model tab shows an existing 3D model.

You may tap Regenerate from the top toolbar to repeat the model generation process.


Model Tab

If a model has not been generated, click the Start button and refer to the Generate Model Page Visualization Controls:

Rotate Model : Tap and drag on the 3D image to rotate in 3D space.

Zoom : Drag the top slider left to zoom out, and right to zoom in.

Reset : Tap the target icon to reset rotation and zoom.

Face Points : Tap the three dots to view the face points.

Face Texture : Tap the face icon to toggle on/off the texture.


Generate Model Page

A video feed from the front-facing camera will be displayed. To change to the back-facing camera, tap the switch camera icon in the top toolbar.

Position face in the center of the screen, then tap the screen to start recording a 4 second video If doing a self capture.

Slowly move your face to the left 30 degrees, then back to the right 30 degrees Rotate in a smooth movement that takes about 4 seconds.

If capturing another person move the camera in an arc starting about 30 degrees to their left, sweeping 30 degrees to their right, use a smooth movement that takes about 4 seconds.

Video capture will stop automatically and a message popup will indicate the status of model generation.

If you want to recapture the video, hit Cancel and repeat the steps above.

When model generation is finished, the page will be closed and the model will now be shown in the Model tab.


Scaling the Model

To calculate accurate measurements for mask fitment, we need to scale the model of your face. If you have not generated the reference model see Generate Model for details.

The scaling process requires an additional picture of your face and a reference object within the picture. This is done in two ways: You can use a credit card OR for more accurate results you can use a printed copy of the provided scaling which can be found above on this page.


Step by Step Guide

On the calculate measurements tab tap “USE CAMERA”: 

If you are using a credit card: 

Select the credit card shaped icon in the top right corner.

Align the credit card up to the corner of your left or right eye such that the card touches your face on one corner.

Manipulating the phone, position the credit card so the camera captures the credit card. For better results use the scaling card.

Wait until the phone has successfully captured the image. A prompt will appear. Verify that the ends of the blue line touch the ends of your eyes.

When done, you are taken to the measurements list.

If you are using the scaling card:

If you print and cut out the the scaling card be sure to leave enough white space around the rectangle so that you can grasp the card without touching the black rectangle.

Hold the sizing card up to the corner of either your right or left eye such that the card touches your face on one side.

Align the top of the black rectangle to the top of your eye.

Do not cover the black rectangle with your fingers. The white space around the black rectangle is space for you to hold the card properly.

Wait until the phone has successfully captured the image. A prompt will appear. Verify that the ends of the blue line touch the ends of your eyes.

When done, you are redirected to the measurements list.


Fitment

This page specifies the results of your facial measurements also displaying the recommended size mask you should wear. Here you can also view your facial measurements and perform a hairline analysis . This view allows you to view the 3d rendered model of your face. For more information about the 3d mode read the model tab section.

Calculating measurements requires the following:

You must create a 3D model of your face.

Once you complete the 3D model you must scale the model.

Once completed you can view the calculated measurements of your facial features.


Hairline Analysis

One of the largest issues with mask fitment is hair interfering with the seal of the mask. The hairline analysis captures a picture of your face and performs a hairline analysis.

To preform the hairline analysis you are prompted to take a picture.

You are then presented with a slider allowing you to adjust a green line representing where your hairline resides.

You can then select the corresponding Mask size will wear.


Training

The training pages allows you to view step by step instructions for donning on your Mask.

When viewing the Training page, tap ‘start’ and follow each step by pressing ‘next’.