mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
exception handling
This commit is contained in:
parent
7bb2006493
commit
c58c19da3a
@ -111,7 +111,7 @@ class PtzMotionEstimator:
|
|||||||
logger.debug(
|
logger.debug(
|
||||||
f"Motion estimator transformation: {self.coord_transformations.rel_to_abs([[0,0]])}"
|
f"Motion estimator transformation: {self.coord_transformations.rel_to_abs([[0,0]])}"
|
||||||
)
|
)
|
||||||
except:
|
except Exception:
|
||||||
# sometimes opencv can't find enough features in the image to find homography, so catch this error
|
# sometimes opencv can't find enough features in the image to find homography, so catch this error
|
||||||
logger.warning(
|
logger.warning(
|
||||||
f"Autotracker: motion estimator couldn't get transformations for {camera_name} at frame time {frame_time}"
|
f"Autotracker: motion estimator couldn't get transformations for {camera_name} at frame time {frame_time}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user