PPE Detection API — Detect Safety Equipment in Images
Identify Personal Protective Equipment (PPE) worn by individuals in images — including head covers, face covers, and hand covers. Enhance workplace safety protocols and verify compliance in construction, healthcare, and industrial environments.
Features
Head Cover Detection
Detect hard hats and helmets on construction sites and industrial environments.
Face Cover Detection
Identify surgical masks, N95 masks, and cloth face coverings for healthcare compliance.
Hand Cover Detection
Detect surgical gloves and safety gloves on both hands independently.
Multi-Person Support
Analyze images with multiple workers — each person is individually assessed for PPE compliance.
Flexible Input
Upload a file via multipart or pass a public image URL — both work seamlessly.
Cloud-Based
No GPU needed on your end. Fully managed cloud infrastructure handles the processing.
API Reference
1 endpoint, simple integration. Here's everything you need.
Supported Content Types
https://ppe-detection1.p.rapidapi.com/detect-ppeDetect PPE on individuals in an image. Returns per-person results with head cover, face cover, and hand cover detection including confidence scores and bounding boxes.
imagefilerequiredImage file (JPEG, PNG, etc.) — use with multipart/form-data
urlstringrequiredPublic URL of the image to process — use with application/x-www-form-urlencoded
Send either image (file upload) or url (form-encoded), not both.
{
"statusCode": 200,
"body": {
"Persons": [
{
"Id": "person-1",
"Confidence": 0.99,
"BoundingBox": { "left": 0.1, "top": 0.05, "width": 0.3, "height": 0.85 },
"HeadCover": {
"Confidence": 0.96,
"BoundingBox": { "left": 0.15, "top": 0.05, "width": 0.12, "height": 0.1 }
},
"FaceCover": {
"Confidence": 0.94,
"BoundingBox": { "left": 0.16, "top": 0.12, "width": 0.1, "height": 0.08 }
},
"RightHandCover": null,
"LeftHandCover": null
}
]
}
}Response
Returns JSON with a list of detected persons, each with PPE status for head cover, face cover, right hand cover, and left hand cover. Null values indicate no equipment detected for that category.
Quick Start
Copy-paste code to get started in seconds. Replace YOUR_API_KEY with your RapidAPI key.
# File upload
curl -X POST "https://ppe-detection1.p.rapidapi.com/detect-ppe" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: ppe-detection1.p.rapidapi.com" \
-F "image=@photo.jpg"
# URL input
curl -X POST "https://ppe-detection1.p.rapidapi.com/detect-ppe" \
-H "x-rapidapi-key: YOUR_API_KEY" \
-H "x-rapidapi-host: ppe-detection1.p.rapidapi.com" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "url=https://example.com/photo.jpg"Pricing
Start free, scale as you grow. All plans include full API access with no credit card required for the free tier.
Basic
30 requests/mo
- Full API access
- All endpoints
- Standard support
Pro
5,000 requests/mo
- Full API access
- All endpoints
- Standard support
Ultra
10,000 requests/mo
- Full API access
- All endpoints
- Standard support
Mega
50,000 requests/mo
- Full API access
- All endpoints
- Standard support
Frequently Asked Questions
- What types of PPE can the detection API identify?
- The PPE detection API identifies three categories of personal protective equipment: head covers (hard hats, helmets), face covers (surgical masks, N95 masks), and hand covers (gloves on both hands). Each detection includes a confidence score and bounding box coordinates.
- Can the API check PPE compliance for multiple workers at once?
- Yes. The PPE detection API analyzes images with multiple people and returns individual PPE assessments for each detected person. Every person is evaluated separately for head cover, face cover, right hand cover, and left hand cover, enabling automated compliance checks across teams.
- How can I use this API for workplace safety monitoring?
- Integrate the PPE detection API with your security camera feeds or inspection photo workflows to automatically verify that workers are wearing required safety equipment. The API returns structured JSON with per-person results, making it easy to flag non-compliant individuals and generate safety reports.
Start Using PPE Detection Today
Sign up on RapidAPI to get your API key. The free tier includes generous monthly requests — no credit card required.