frigate/frigate/config
Puma7 e9432d55e8
Some checks are pending
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
log(masks): include camera name in invalid-coordinates error (#23156)
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>
2026-05-10 15:21:44 -05:00
..
camera Fixes (#23130) 2026-05-07 12:23:02 -06:00
__init__.py Add networking options for configuring listening ports (#21779) 2026-02-26 21:27:56 -07:00
auth.py Full UI configuration (#22151) 2026-02-27 08:55:36 -07:00
base.py Dynamically update masks and zones for cameras (#18359) 2025-08-16 10:20:33 -05:00
camera_group.py Full UI configuration (#22151) 2026-02-27 08:55:36 -07:00
classification.py UI fixes (#23127) 2026-05-07 08:53:07 -05:00
config.py log(masks): include camera name in invalid-coordinates error (#23156) 2026-05-10 15:21:44 -05:00
database.py Full UI configuration (#22151) 2026-02-27 08:55:36 -07:00
env.py Improve environment var handling (#22796) 2026-04-07 07:16:02 -06:00
logger.py Full UI configuration (#22151) 2026-02-27 08:55:36 -07:00
mqtt.py Merge remote-tracking branch 'origin/master' into dev 2026-03-22 17:34:11 -05:00
network.py Full UI configuration (#22151) 2026-02-27 08:55:36 -07:00
profile_manager.py Improve profile state management and add recap tool (#22715) 2026-03-31 19:09:32 -05:00
profile.py Camera profile support (#22482) 2026-03-19 09:47:57 -05:00
proxy.py Full UI configuration (#22151) 2026-02-27 08:55:36 -07:00
telemetry.py Rewrite intel stats (#23108) 2026-05-04 10:36:32 -05:00
tls.py Full UI configuration (#22151) 2026-02-27 08:55:36 -07:00
ui.py Full UI configuration (#22151) 2026-02-27 08:55:36 -07:00