diff --git a/depthai-core b/depthai-core index b4f28511e..70ad1005c 160000 --- a/depthai-core +++ b/depthai-core @@ -1 +1 @@ -Subproject commit b4f28511ef6f56ca0f7233d20311bc2b960e8f26 +Subproject commit 70ad1005cdfaf6a12b5627f75d177d6f37081c6a diff --git a/docs/source/components/pipeline.rst b/docs/source/components/pipeline.rst index 2aadc2c3d..2e1390c97 100644 --- a/docs/source/components/pipeline.rst +++ b/docs/source/components/pipeline.rst @@ -43,7 +43,7 @@ The reason behind this is that OpenVINO doesn't provide version inside the blob. pipeline = depthai.Pipeline() # Set the correct version: - pipeline.setOpenVINOVersion(depthai.OpenVINO.Version.VERSION_2020_1) + pipeline.setOpenVINOVersion(depthai.OpenVINO.Version.VERSION_2021_4) How to place it ############### diff --git a/src/openvino/OpenVINOBindings.cpp b/src/openvino/OpenVINOBindings.cpp index 6ad3346ac..eca2a0b04 100644 --- a/src/openvino/OpenVINOBindings.cpp +++ b/src/openvino/OpenVINOBindings.cpp @@ -19,19 +19,18 @@ void OpenVINOBindings::bind(pybind11::module& m){ ; // not strongly typed enum OpenVINO::Version - // previous step defined class 'OpenVINO' (variable 'openvino') + // previous step defined class 'OpenVINO' (variable 'openvino') // which is used in defining the following enum (its scope) - // and that the values are available directly under OpenVINO.VERSION_2020_1, ... + // and that the values are available directly under OpenVINO.VERSION_2021_4, ... // they are exported - // By default, pybind creates strong typed enums, eg: OpenVINO::Version::VERSION_2020_1 + // By default, pybind creates strong typed enums, eg: OpenVINO::Version::VERSION_2021_4 py::enum_(openvino, "Version", DOC(dai, OpenVINO, Version)) - .value("VERSION_2020_1", OpenVINO::Version::VERSION_2020_1) - .value("VERSION_2020_2", OpenVINO::Version::VERSION_2020_2) .value("VERSION_2020_3", OpenVINO::Version::VERSION_2020_3) .value("VERSION_2020_4", OpenVINO::Version::VERSION_2020_4) .value("VERSION_2021_1", OpenVINO::Version::VERSION_2021_1) .value("VERSION_2021_2", OpenVINO::Version::VERSION_2021_2) .value("VERSION_2021_3", OpenVINO::Version::VERSION_2021_3) + .value("VERSION_2021_4", OpenVINO::Version::VERSION_2021_4) .export_values() ;