mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Remove original frame clamping
This commit is contained in:
parent
65c3e9117e
commit
ff852098e4
@ -662,10 +662,10 @@ def process_frames(
|
|||||||
# apply max/min to ensure values do not exceed the known frame size
|
# apply max/min to ensure values do not exceed the known frame size
|
||||||
boxes = [
|
boxes = [
|
||||||
(
|
(
|
||||||
max(o[2][0], 0),
|
o[2][0],
|
||||||
max(o[2][1], 0),
|
o[2][1],
|
||||||
min(o[2][2] - o[2][0], detect_config.width - 1),
|
o[2][2] - o[2][0],
|
||||||
min(o[2][3] - o[2][1], detect_config.height - 1),
|
o[2][3] - o[2][1],
|
||||||
)
|
)
|
||||||
for o in group
|
for o in group
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user