MARKETPLACE
PLUGINS
AWS REKOGNITION - PPE DETECTION
AWS Rekognition - PPE Detection logo

AWS Rekognition - PPE Detection

Published November 2020
   •    Updated June 2025

Plugin details

Secure your workplace by detecting Personal Protective Equipment (PPE) worn by persons in an image.
The following element is provided:
- AWS REKOGNITION - PPE DETECTION (FRONT-END)

The following actions are provided:
- DETECT PERSONAL PROTECTIVE EQUIPMENT (FRONT-END)
- DETECT PERSONAL PROTECTIVE EQUIPMENT (BACK-END)

A script is provided to automatically configure your AWS account settings.

For example, you can use PPE detection to help determine if workers on a construction site are wearing head covers, or if medical workers are wearing face covers and hand covers.

This plugin returns the list of 15 people maximum who properly wear the PPE's against the PPE's requirements you set, detected in the image, along with the parts of a body where the PPE is or is not properly worn, and the types of detected PPE's (face cover, hand cover, and head cover).

You can use this information to improve workplace safety practices. Our technology uses biometrics and Artificial Intelligence.

Demo Link: https://awsrekognitionppedemo.bubbleapps.io/version-test

Editor Link: https://bubble.io/page?type=page&name=index&id=awsrekognitionppedemo-editor&tab=tabs-1

💡 𝗦𝘂𝗯𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻𝘀 𝗮𝗿𝗲 𝗽𝗿𝗼𝗿𝗮𝘁𝗲𝗱. 𝗜𝗳 𝘆𝗼𝘂 𝗶𝗻𝘀𝘁𝗮𝗹𝗹 𝗮𝗻𝗱 𝘂𝗻𝘀𝘂𝗯𝘀𝗰𝗿𝗶𝗯𝗲 𝘁𝗵𝗶𝘀 𝗽𝗹𝘂𝗴𝗶𝗻 𝗶𝗻 𝗼𝗻𝗲 𝗱𝗮𝘆 𝘁𝗼 𝘁𝗲𝘀𝘁 𝗶𝘁 𝗼𝘂𝘁, 𝘆𝗼𝘂'𝗹𝗹 𝗼𝗻𝗹𝘆 𝗯𝗲 𝗰𝗵𝗮𝗿𝗴𝗲𝗱 𝟭/𝟯𝟬𝘁𝗵 𝗼𝗳 𝘁𝗵𝗲 𝗺𝗼𝗻𝘁𝗵𝗹𝘆 𝘀𝘂𝗯𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻 𝗳𝗲𝗲.

📖 𝗦𝘁𝗲𝗽-𝗯𝘆-𝗦𝘁𝗲𝗽 𝗶𝗻𝘀𝘁𝗿𝘂𝗰𝘁𝗶𝗼𝗻𝘀 𝗮𝗿𝗲 𝘁𝗵𝗲 "𝗜𝗻𝘀𝘁𝗿𝘂𝗰𝘁𝗶𝗼𝗻𝘀" 𝘀𝗲𝗰𝘁𝗶𝗼𝗻 𝗮𝗻𝗱 𝗗𝗲𝗺𝗼 𝗘𝗱𝗶𝘁𝗼𝗿 𝗶𝘀 𝗶𝗻 𝘁𝗵𝗲 "𝗟𝗶𝗻𝗸𝘀" 𝘀𝗲𝗰𝘁𝗶𝗼𝗻 𝗼𝗳 𝘁𝗵𝗲 𝗣𝗹𝘂𝗴𝗶𝗻 𝗣𝗮𝗴𝗲.

Contact us at [email protected] for any additional feature you would require or support question.

$29

One time  •  Or  $5/mo

stars   •   0 ratings
2 installs  
This plugin does not collect or track your personal data.

Platform

Web & Native mobile

Contributor details

wise:able logo
wise:able
Joined 2020   •   122 Plugins
View contributor profile

Instructions

1️⃣: AWS REKOGNITION - PPE DETECTION (FRONT-END) ===========================================

📋 ELEMENT DESCRIPTION
--------------------------------
AWS REKOGNITION - PPE DETECTION provides DETECT PERSONAL PROTECTIVE EQUIPMENT action to help determine if workers on a construction site are wearing head covers, or if medical workers are wearing face covers and hand covers.
The front-end element is suitable for applications when reactivity is desired, such as but not limited to, mobile applications. It supports multiple image formats and automatically optimizes images to meet AWS requirements.

🔧 STEP-BY-STEP SETUP
--------------------------------
ℹ️ The steps from 0) to 1) can be automatically performed by using this deployment template:
https://console.aws.amazon.com/cloudformation/home?#/stacks/create/review?stackName=BubbleRekognitionSyncOnly&templateURL=https://bubble-resources.s3.amazonaws.com/deployment-assets/CloudFormation-AWSRekognitionSyncOnly.yaml

You will find the required parameters values used across the plugin in the "OUTPUT" tab of the created stack.

0) Sign-up for AWS REKOGNITION by following this link: https://console.aws.amazon.com/rekognition/home?p=rkn&cp=bn&ad=c

1) Create your AWS REKOGNITION ACCESS KEY & ACCESS KEY SECRET and attach the AWS REKOGNITION READ ONLY or FULL ACCESS POLICY to DETECTPROTECTIVEEQUIPMENT API: https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys

If you intend to use AWS S3 URI (s3://) with your own BUCKET, attach the AWS S3 READ ONLY policy to the considered BUCKET.

2) Register on plugins.wiseable.io. Create a new Credential which associates your BUBBLE APP URL, AWS REKOGNITION ACCESS KEY & ACCESS KEY SECRET.
The registration service will generate your PUBLIC ACCESS KEY. This key serves as a secure proxy for your real API key. It allows your application to communicate with the service without exposing your real API key. Since this PUBLIC ACCESS KEY is explicitly tied to your registered BUBBLE APP URL, it can only be used from that domain, ensuring that even if the key is publicly visible, it remains safe and cannot be misused by unauthorized sources.

3) Enter in the PLUGIN SETTINGS your PUBLIC ACCESS KEY (used for this element only), AWS SERVICE ENDPOINT REGION (if not provided, the default endpoint is "us-east-1").

4) Add the AWS REKOGNITION - PPE DETECTION (FRONT-END) element to the page on which the PPE detection feature must be integrated. Select the RESULT DATA TYPE as Returned type, must always be set to "RESULT (REKOGNITION - PPE DETECTION)".

5) Integrate the logic into your application using the following AWS REKOGNITION - PPE DETECTION (FRONT-END) element's states and actions:

FIELDS:
- RESULT DATA TYPE: Returned type, must always be set to "RESULT (REKOGNITION - PPE DETECTION)".  

EVENTS:
- SUCCESS: Event triggered upon success
- ERROR: Event triggered upon error

EXPOSED STATES:
Use any element able to show/process the data of interest (such as a Group with a Text field) stored within the result of the following states of the AWS REKOGNITION - PPE DETECTION (FRONT-END) element:
- RESULTS: Populated upon SUCCESS event. Returns the list of 15 people maximum who properly wear the PPE's against the PPE's requirements you set, detected in the image, along with the parts of a body where the PPE is or is not properly worn, and the types of detected PPE's.
- ERROR MESSAGE: Populated upon ERROR event.
- IS PROCESSING: Set to true when processing is in progress, false otherwise.

ELEMENT ACTIONS - TRIGGERED IN WORKFLOW:
- DETECT PERSONAL PROTECTIVE EQUIPMENT (FRONT-END): Detect PPE worn by persons in an image. Populate RESULTS state upon completion.

  Inputs Fields:
     - IMAGE: Image from the Bubble.io uploader, or a Protocol-relative URLs (//server/file.ext), a HTTPS file URL (https://server/file.ext) or a AWS S3 URI (s3://bucket/image.jpg). For both Protocol-relative and HTTPS URL, the file must be accessible through HTTPS Protocol.
     - MIN CONFIDENCE: Specifies the minimum confidence level for the required equipment. Amazon Rekognition doesn't return any equipment with confidence lower than this specified value. Minimum value of 0. Maximum value of 100. Default value is 80 if not provided.
     - FACE COVER: Specifies Face Cover as a required equipment.
     - HAND COVER: Specifies Hand Cover as a required equipment.
     - HEAD COVER: Specifies Head Cover as a required equipment.

2️⃣: DETECT PERSONAL PROTECTIVE EQUIPMENT (BACK-END)
==================================

📋 ACTION DESCRIPTION
--------------------------------
DETECT PERSONAL PROTECTIVE EQUIPMENT detects to help determine if workers on a construction site are wearing head covers, or if medical workers are wearing face covers and hand covers.
The back-end action is suitable for applications when volume or asynchronous processing is desired.

🔧 STEP-BY-STEP SETUP
--------------------------------
ℹ️ If not already done, perform steps 0, 1, and 3 of the first element setup. The back-end action does not require the PUBLIC ACCESS KEY.

1) Set up the action "DETECT PERSONAL PROTECTIVE EQUIPMENT (BACK-END)" action in the workflow.

  Input Fields:
     - IMAGE: JPEG or PNG image from the Bubble.io uploader, or a Protocol-relative URLs (//server/file.ext), a HTTPS file URL (https://server/file.ext) or a AWS S3 URI (s3://bucket/image.jpg). For both Protocol-relative and HTTPS URL, the file must be accessible through HTTPS Protocol.
     - MIN CONFIDENCE: Specifies the minimum confidence level for the required equipment. Amazon Rekognition doesn't return any equipment with confidence lower than this specified value. Minimum value of 0. Maximum value of 100. Default value is 80 if not provided.
     - FACE COVER: Specifies Face Cover as a required equipment.
     - HAND COVER: Specifies Hand Cover as a required equipment.
     - HEAD COVER: Specifies Head Cover as a required equipment.
     - OUTPUT TYPE: Returned type, must always be set to "RESULT (REKOGNITION - PPE DETECTION)".
 
  Output Fields:
     - RESULTS: Returns the list of 15 people maximum who properly wear the PPE's against the PPE's requirements you set, detected in the image, along with the parts of a body where the PPE is or is not properly worn, and the types of detected PPE's (face cover, hand cover, and head cover).

🔍 IMPLEMENTATION EXAMPLE
======================
Feel free to browse the app editor in the Service URL for an implementation example.

ℹ️ ADDITIONAL INFORMATION
======================
> DETECT PROTECTIVE EQUIPMENT details: https://docs.aws.amazon.com/rekognition/latest/dg/ppe-detection.html#ppe-confidence

> AWS REKOGNITION service limits: https://docs.aws.amazon.com/rekognition/latest/dg/limits.html
> AWS services availability per region: https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/
> AWS Service endpoints list: https://docs.aws.amazon.com/general/latest/gr/rande.html

⚠️ TROUBLESHOOTING
================
Any plugin related error will be posted to the Logs tab, "Server logs" section of your App Editor.
Make sure that "Plugin server side logging" and "Plugin client side logging" are selected in "Show Advanced".

For front-end actions, you can also open your browser's developer console (F12 or Ctrl+Shift+I in most browsers) to view detailed error messages and logs.

Always check the ERROR MESSAGE state of the element and implement error handling using the ERROR event to provide a better user experience.

> Server Logs Details: https://manual.bubble.io/core-resources/bubbles-interface/logs-tab#server-logs

⚡ PERFORMANCE CONSIDERATIONS
===========================

GENERAL
-------------
For back-end actions, this implementation posts the file data to AWS for non-AWS Storage URI (e.g: non-s3://). The maximum processing duration of this action is capped at 30 seconds as per Bubble.io design. This time limitation does not apply to front-end actions.

⏱️ BACK-END ACTION START DELAY
-----------------------------------------------
Each time a server-side action is called, Bubble initializes a small virtual machine to execute the action. If the same action is called shortly after, the caching mechanism kicks in, resulting in faster execution on subsequent calls.

A useful workaround is to fire a dummy execution at page load, which pre-warms the Bubble engine for the next few minutes, reducing the impact of cold starts for your users.

FRONT-END VS BACK-END PROCESSING
----------------------------------------------------
The front-end element is designed to support and optimize multiple image formats and will automatically compress images to adhere to AWS requirements. The back-end action doesn't perform this optimization, so be careful with file size and format when using it.

❓ QUESTIONS?
===========
Contact us at [email protected] for any additional feature you would require or support question.

Types

This plugin can be found under the following types:
Api   •   Background Services   •   Element   •   Event   •   Action

Categories

This plugin can be found under the following categories:
Media   •   Productivity   •   Compliance   •   Health & Fitness   •   AI   •   Visual Elements

Resources

Support contact
Documentation
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble