Smart Occupancy Sensor
Setup
Scrypted can create a Smart Occupancy Sensor
that remains active while a specific object is detected on a camera. For example, the sensor can determine if a parking spot is utilized or a baby's crib is empty, and trigger automations.
Smart Occupancy Sensor requires Scrypted NVR Object Detection or any of the other object detection plugins like CoreML, OpenVINO, ONNX, or TensorFlow-lite.
- Install the
Video Analysis Plugin
. - Click
Add New
. - Select a camera to create a sensor.
- Select the desired detections to report.
- This sensor can be synced to other platforms to be used within automations.
License Plate Recognition
Scrypted can create a Smart Occupancy Sensor
that triggers on specific license plates. This feature requires Scrypted NVR Object Detection. License Plate Recognition is highly dependent on lighting conditions, vehicle speed, camera angle, and image quality.
Scrypted NVR Setup
When using Scrypted NVR, license plate recognition must first be enabled on the camera. Be aware that this will use reduce the camera's overall detection performance to also accomodate license plate recognition:
- Navigate to the camera in the Scrypted Management Console.
- Click the Object Detection Settings.
- Add
plate
to the detection list. - Click
Save
.
LPR Sensor Setup
- Set up a smart sensor as described in the steps above.
- In the Detection dropdown, select
plate
(Scrypted NVR) orlicensePlate
(Unifi). Thevehicle
orcar
detection type will not work, as that detects the entire vehicle and not specfically the license plate. - Navigate to the
Recognition
tab. - Type the license plate to detect. Press enter to add it to the list. Multiple license plates may be provided, repeat this process for as many plates are desired.
- Click
Save
.
TIP
License plate character recognition can be inaccurate depending on conditions. Changing the Label Distance
setting will configure the detector to allow a number of missing or incorrect characters when attempting to match a specific plate. Ie, a distance of 1 will match ABCDE
to ABCBE
or ABCD
.
Face Recognition
Scrypted can create a Smart Occupancy Sensor
that triggers on specific people. This feature requires requires Scrypted NVR Object Detection (currently no camera/plugin supports this on hardware). Face Recognition is highly dependent on lighting conditions and face capture angle.
Scrypted NVR Setup
When using Scrypted NVR, label some faces in the Detections overview tab to start recognizing the people of interest.
Face Recognition Sensor Setup
- Set up a smart motion sensor as described in the steps above.
- In the Detection dropdown, select
face
(Scrypted NVR). Theperson
detection type will not work, as that detects the entire person and not specfically the face. - Navigate to the
Recognition
tab. - Type the name of person to detect as labeled in the prior step. Press enter to add it to the list. Multiple names may be provided, repeat this process for as many people are desired.
- Set the
Label Distance
to0
so the name must exactly match. - Click
Save
.