mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-06-02 07:00:32 +00:00
get_relative_coordinates() previously logged "Not applying mask due to invalid coordinates. X,Y is outside ..." without naming the camera, so on a multi-camera setup the user had to guess which one to fix. Add an optional camera_name kwarg with default "" (no behavior change for existing callers). The global object-mask path in FrigateConfig.validate_config passes camera_name=camera_config.name since it already has it in scope, so legacy configs with absolute pixel coordinates now get an actionable log line: Not applying mask due to invalid coordinates for camera back. 9000,9000 is outside of the detection resolution 800x400. Use the editor in the UI to correct the mask. Existing wording is preserved verbatim except for the inserted " for camera <name>" segment. Runtime behavior is unchanged. Co-authored-by: Claude <noreply@anthropic.com>