Home/APIs/PPE Detection
Computer VisionFree tier available

Detect personal protective 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

multipart/form-dataapplication/x-www-form-urlencoded
POSThttps://ppe-detection1.p.rapidapi.com/detect-ppe

Detect 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.

imagefilerequired

Image file (JPEG, PNG, etc.) — use with multipart/form-data

urlstringrequired

Public URL of the image to process — use with application/x-www-form-urlencoded

Send either image (file upload) or url (form-encoded), not both.

Response Schema
{
  "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

200

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.

Free

Basic

$0Free

30 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Pro

$12.99/mo

5,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support
Recommended

Ultra

$22.99/mo

10,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

Mega

$92.99/mo

50,000 requests/mo

  • Full API access
  • All endpoints
  • Standard support

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.