• DepthAI-v2
  • Couple of very basic depthai-python installation questions

(previously posted, but deleted then moved to DepthAI forum)

Brand new Oak-1 user here with a few getting started questions. Broke out the module this week and went thru the OSX video/installation procedure to (hopefully correctly) get 2.1.0.0 installed with all required dependencies (using PyCharm). The basic 01_rgb_preview.py file runs fine, so that was good to see. (I’m working thru some of the other examples, and am having a few not run and/or other issues, but I’m thinking this might be due to them being applicable to the Oak-D vs the -1).

This said, what I’ve noted is that I don’t appear to have all recent code samples in the /examples folder .. I’ve only got up to the 24_opencv_support.py file vs. the 28 file referenced here. Further, I note that the source code in some of the example files I have differs than what is currently shown for source code in the samples in the referenced link. So it would appear I’m not current, or have some sort of rev skew going on.

I’d appreciate any guidance or suggestions as to what I may be missing or have overlooked in my installation of depthai.

Thanks in advance,
Larry

So what's happening is that Gen2 is being developed really fast, and a lot of updates are within the previous 2 weeks. So if you might have cloned the repo before that, source code of some have chnaged + plus some new additions. The main code is still the same, but samll improvements for eg- FPS counter etc. The examples 25 - 28 use OAK-D's depth capabalities, so you might still continue with the branch you have cloned for now, since the updates are for depth measurement more specifically. You could also keep an eye at the Discord announcements channel so you can track all Github updates!

Thanks for getting back with me on this. Yea, I kinda figured something like this might be the case. Understood that things are very dynamic at the moment and also that the later examples are OAK-D related (though I do also have a couple of these on order too). As mentioned, I'm a bit new at this, so might just focus on the basics of cloning the repo as it's updated then, just to stay in sync with even minor code changes .. and I'll try to keep up (with Discord too:-)

One add'l small question as you do bring up the OAK-D - am I correct in assuming then that I should simply not expect several of sample files in the examples to work (for the OAK-1) as they rely on the dual camera architecture of the OAK-D?

Thanks again,
Larry

    elljay One add'l small question as you do bring up the OAK-D - am I correct in assuming then that I should simply not expect several of sample files in the examples to work (for the OAK-1) as they rely on the dual camera architecture of the OAK-D?

    Yes, all those examples which are depth based, or use mono camera won't work on OAK-1

    Have a good time building with OAK-! and OAK-D!

    Thanks for confirming that understanding. (Also just cloned the current version of the repo, so I think I'm back on track again).

    Thanks again,
    Larry