mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-09-26 11:31:28 +08:00
chore: fix some typos in comments (#11028)
Signed-off-by: alongdate <alongyear@outlook.com>
This commit is contained in:
@@ -53,7 +53,7 @@ def get_frame_shape(source):
|
||||
if video_info["height"] != 0 and video_info["width"] != 0:
|
||||
return (video_info["height"], video_info["width"], 3)
|
||||
|
||||
# fallback to using opencv if ffprobe didnt succeed
|
||||
# fallback to using opencv if ffprobe didn't succeed
|
||||
video = cv2.VideoCapture(source)
|
||||
ret, frame = video.read()
|
||||
frame_shape = frame.shape
|
||||
|
Reference in New Issue
Block a user