Sorry lberger for the confusion.
Yes, the Gen1 and Gen2 APIs are completely different. The Gen2 API was actually a complete re-write from what we learned from Gen1 (and Gen0, which is long-since gone).
So one of the main pieces of feedback from Gen1 is that folks did not want one big demo application (
depthai_demo.py) but instead a bunch of smaller, easier-to-read/understand examples of each functionality - and then a pipeline system where these could be tied together.
So these easier-to-read examples are here: https://docs.luxonis.com/projects/api/en/gen2_develop/, and then we show-case how to use them to build more complex AI/CV flows here (see the
But when using an example, we recommend installing the pertinent version by running
python3 -m pip install -r requirements.txt for the given example. One clean way to do this is to use PyCharm, which makes a virtual environment for each example, so then each will have its own version.
Then for developing a custom application, we recommend working off of
gen2_develop of the API. We will be doing our first official release of Gen2 at the end of February (we intended to do so at the end of December, but we are behind).
Thanks and sorry about the confusion here.