0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-12 09:41:18 +02:00

Fix for #318 by kageurufu

This commit is contained in:
boltgolt 2021-01-09 18:49:06 +01:00
parent 658de16649
commit b04ffe5bd8
No known key found for this signature in database
GPG key ID: BECEC9937E1AAE26

View file

@ -120,7 +120,8 @@ class VideoCapture:
else:
# Start video capture on the IR camera through OpenCV
self.internal = cv2.VideoCapture(
self.config.get("video", "device_path")
self.config.get("video", "device_path"),
cv2.CAP_V4L
)
# Force MJPEG decoding if true