Idea
In short
How do you build a face mask detector on a Pi?
A Pi camera checks whether a person at a clinic entrance is wearing a mask and shows a green or red light. You need Raspberry Pi 5, SanDisk microSD card 32 GB (A1, Class 10), Raspberry Pi 27 W USB-C power supply, Raspberry Pi Camera Module 3, LED 5 mm red, LED 5 mm green and Resistor 220 Ω × 2.
- Level
- Intermediate
- Time
- About 300 min
- Parts
- 7
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Use a trained image classifier on live video.
Parts list
- Single Board Computers
- SBC Accessories
- SBC Accessories
- SBC Accessories
- Semiconductors
- Semiconductors
- PassivesResistor 220 Ω × 2
How to build it
- Detect faces with a fast detector
- Crop each face
- Classify mask or no mask
- Light the LED
- Show results on screen without saving images
Common questions
What parts do I need for the face mask detector on a Pi?
Raspberry Pi 5, SanDisk microSD card 32 GB (A1, Class 10), Raspberry Pi 27 W USB-C power supply, Raspberry Pi Camera Module 3, LED 5 mm red, LED 5 mm green and Resistor 220 Ω × 2.
How long does the face mask detector on a Pi take to build?
About 300 minutes for a intermediate maker.
