Amazon Face Recognition is a full-featured, production-ready recognition ecosystem for Home Assistant, built on top of AWS Rekognition.
It is not just a simple integration, but a cohesive system composed of:
- 🧠 a custom integration (image processing, AWS communication, sensors & events)
- 🖥 a dedicated Custom Control Panel (configuration, management, ROI editor, gallery, plates)
- 🖼 a built-in Custom Lovelace Card (visualization and inspection)
All components are designed together to work as one coherent platform.
There is:
- ❌ no legacy YAML configuration
- ❌ no manual JavaScript resources
- ❌ no external scripts or tools
Everything is managed directly from the Home Assistant UI.
- AWS Rekognition is used as the AI engine
- Home Assistant is the single control point
- The Custom Control Panel is the source of truth
- Local data is always kept aligned with AWS
- The Custom Card is read-only and always reflects backend state
- Multilingual UI (automatically follows Home Assistant language)
This approach guarantees consistency, reliability and long-term maintainability.
- Face recognition using AWS Rekognition Face Collections
- Clear separation between recognized and unrecognized faces
- Fully visual training workflow
- Annotated snapshots with bounding boxes and labels
- Local face index synchronized with AWS at startup
The Gallery is the visual core of the ecosystem.
It provides a real-time and historical view of all processed images, including:
- recognized faces
- unknown faces
- detected vehicles
- license plates
- timestamps and camera source
From the Gallery you can:
- upload training images
- assign faces to identities
- delete a person or clear the entire collection
- refresh the face index
All actions are performed safely:
- AWS is updated
- local cache is updated
- UI refreshes instantly
No services or YAML are required.
ROI allows you to define specific areas of the camera image that should be analyzed.
Key benefits:
- 🎯 focus detection only on relevant zones
- ❌ ignore background or irrelevant areas
- 📉 reduce false positives
- 💰 significantly lower AWS costs
- ⚡ improve performance
Features:
- multiple ROIs per camera
- visual ROI editor
- instant application (no restart required)
- consistent behavior across gallery, sensors and automations
If no ROI is defined, the full image is analyzed.
- Vehicle detection (car, truck, motorcycle, bus)
- License plate OCR
- Plate → owner mapping
- Dedicated Plates panel
- Annotated snapshots with vehicle and plate bounding boxes
Vehicle and plate detection can be finely tuned to balance:
- accuracy
- performance
- AWS cost
The Custom Lovelace Card is automatically available after installation.
It provides a powerful, read-only visualization layer:
- annotated snapshot viewer
- zoom, pan and reset
- live camera view toggle
- recognized vs unknown summary
- detected objects and vehicles
- license plates with confidence
- snapshot download
No separate installation is required:
- no JS resources to add
- no extra HACS steps
The card always reflects exactly the same data used by:
- the Control Panel
- the Gallery
- sensors and automations
The integration exposes multiple sensors and attributes that can be used for:
- notifications when an unknown person is detected
- alerts when a specific person appears
- vehicle or plate-based automations
- cost monitoring and usage statistics
What you see in the UI is exactly what automations receive. There are no hidden detections or mismatches.
- Open HACS
- Go to Integrations
- Add this repository as a Custom Repository
- Search for Amazon Face Recognition
- Install and restart Home Assistant
After restart:
- add the integration from Settings → Devices & Services
- complete the configuration wizard (AWS credentials + collection)
Amazon Face Recognition automatically loads its frontend files at startup. In most cases, no manual action is required.
However, due to how Home Assistant and the Companion App handle frontend caching, some environments may fail to load the Lovelace card reliably (e.g. after app resume or cold start).
Please add the card resource manually:
- Go to Settings → Dashboards → Resources
- Add a new resource:
url: /amazon_face_recognition/frontend/aws-face-recognition-card.js type: module
- Reload resources or restart Home Assistant
This makes the card fully persistent and eliminates random loading issues in the Home Assistant Companion App.
📘 Full documentation is available in the GitHub Wiki:
👉 https://github.com/madmicio/amazon_face_recognition/wiki
The Wiki includes:
- AWS setup
- Control Panel usage
- Gallery and ROI
- Vehicles & plates
- Options reference
- Sensors & services
- Automation examples
- Troubleshooting and FAQ
This project is not affiliated with Amazon or AWS.
Amazon Rekognition is a trademark of Amazon Web Services.




