Run $ python gopro_opencv.py
HERO4 Black
HD4.02.05.00.00
Camera successfully connected!
Traceback (most recent call last):
File "gopro_opencv.py", line 15, in
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.2.0) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
Expected behavior
Should live stream gopro hero 4 black but instead it throwed his error.
Desktop (please complete the following information):
OS: Linux Ubuntu 18.04
Python 3.6.9
GoPro Hero 4 black
Additional context
I am also not able to stream the udp content on VLC or browser.
Describe the bug I am not able to stream using gopro_opencv.py because I get this error...
To Reproduce Steps to reproduce the behavior:
python gopro_keep_alive.py
$ python gopro_opencv.py
HERO4 Black HD4.02.05.00.00 Camera successfully connected! Traceback (most recent call last): File "gopro_opencv.py", line 15, inExpected behavior Should live stream gopro hero 4 black but instead it throwed his error.
Desktop (please complete the following information):
Additional context I am also not able to stream the udp content on VLC or browser.