DetectProtectiveEquipment
Source:
src/AWS/Rekognition/DetectProtectiveEquipment.ts
Runtime binding for rekognition:DetectProtectiveEquipment — detect personal protective equipment (face covers, hand covers, head covers) worn by persons in an image.
The binding takes no arguments and grants the function
rekognition:DetectProtectiveEquipment on * (Rekognition data-plane resources such
as collections, users, and jobs are routinely created at runtime, so
their identifiers are unknown at deploy time). Provide the
implementation with Effect.provide(AWS.Rekognition.DetectProtectiveEquipmentHttp).
Image Analysis
Section titled “Image Analysis”// initconst detectProtectiveEquipment = yield* AWS.Rekognition.DetectProtectiveEquipment();
// runtimeconst result = yield* detectProtectiveEquipment({ Image: { Bytes: imageBytes }, SummarizationAttributes: { MinConfidence: 80, RequiredEquipmentTypes: ["FACE_COVER"], },});