Skip to content

Releases: sdcb/OpenVINO.NET

0.6.8-2024.4.0

23 Sep 03:37
Compare
Choose a tag to compare

New NuGet Packages:

Package Size
Sdcb.OpenVINO.0.6.8 0.25MB
Sdcb.OpenVINO.Extensions.OpenCvSharp4.0.6.8 0.03MB
Sdcb.OpenVINO.PaddleOCR.0.6.8 0.06MB
Sdcb.OpenVINO.runtime.centos.7-x64.2024.4.0 37.12MB
Sdcb.OpenVINO.runtime.linux-arm.2024.4.0 18.59MB
Sdcb.OpenVINO.runtime.rhel.8-x64.2024.4.0 40.24MB
Sdcb.OpenVINO.runtime.ubuntu.20.04-arm64.2024.4.0 20.16MB
Sdcb.OpenVINO.runtime.ubuntu.20.04-x64.2024.4.0 34.58MB
Sdcb.OpenVINO.runtime.ubuntu.22.04-x64.2024.4.0 36.63MB
Sdcb.OpenVINO.runtime.ubuntu.24.04-x64.2024.4.0 37.65MB
Sdcb.OpenVINO.runtime.win-x64.2024.4.0 29.29MB

Full Changelog: 0.6.7-2024.3.0...0.6.8-2024.4.0

0.6.7-2024.3.0

23 Sep 02:55
Compare
Choose a tag to compare

New NuGet packages

Package Size
Sdcb.OpenVINO.0.6.7 0.25MB
Sdcb.OpenVINO.Extensions.OpenCvSharp4.0.6.7 0.03MB
Sdcb.OpenVINO.runtime.centos.7-x64.2024.3.0 35.52MB
Sdcb.OpenVINO.runtime.linux-arm.2024.3.0 17.54MB
Sdcb.OpenVINO.runtime.rhel.8-x64.2024.3.0 31.17MB
Sdcb.OpenVINO.runtime.ubuntu.20.04-arm64.2024.3.0 18.95MB
Sdcb.OpenVINO.runtime.ubuntu.20.04-x64.2024.3.0 33.62MB
Sdcb.OpenVINO.runtime.ubuntu.22.04-x64.2024.3.0 35.17MB
Sdcb.OpenVINO.runtime.ubuntu.24.04-x64.2024.3.0 35.72MB
Sdcb.OpenVINO.runtime.win-x64.2024.3.0 29.29MB

Full Changelog: 0.6.6...0.6.7-2024.3.0

Important Note: NVIDIA GPU not supported starts from this 2024.3.0 version.

upstream release notes: https://github.com/openvinotoolkit/openvino/releases/tag/2024.3.0

0.6.6 - supports 2024.2.0

19 Jun 09:43
Compare
Choose a tag to compare

Full Changelog: 0.6.5...0.6.6

highlight:

0.6.5 - supports 2024.1.0

01 May 08:26
Compare
Choose a tag to compare

0.6.4 - supports 2024.0

10 Mar 01:14
Compare
Choose a tag to compare

0.6.3

28 Feb 05:15
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.6.1...0.6.3

0.6.1

29 Nov 02:05
9c59d5b
Compare
Choose a tag to compare

OpenVINO.NET 0.6.1 版本发布说明

我们很高兴地宣布OpenVINO.NET的三个NuGet包现已更新至0.6.1版本。以下是本次更新的详细信息。

NuGet包更新概览

包名 版本
Sdcb.OpenVINO NuGet
Sdcb.OpenVINO.PaddleOCR NuGet
Sdcb.OpenVINO.Extensions.OpenCvSharp4 NuGet

Sdcb.OpenVINO 0.6.1

从0.6.0版本更新。这次更新主要是修复了在.NET Framework环境下,加载动态库失败的问题,提升了库的兼容性。

Sdcb.OpenVINO.Extensions.OpenCvSharp4 0.6.1

从0.2.1版本更新。这个版本的更新将会自动依赖更新后的Sdcb.OpenVINO核心库0.6.1版,替换了之前的0.2.0版本。另外,我们在这个包中增加了一个StackingVertically的重载方法,它使用了OpenCV内置的VConcat函数,通过此次优化可以提高约30~40%的性能。这项功能的加入要特别感谢 @AvenSun 的贡献:PR链接

Sdcb.OpenVINO.PaddleOCR 0.6.1

从0.5.1版本更新。本次更新同样将自动依赖更新后的Sdcb.OpenVINO核心库至0.6.1版本,并且将依赖的Sdcb.OpenVINO.Extensions.OpenCvSharp4包更新至0.6.1版本。通过这次的链式更新,用户将能够享受到性能提升的优势。

总结

感谢所有用户的持续支持,我们期待你体验OpenVINO.NET新版本带来的改进。如有任何问题或建议,请通过项目的GitHub页面与我们联系。

OpenVINO.NET 0.6.1 Release Notes in English

We are delighted to announce that the three NuGet packages for OpenVINO.NET have now been updated to version 0.6.1. Here are the detailed updates.

Overview of NuGet Package Updates

Package Name Version
Sdcb.OpenVINO NuGet
Sdcb.OpenVINO.PaddleOCR NuGet
Sdcb.OpenVINO.Extensions.OpenCvSharp4 NuGet

Sdcb.OpenVINO 0.6.1

Updated from version 0.6.0. This update mainly fixes the issue of dynamic library loading failures in the .NET Framework environment, improving the library's compatibility.

Sdcb.OpenVINO.Extensions.OpenCvSharp4 0.6.1

Updated from version 0.2.1. This version of the update will automatically depend on the updated core library Sdcb.OpenVINO version 0.6.1, replacing the previous version 0.2.0. Additionally, we have added an overloaded method of StackingVertically to this package, which makes use of the built-in VConcat function in OpenCV, and this optimization can improve performance by about 30~40%. We would particularly like to thank @AvenSun for their contribution to this feature: PR link.

Sdcb.OpenVINO.PaddleOCR 0.6.1

Updated from version 0.5.1. This update will also automatically depend on the updated core library Sdcb.OpenVINO to version 0.6.1 and will update the dependent Sdcb.OpenVINO.Extensions.OpenCvSharp4 package to version 0.6.1. Through this chained update, users will be able to enjoy the benefits of performance improvements.

Summary

Thank you all for your continuous support. We look forward to you experiencing the improvements brought by the new version of OpenVINO.NET. If you have any questions or suggestions, please contact us through the project's GitHub page.

0.6.0 - supports 2023.2

28 Nov 02:34
Compare
Choose a tag to compare

中文

新发布核心NuGet包:

Sdcb.OpenVINO NuGet

此为核心包,更新自0.5.4,以适配2023.2.0的版本,同时也向下兼容2023.1.0的版本。此包先尝试加载2023.2.0的动态库,如果加载不成功,则再加载2023.1.0的动态库。你可以通过OVCore.Version.GetAbbreviatedVersion() >= 2320来知道当前加载的动态库是2023.2.0版本以上的还是以下的。

加载顺序是先加载依赖,再加载主包,例如:openvino_c为主包,依赖于openvino,而openvino则依赖于libtbb。加载过程中会先加载libtbb,再加载openvino,最后加载openvino_c——这个功能之前必须要.NET 6或以上才启用,在这个发布中,该功能降到到.NET 5就能用了。

新发布的2023.2.0版本的运行库(从2023.1.0更新):

包名 图标 备注
Sdcb.OpenVINO.runtime.centos.7-x64 NuGet
Sdcb.OpenVINO.runtime.linux-arm NuGet 替换此前的Sdcb.OpenVINO.runtime.debian.9-arm,因为它实际上不止debian 9可以使用
Sdcb.OpenVINO.runtime.linux-arm64 NuGet 替换此前的Sdcb.OpenVINO.runtime.debian.9-arm64,因为它实际上不止debian 9可以使用
Sdcb.OpenVINO.runtime.rhel.8-x64 NuGet
Sdcb.OpenVINO.runtime.ubuntu.18.04-x64 NuGet
Sdcb.OpenVINO.runtime.ubuntu.20.04-x64 NuGet
Sdcb.OpenVINO.runtime.ubuntu.22.04-x64 NuGet
Sdcb.OpenVINO.runtime.android-arm64 NuGet 非官方,预览
Sdcb.OpenVINO.runtime.android-x64 NuGet 非官方,预览
Sdcb.OpenVINO.runtime.win-x64 NuGet

使用2023.2.0版本的动态库的最重要改进是,遇到OpenVINO的C++异常时,Sdcb.OpenVINO核心库会自动收集报异常的具体原因(此功能是在我向OpenVINO官方提议后实现)。

以下我向openvino提交的建议已在2023.2版本中解决:

在Linux迷你运行时的OpenCvSharp4 NuGet包:

包名 图标
Sdcb.OpenCvSharp4.mini.runtime.centos.7-arm64 NuGet
Sdcb.OpenCvSharp4.mini.runtime.centos.7-x64 NuGet
Sdcb.OpenCvSharp4.mini.runtime.debian.11-arm64 NuGet
Sdcb.OpenCvSharp4.mini.runtime.debian.11-x64 NuGet
Sdcb.OpenCvSharp4.mini.runtime.debian.12-arm64 NuGet
Sdcb.OpenCvSharp4.mini.runtime.debian.12-x64 NuGet
Sdcb.OpenCvSharp4.mini.runtime.ubuntu.22.04-arm64 NuGet
Sdcb.OpenCvSharp4.mini.runtime.ubuntu.22.04-x64 NuGet
Sdcb.OpenCvSharp4.mini.runtime.android-arm64 NuGet
Sdcb.OpenCvSharp4.mini.runtime.android-x64 NuGet

注意

由于.NET 8采用了这个突破性变更,此前2023.1.0动态库的Linux的NuGet包可能在.NET 8中用不了,我在2023.2.0版本的动态库包中解决了这个问题。此外,所有的OpenCvSharp4都解决了这个问题,因此如果你遇到了,请更新到最新版。

另外,尽管Sdcb.OpenVINO.PaddleOCR并未更新,但它依赖于Sdcb.OpenVINO核心库,因此如果你未安装Sdcb.OpenVINO却想体验最新版功能,你需要手动再安装最新版的Sdcb.OpenVINO。

English

Newly released core NuGet package:

Sdcb.OpenVINO NuGet

This is a core package, updated from 0.5.4 to support version 2023.2.0 while also being backwards compatible with version 2023.1.0. This package first tries to load the 2023.2.0 dynamic library; if unsuccessful, it will then load the 2023.1.0 dynamic library. You can determine whether the currently loaded dynamic library is version 2023.2.0 or higher by using OVCore.Version.GetAbbreviatedVersion() >= 2320.

The loading order is to load dependencies first, followed by the main package; for example, openvino_c is the main package, which depends on openvino, and openvino depends on libtbb. The loading process first loads libtbb, followed by openvino, and finally openvino_c, previous this loading method is only enabled in .NET 6, now it also enabled in .NET 5 in this release.

Newly released runtime libraries for version 2023.2.0 (updated from 2023.1.0):

Package Name Icon Remarks
Sdcb.OpenVINO.runtime.centos.7-x64 NuGet
Sdcb.OpenVINO.runtime.linux-arm NuGet Replaces the previous Sdcb.OpenVINO.runtime.debian.9-arm, as it was actually usable beyond just debian 9
Sdcb.OpenVINO.runtime.linux-arm64 NuGet Replaces the previous Sdcb.OpenVINO.runtime.debian.9-arm64, as it was actually usable beyond just debian 9
Sdcb.OpenVINO.runtime.rhel.8-x64 NuGet
Sdcb.OpenVINO.runtime.ubuntu.18.04-x64 NuGet
Sdcb.OpenVINO.runtime.ubuntu.20.04-x64 NuGet
Sdcb.OpenVINO.runtime.ubuntu.22.04-x64 NuGet
Sdcb.OpenVINO.runtime.android-arm64 NuGet Unofficial, Preview
Sdcb.OpenVINO.runtime.android-x64 NuGet Unofficial, Preview
Sdcb.OpenVINO.runtime.win-x64 NuGet

The most significant improvement of using the 2023.2.0 dynamic libraries is that when an OpenVINO C++ exception occurs, the Sdcb.OpenVINO core library will automatically collect the specific reasons for the exceptions (this feature was implemented after my proposal to the OpenVINO official).

The following suggestions I submitted to openvino have been resolved in the 2023.2 version:

OpenCvSharp4 NuGet packages on Linux mini runtime:

Package Name Icon
Sdcb.OpenCvSharp4.mini.runtime.centos.7-arm64 NuGet
Sdcb.OpenCvSharp4.mini.runtime.centos.7-x64 [![NuGet](https://img.shields.io/nuget/v/Sdcb.OpenCvSharp4.mini.runtime.c...
Read more

v0.5.4 Android ARM64 MAUI/Avalonia Support

06 Nov 08:03
Compare
Choose a tag to compare

中文

这个版本又解决了一个在MAUI中安卓ARM64的问题,并发布了NuGet包:

Package Version 📌 Description
Sdcb.OpenVINO.runtime.android-arm64 NuGet Runtime for Android ARM64

请注意,这个包是我自己使用android-ndk-r25c编译的,它包含了一个来自sdk的libc++_shared.so文件,使用这个版本后,可以在安卓ARM64中运行OpenVINO推理。

English

This version has also resolved a problem with Android ARM64 in MAUI and released a NuGet package:

Package Version 📌 Description
Sdcb.OpenVINO.runtime.android-arm64 NuGet Runtime for Android ARM64

Please note that this package was compiled by myself using android-ndk-r25c. It includes a libc++_shared.so file from the SDK. With this version, OpenVINO inference can be run on Android ARM64.

code
demo

v0.5.3

02 Nov 09:58
Compare
Choose a tag to compare

大家好,我发布了核心库Sdcb.OpenVINO 0.5.3,这个版本解决了一个在Xamarin Android中运行报错的问题,启用了安卓版本支持:
https://www.nuget.org/packages/Sdcb.OpenVINO/0.5.3

Hello everyone, I have released the core library Sdcb.OpenVINO 0.5.3. This version solves an error problem when running in Xamarin Android and enables basic Android version support:
https://www.nuget.org/packages/Sdcb.OpenVINO/0.5.3