Blind-Assistance-Object-Detection-and-Navigation
Blind-Assistance-Object-Detection-and-Navigation copied to clipboard
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Hi! I have followed the same procedure mentioned in your blog post, saved the code in a file named 'web_object_detection.py, but got the following error:
_[ WARN:0] global /tmp/pip-req-build-13uokl4r/opencv/modules/videoio/src/cap_v4l.cpp (890) open VIDEOIO(V4L2:/dev/video0): can't open camera by index
2021-07-01 10:37:25.471802: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-07-01 10:37:25.472225: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-07-01 10:37:25.481073: I tensorflow/core/common_runtime/process_util.cc:146] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
Traceback (most recent call last):
File "web_object_detection.py", line 177, in