mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-01 04:16:50 +03:00
Bugfix: use np.copy for current frame in object processing (#16594)
This commit is contained in:
@@ -473,7 +473,7 @@ class CameraState:
|
|||||||
|
|
||||||
if current_frame is not None:
|
if current_frame is not None:
|
||||||
self.current_frame_time = frame_time
|
self.current_frame_time = frame_time
|
||||||
self._current_frame = current_frame
|
self._current_frame = np.copy(current_frame)
|
||||||
|
|
||||||
if self.previous_frame_id is not None:
|
if self.previous_frame_id is not None:
|
||||||
self.frame_manager.close(self.previous_frame_id)
|
self.frame_manager.close(self.previous_frame_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user