vision module is not using rtmp stream anymore
jpeg webstream now runs with nearly zerolatency (currently limited to 640x480px)
This commit is contained in:
parent
6c579bb5fb
commit
d4b577046e
5 changed files with 20 additions and 8 deletions
|
@ -47,8 +47,9 @@ class __Streaming:
|
|||
This is done implicitly when importing the vision module and will only fail if you would
|
||||
create an object of this class. (There can (SHOULD!) only be one VideCapture)
|
||||
"""
|
||||
self.__camera_stream = cv2.VideoCapture(RTMP_SERVER)
|
||||
# self.__camera_stream = cv2.VideoCapture(0)
|
||||
Logging.get_logger().info("capturing rtmp stream is disabled in this version")
|
||||
#self.__camera_stream = cv2.VideoCapture(RTMP_SERVER)
|
||||
self.__camera_stream = cv2.VideoCapture(0)
|
||||
self.__newest_frame = None
|
||||
self.__lock = threading.Lock()
|
||||
Logging.get_logger().info("Initialized vision")
|
||||
|
|
Reference in a new issue