You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm streaming video from a robot's camera to a web server, and I want to capture the web server stream in this handtracking program. I tried changing line 69 in detect_single_threaded.py to
cap = cv2.VideoCapture('http://localhost:8080/stream_viewer?topic=/image_raw', cv2.CAP_FFMPEG)
but it crashes. I have also tried using cv2.CAP_GSTREAMER but same crash. Ideas?
Error is:
Error converting to RGB
Traceback (most recent call last):
File "detect_single_threaded.py", line 96, in <module>
detection_graph, sess)
File "/home/erinline/src/biometrics/handtracking/utils/detector_utils.py", line 90, in detect_objects
feed_dict={image_tensor: image_np_expanded})
File "/home/erinline/.local/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 950, in run
run_metadata_ptr)
File "/home/erinline/.local/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1142, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
The text was updated successfully, but these errors were encountered:
I'm streaming video from a robot's camera to a web server, and I want to capture the web server stream in this handtracking program. I tried changing line 69 in
detect_single_threaded.py
tobut it crashes. I have also tried using cv2.CAP_GSTREAMER but same crash. Ideas?
Error is:
The text was updated successfully, but these errors were encountered: