Hi, I'm new to openCV and pipeline so, any help is much appreciated!
I'm running with RaspberryPi4 + OAK1. So far, I can run the following projects successfully - depthai_demo, the HelloWorld tutorial, and gen2-pedestrian.
As for social-distancing, I've run the install requirements. But I get the following error when executing the main.
2021-06-15 11:48:37,097 - root - INFO - Logging system initialized, kept in file /home/pi/depthai-experiments/social-distancing/camera.log...
2021-06-15 11:48:37,179 - main - INFO - Setting up debug run...
XLink initialized.
Sending internal device firmware
Failed to boot the device: 1.1-ma2480, err code 3
depthai: Error initializing xlink
2021-06-15 11:48:42,360 - depthai_utils - INFO - Creating DepthAI pipeline...
device is not initialized
Traceback (most recent call last):
File "main.py", line 124, in <module>
MainDebug().run()
File "main.py", line 53, in init
super().init()
File "main.py", line 21, in init
self.depthai = self.depthai_class(MODEL_LOCATION)
File "/home/pi/depthai-experiments/social-distancing/depthai_utils.py", line 76, in init
super().init(*args, **kwargs)
File "/home/pi/depthai-experiments/social-distancing/depthai_utils.py", line 30, in init
'blob_file_config': str(Path(model_location, 'config.json').absolute())
File "/home/pi/depthai-experiments/social-distancing/depthai_utils.py", line 19, in create_pipeline
raise RuntimeError("Pipeline was not created.")
RuntimeError: Pipeline was not created.
Exception ignored in: <function DepthAIDebug.del at 0xab029b28>
Traceback (most recent call last):
File "/home/pi/depthai-experiments/social-distancing/depthai_utils.py", line 93, in del
self.fps.stop()
AttributeError: 'DepthAIDebug' object has no attribute 'fps'