0.16.0 Beta 3 #18501
Replies: 33 comments 209 replies
-
Beta Was this translation helpful? Give feedback.
-
The documentation gives a good general explanation of scoring for a set of faces but maybe some clarification on the formula with some examples? I also note that when the GROUP gets an Unknown marking even when there where matches it doesn't have a score.. It would be potentially useful to know how close to the current threshold the group was. Reprocessing individual faces also does not appear to refresh the group score. Overall this is really starting to get dialed in, false positives seem to be down, however I ask about the scoring as I have one set that had a few strong matches but failed to "MATCH" as a group so I was just trying to resolve how the formula worked without going into the code to figure it out. |
Beta Was this translation helpful? Give feedback.
-
On my side disabling the user setting "Automatic Live View" doesn't seem to show any effect. |
Beta Was this translation helpful? Give feedback.
-
Thanks, MQTT snapshots appear to be working again! |
Beta Was this translation helpful? Give feedback.
-
does it support the new vision model from Qwen? https://ollama.com/library/qwen2.5vl |
Beta Was this translation helpful? Give feedback.
-
Beta 3 fails to start with ONNX/ROCM
|
Beta Was this translation helpful? Give feedback.
-
Another observation: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'm attempting to use an AMD GPU to perform embeddings, using the rocm image. I now see this error.
|
Beta Was this translation helpful? Give feedback.
-
I have moved all of my cameras to full / primary stream resolution now for detect. Most of my face and plate detection issued are gone now. It can clearly read plates way more often and it can differentiate family members MUCH more reliably. Good clear sample faces for training are also more frequent. Probably going to move my frigate box to more powerful hardware in the future.. The 20-30% CPU camera warnings are little annoying and if ALL cameras have too much activity it does drive the CPU use up a lot, however with 4 cores and 8 cameras that isn't too much of a problem. |
Beta Was this translation helpful? Give feedback.
-
Is there any indication when 0.16 might get elevated away from Beta to production? Also keen to explore LPR and facial recog of course! |
Beta Was this translation helpful? Give feedback.
-
Still getting plenty of these unable to create snapshot warnings in my log - sometimes once a minute. Have tried numerous things, including increasing the /tmp/cache size, disabling snapshots on two of my cameras that have produced issues in the past (which was fixed by adding the #media=video in the go2rtc config), and upgrading my hardware from an intel 4770 cpu machine to a 9700 cpu machine (moving from i965 to iHD vaapi drivers). Have also tried using openvino as a detector instead of a coral just as a random experiment. Never saw these errors in 0.15 but have seen them in all three 0.16 betas.
My config is:
Docker config is (including the enlarged tmpfs):
|
Beta Was this translation helpful? Give feedback.
-
since beta2 it is not stable - always stop working siddenly =( beta1 works fine exept PTZ controls - they dont work at all =( |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Would you all be open to a config variable to disable CPU warnings? Any user running docker in a VM thru a hypervisor like Proxmox sees them constantly and it's not an accurate portrayal of the real usage since hypervisors usually dynamically allocate resources on demand between all VMs and the host. |
Beta Was this translation helpful? Give feedback.
-
Amazing release so far, it is awesome that all of this works locally. I am wondering if there are any recommendations for good cameras that could be used for dedicated LPR, I know I can look elsewhere but wasn't sure if there was a Frigate recommendation |
Beta Was this translation helpful? Give feedback.
-
When adding or removing pictures from training there seems to be a background process that runs before the model updates and clicking on reprocessing of photos will ACTAULLY use the updated info. Would it be possible to get a popup or something that said something like "Face model updated for [Name]" |
Beta Was this translation helpful? Give feedback.
-
Is there some python I could run against an image to TEST the OCR results with different enhancement levels or different sample images? I am getting infrequent matches but I can clearly read the plates or partial plates easily from the plate DEBUG so I am not sure what the is better or worse from the OCR software's point of view. Having a DEBUG screen where you could play with the settings and immediately see the results to tune for each camera would be awesome. I don't think OCR cares for color much and needs ULTRA high contrast I have used whiteboard capture tools at work that do a great job of flattening "photos" into two tone high contrast . Looks like this is possible with openCV, so I am curious if I could pre-process some images then TEST it with some CLI using frigates setting to see if it helps. https://santhalakshminarayana.github.io/blog/whiteboard-image-enhancement-opencv-python Same with de-skew. some of the plates look a bit off angle due to my camera angle AND the approach of the car https://stackoverflow.com/questions/78337034/deskew-image-using-opencv-in-python |
Beta Was this translation helpful? Give feedback.
-
Regarding rocm and onnx, will onnx be on par with rocm performance wise ? Will you release YOLOv9 model in Frigate+ ? In any case, another great release coming, thank you devs ! |
Beta Was this translation helpful? Give feedback.
-
One observation: Also when clicking on a face, I would expect to be bought to either the snapshot that face was taken from or the video exactly at the timecode that the face was taken from. That would allow me to quickly train difficult faces where you need context like clothes etc. Also a button "re-evaluate all" would be cool. |
Beta Was this translation helpful? Give feedback.
-
Having an issue: I have in config:
Detection disable works fine by itself. When I also disable motion, one camera logs: The others, I simply get FFMPEG crashes unexpectedly. Turning back on motion detection, the errors go away. |
Beta Was this translation helpful? Give feedback.
-
Where do I find the folder with the face training images? I though it was in Media, but it's not there. I'm running HAOS baremetal, with Frigate as an Add-on. |
Beta Was this translation helpful? Give feedback.
-
@hawkeye217 |
Beta Was this translation helpful? Give feedback.
-
I'm unable to get face recognition to work on my doorbell. It works fine on my other cameras. Would very much appreciate assistance to catch where I'm messing up on this camera. Previously with doubletake it worked pretty good with the person image being passed to doubletake for compreface review. I get zero face detections and zero to train on the doorbell camera. Originally, I tried to get it for frontyard, sidewalk and porch only (ignoring pavement) but at this point I don't care and would take anything. I may have really botched the config, I don't know. Any insight out there? Relevant pieces (I think) from my configuration file:
A sample mqtt listener result:
|
Beta Was this translation helpful? Give feedback.
-
I have been running Beta 1 and Beta 2 without any problems but with this Beta 3 I am having some trouble loading new recordings / events on one of my cameras. It'll never load these on any device - it'll just get stuck with the loading spinning icon. If you jump around on the timeline in the camera recording history this usually gets it to load ok 99% of the time. Existing recordings / events before the Beta 3 installation seem to mostly load fine, only a few out of many had an issue but I will monitor this. It seems to be just an issue with one camera but I am still testing. If it helps and/or related the camera with the issues is using Hikvision H.264+. The camera which is working fine is using Hikvision H.265+. They are quite different camera models apart from this difference. I will restart that camera now but I do not believe it to be an issue suddenly with this camera. I cannot see anything related in the logs, nor the Chrome developer console. Thank you. Edit: After turning off Hikvision H.264+ everything seems fine, but this did work fine before with all previous versions of Frigate so I thought I'd mention it. The camera restart alone didn't change anything and the camera was otherwise untouched. The camera running Hikvision H.265+ is still fine. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello, I try this beta version an I have a big issue after enable LPR or Face Recognition. My HomeAssistant was stuck after play record or search events. All others containers works fined and I need to reboot HA container. I have encountered this problem 7 times in less than a week. I disabled LPR/FR and all works fine |
Beta Was this translation helpful? Give feedback.
-
Is there a way to exclude alerts with matching faces. For example, I don't want to be alerted to my family when whey are at a exterior door. I know you can use 3rd party tools to filter this out but can you do it natively in frigate, and if not will it be included in version 17? thanks |
Beta Was this translation helpful? Give feedback.
-
Not sure if this is related to beta3 or if this is a general issue, but when I export clips, there are no thumbnails. Log shows the following:
If looking at the docker output, there are no further messages. |
Beta Was this translation helpful? Give feedback.
-
Reference: #18738 tldr; my HA alpr entities do not ever go "blank" |
Beta Was this translation helpful? Give feedback.
-
The next issue I'm seeing: There are some parts in the timeline, where the camera feed in the review tab doesn't load the video. Whats puzzling is, currently only one exact hour is affected this time: exactly 9pm to 10pm. If I jump to any other timecode on that day, it works fine. In the nginx log, I have the following error messages - always appearing in pairs.
Environment:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Documentation: https://deploy-preview-16390--frigate-docs.netlify.app/
Images
ghcr.io/blakeblackshear/frigate:0.16.0-beta3
ghcr.io/blakeblackshear/frigate:0.16.0-beta3-standard-arm64
ghcr.io/blakeblackshear/frigate:0.16.0-beta3-tensorrt
ghcr.io/blakeblackshear/frigate:0.16.0-beta3-rk
ghcr.io/blakeblackshear/frigate:0.16.0-beta3-rocm
ghcr.io/blakeblackshear/frigate:0.16.0-beta3-tensorrt-jp6
Changes since Beta 2
Bugfixes
Features
separator
field to proxy config to specify the character that separates fields in proxy headersMajor Changes for 0.16.0
Breaking Changes
There are several breaking changes in this release, Frigate will attempt to update the configuration automatically. In some cases manual changes may be required. It is always recommended to back up your current config and database before upgrading:
frigate.db
fileThe go2rtc audio handling has been updated to accept any audio codec instead of only AAC. This makes it easier to get audio from cameras that use PCMA/U audio. However, if the recording ffmpeg preset
preset-record-generic-audio-copy
is currently used it likely will need to be changed topreset-record-generic-audio-aac
to continue to support audio in recordings.Object detection is now disabled by default. A config migrator will update your config globally with
enabled: true
fordetect:
. If you use Frigate with a read-only config, you may need to edit your own config to enable object detection manually.Frigate will no longer fall back to look for a ffmpeg binary in
PATH
. If you are extending the Frigate image or somehow injecting a custom ffmpeg binary in a place like/usr/local/bin
, please read the custom ffmpeg build guide.Home Assistant Add-on users will need to be aware of several important breaking changes. See the Important Notes for Home Assistant Add-on Users section below.
The base image for Frigate has been updated to Debian Bookworm. The Jetpack 4 (
jp4
) and Jetpack 5 (jp5
) images have been removed due to not being compatible with the new base image. A new Jetson Jetpack 6 (jp6
) build has been contributed by a community member.The camera group icon pack has been updated. Some of your camera group icons may need to be re-selected.
The Hailo driver and firmware has been updated to 1.20.1. The standard Docker image now provides Hailo support. If you are using Home Assistant Operating System, version 15.0 is required. Other users will need to update the Hailo driver and firmware on their system using the user installation script.
The ROCm migraphx detector has been removed: Instead of separately supporting ROCm via MigraphX and via ONNX, the ROCm (
rocm
) detector has been removed, and theonnx
detector should be used instead. This change should only require changing thetype: rocm
totype: onnx
indetectors
An additional parameter has been added to
movement_weights
for autotracking users. A config migrator will add the new value so that Frigate starts, but if this fails or you are usingrelative
zooming with autotracking, you should removemovement_weights
from your config and recalibrate.Proxy header mapping for user roles is now required or setting the
default_role
toadmin
is required to achieve the same functionality as previous versions. This version implements a Viewer role, which is now the default for authenticated users without arole
header map defined in the config. If you are using a proxy, you must includeadmin
in your mapped role header in order for admin users to retain their elevated privileges. See the documentation.The
strftime_fmt
config option is now deprecated and will be removed in a future version. The UI will now define time formats based on your language and locale.Some API routes are now protected and require credentials or changes. With the introduction of the Viewer role and the ability to mark review items as reviewed separately per-user, changes may be needed to any services making calls to Frigate's API.
Important Notes for Home Assistant Add-on Users
For Home Assistant add-on users only
The Frigate config directory for add-on users was changed from the Home Assistant config directory to the add-on config directory. With this change, the Frigate config file and database are now part of the add-on backup taken by Home Assistant, no longer needing to backup them manually. Note that only backups after 0.16 will benefit of this change. If you took a backup of Frigate 0.15 when updating to 0.16, the Frigate config file and database will not be part of it. In that case, you should still backup them manually before updating to Frigate 0.16.
Automatic migration
Upon the first Frigate 0.16 initialization, all Frigate-related files will be moved from the Home Assistant config directory to the Frigate add-on config directory. This will mean these files will no longer be accessible through your Home Assistant
/config
directory. They will now be found in the/addon_configs
directory, which can also be accessed through the Terminal or VS Code add-ons.In the new directory, the Frigate config file will be named config.yml rather than frigate.yml. This aligns with people running Frigate through other means. If you want to move back to Frigate 0.15 and did not backup the config file, you can copy the
config.yml
from the/addons_config
back to/config/frigate.yml
before restoring the add-on. Consider copying back other files as well, like custom model, custom ffmpeg, and custom go2rtc. Note that the database from 0.16 is not compatible with Frigate 0.15 anyway and thus should not be copied back. To restore the database, you must restore it from a manual backup.Moving the config directory between add-on variants
The
/addon_configs
directory contains the config directories of all add-ons. You can move files from one addon config directory to another, like from Frigate Beta to the stable one, or vice-versa. Make sure you do that before uninstalling the add-on, unless you do not select the Also permanently delete this addon's data when uninstalling it.Breaking change
If your Frigate config file refers to any arbitrary files in the Home Assistant config dir, like
echo:/config/
scripts, their references must be manually updated to from/config/
to/homeassistant/
.New Features
Frigate 0.16 introduces several major new features.
Face Recognition
Frigate utilizes face detection and recognition to apply sub-labels to known faces. Recognized faces can be included in built-in notifications and integrated into third-party notifications.
Frigate+ is not required to use Face Recognition. However, using a Frigate+ model (or a custom model that detects
face
natively) enhances efficiency by eliminating the need for separate face detection per person.The accuracy of face recognition heavily depends on the quality of the images used for training. It is highly recommended to follow the training guide to achieve the best results.
Refer to the Face Recognition documentation for more.
License Plate Recognition (LPR)
Frigate detects and recognizes license plates, saving recognized plates to tracked car objects. Known license plates can also be assigned custom labels (e.g.,
AB12345
-->Bob's Car
).Frigate+ is not required for License Plate Recognition. However, using a Frigate+ model (or a custom model that detects
license_plate
natively) improves efficiency by eliminating the need for a separate detection model.For additional features such as regex-based matching, refer to the License Plate Recognition documentation.
Viewer Role
Frigate 0.16 introduces a Viewer role that restricts access to system features, the configuration editor, and the Frigate HTTP API. Viewers have permissions to use the Live view, Review, and Explore.
Additionally, each user can mark review items as reviewed independently so that one user's action will not hide the review items from others.
The Users tab in Settings can be used to create users and assign roles, and these roles are enforced when accessing Frigate through the authenticated port. Documentation
More fine-grained permissions (like denying access to specific cameras, for example) will come in a future version.
Proxies can also now map user roles. See the Proxy configuration documentation.
Improved Support For Object Detection Hardware and Models
Hailo8
The Hailo8 detector has been refactored by the Hailo team to greatly improve object detection performance and to add support for more model types. Documentation
ONNX & OpenVINO
Support has been added for a variety of new models for ONNX and OpenVINO detectors
RockChip (RKNN)
RockChip has had the following improvements:
Camera Improvements
Dynamically Enable and Disable Cameras
Frigate now offers the ability to enable / disable cameras dynamically, including buttons in the UI, MQTT, and using the
camera.turn_on
/camera.turn_off
services in the Home Assistant Integration. Disabling a camera stops all of Frigate's decoding and processing for that camera. See the documentation.Live Stream Selection
Frigate now allows configuring multiple streams per camera, so that any number of streams for a single camera can be created and selected in the UI. See the Live view documentation.
Camera groups now include per-camera settings to further customize the live streaming behavior of that camera in that camera group.
Other noteworthy live streaming improvements:
Other UI Changes
There are many other notable improvements to the Frigate UI:
Ctrl
+ scroll wheel on desktop.i18n Support
Frigate now supports internationalization and localization, making it possible to change the language of the UI. The language is auto-selected based on your browser locale and can also be changed via the Languages menu in the UI.
Some languages are not fully translated. Translation contributions are welcomed and can be made using Weblate.
Backend Features and Performance Improvements
New Base Image
Zones and Object Area
min_area
andmax_area
as a decimal between 0.000001 and .99 to represent a percentage of the frame. Numbers above 1 will still represent areas in pixels. For reference, 0.000001 represents ~1 pixel at 1280x720.Semantic Search
Bird Classification
ONVIF and Autotracking
person
object.Other notable changes
/recordings/summary
, to return true/false for each day that recordings are available.This discussion was created from the release 0.16.0 Beta 3.
Beta Was this translation helpful? Give feedback.
All reactions