@Namespace(value="dai") @Properties(inherit=depthai.class) public class OpenVINO extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenVINO.Blob
OpenVINO Blob
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_VERSION |
static int |
VERSION_2020_3
enum dai::OpenVINO::Version
|
static int |
VERSION_2020_4
enum dai::OpenVINO::Version
|
static int |
VERSION_2021_1
enum dai::OpenVINO::Version
|
static int |
VERSION_2021_2
enum dai::OpenVINO::Version
|
static int |
VERSION_2021_3
enum dai::OpenVINO::Version
|
static int |
VERSION_2021_4
enum dai::OpenVINO::Version
|
static int |
VERSION_2022_1
enum dai::OpenVINO::Version
|
static int |
VERSION_UNIVERSAL
enum dai::OpenVINO::Version
|
| Constructor and Description |
|---|
OpenVINO()
Default native constructor.
|
OpenVINO(long size)
Native array allocator.
|
OpenVINO(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
areVersionsBlobCompatible(int v1,
int v2)
Checks whether two blob versions are compatible
|
static int |
DEFAULT_VERSION()
Main OpenVINO version
|
static int |
getBlobLatestSupportedVersion(int majorVersion,
int minorVersion)
Returns latest potentially supported version by a given blob version.
|
static IntPointer |
getBlobSupportedVersions(int majorVersion,
int minorVersion)
Returns a list of potentially supported versions for a specified blob major and minor versions.
|
static int |
getBlobVersion(int majorVersion,
int minorVersion)
Returns OpenVINO version of a given blob minor/major revision.
|
OpenVINO |
getPointer(long i) |
static BytePointer |
getVersionName(int version)
Returns string representation of a given version
|
static IntPointer |
getVersions() |
static int |
parseVersionName(ByteBuffer versionString) |
static int |
parseVersionName(BytePointer versionString)
Creates Version from string representation.
|
static int |
parseVersionName(String versionString) |
OpenVINO |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic static final int VERSION_2020_3
public static final int VERSION_2020_4
public static final int VERSION_2021_1
public static final int VERSION_2021_2
public static final int VERSION_2021_3
public static final int VERSION_2021_4
public static final int VERSION_2022_1
public static final int VERSION_UNIVERSAL
public static final int DEFAULT_VERSION
public OpenVINO()
public OpenVINO(long size)
Pointer.position(long).public OpenVINO(Pointer p)
Pointer(Pointer).public OpenVINO getPointer(long i)
getPointer in class Pointer@MemberGetter @Cast(value="const dai::OpenVINO::Version") public static int DEFAULT_VERSION()
@Cast(value="dai::OpenVINO::Version*") @StdVector public static IntPointer getVersions()
@StdString public static BytePointer getVersionName(@Cast(value="dai::OpenVINO::Version") int version)
version - OpenVINO version@Cast(value="dai::OpenVINO::Version") public static int parseVersionName(@StdString BytePointer versionString)
versionString - Version as string@Cast(value="dai::OpenVINO::Version") public static int parseVersionName(@StdString ByteBuffer versionString)
@Cast(value="dai::OpenVINO::Version") public static int parseVersionName(@StdString String versionString)
@Cast(value="dai::OpenVINO::Version*") @StdVector public static IntPointer getBlobSupportedVersions(@Cast(value="std::uint32_t") int majorVersion, @Cast(value="std::uint32_t") int minorVersion)
majorVersion - Major version from OpenVINO blobminorVersion - Minor version from OpenVINO blob@Cast(value="dai::OpenVINO::Version") public static int getBlobLatestSupportedVersion(@Cast(value="std::uint32_t") int majorVersion, @Cast(value="std::uint32_t") int minorVersion)
majorVersion - Major version from OpenVINO blobminorVersion - Minor version from OpenVINO blob@Cast(value="dai::OpenVINO::Version") public static int getBlobVersion(@Cast(value="std::uint32_t") int majorVersion, @Cast(value="std::uint32_t") int minorVersion)
majorVersion - Major version from OpenVINO blobminorVersion - Minor version from OpenVINO blobCopyright © 2023. All rights reserved.