Hi demoacct01
I was able to reproduce this. Something is definitely wrong with this example. I wonder if when we shrinking our Github we messed up commit-linking from this repository.
Anyway, I get the same error:
leeroy@Leeroys-iMac social-distancing % python3 main.py
2021-01-07 15:38:15,658 - root - INFO - Logging system initialized, kept in file /Users/leeroy/depthai-experiments/social-distancing/camera.log...
2021-01-07 15:38:15,968 - __main__ - INFO - Setting up debug run...
Traceback (most recent call last):
File "/Users/leeroy/depthai-experiments/social-distancing/main.py", line 126, in <module>
MainDebug().run()
File "/Users/leeroy/depthai-experiments/social-distancing/main.py", line 53, in __init__
super().__init__()
File "/Users/leeroy/depthai-experiments/social-distancing/main.py", line 21, in __init__
self.depthai = self.depthai_class(MODEL_LOCATION, 'people')
File "/Users/leeroy/depthai-experiments/social-distancing/depthai_utils.py", line 84, in __init__
super().__init__(*args, **kwargs)
TypeError: __init__() takes 2 positional arguments but 3 were given
Exception ignored in: <function DepthAIDebug.__del__ at 0x1614994c0>
Traceback (most recent call last):
File "/Users/leeroy/depthai-experiments/social-distancing/depthai_utils.py", line 104, in __del__
super().__del__()
File "/Users/leeroy/depthai-experiments/social-distancing/depthai_utils.py", line 78, in __del__
del self.pipeline
AttributeError: pipeline
Will circle back soon.
Thanks,
Brandon