Thank you Erik,
I will take a look at this as soon as I can, compiling "opencv-contrib-python" as we speak. Takes forever on RPi
Thank you Erik,
I will take a look at this as soon as I can, compiling "opencv-contrib-python" as we speak. Takes forever on RPi
First real outdoor test with my test robot:
OneDrive link, about 3 min long:
https://1drv.ms/v/s!Apv2S-u3rGa7jcYNdeS0GjTQXSq8kQ
This a custom pcb board I designed which runs on a ARM mcu, and one RPi that snaps on to the board.
In this video Im using the disparity stream which detects objects in three ROI, left, front and right.
(Sorry about the Swedish words in the video, I presented this to a group of R&D people.)
That's awesome @Selective ! Thanks for sharing! Do you mind if I put that on LinkedIN/Twitter?
Thanks again,
Brandon
Thanks!
Go for it
Apologies for resurrecting this thread but: a) I only started working with Python a few days ago and I haven't found a solution myself; b) searching this forum and via Google only turned up this thread.
I have been trying to write detection data to a CSV file, first by modifying the demo code, then using the code by @Selective, above. My version is here.
The error shown is:
Traceback (most recent call last):
File "ToCSV.py", line 37, in <module>
DepthAI().run()
File "ToCSV.py", line 29, in run
nnet_packets, data_packets = self.p.get_available_nnet_and_data_packets()
AttributeError: 'DepthAI' object has no attribute 'p'
This means nothing to me (it does appear to be DEFined). Please would it be possible give a newby a prod in the right direction?
Thank you,
Hugh
Hello @HughN ,
your code is actually gen1 of our library. We now have gen2 (docs here), which is much more flexible and powerful. Sorry about the change - but your script won't work with latest depthai library.
I would suggest starting from eg. this example code, and add CSV saving by yourself (after line 139
, where you get spatial detections).
Thanks, Erik
Great, thanks for the feedback