Skip to content

0.8.1-2026.2.0: Update 0.8.1 package build workflow

Latest

Choose a tag to compare

@sdcb sdcb released this 15 Jun 02:16
· 1 commit to master since this release

Hello everyone!

We are releasing Sdcb.OpenVINO 0.8.1 and Sdcb.OpenVINO.PaddleOCR 0.8.1.

This is a focused patch release for .NET Framework native loading and PaddleOCR V6 ONNX API cleanup.

Main NuGet Packages

Package Name Version Notes
Sdcb.OpenVINO 0.8.1 Core .NET wrapper
Sdcb.OpenVINO.Extensions.OpenCvSharp4 0.7.0 Unchanged
Sdcb.OpenVINO.PaddleOCR 0.8.1 OCR core package
Sdcb.OpenVINO.PaddleOCR.Models.Online 0.8.1 Online model presets

Important Fixes & Updates

.NET Framework Native Loading Fix

Fixed a .NET Framework startup issue where Sdcb.OpenVINO.Natives.NativeMethods could throw TypeInitializationException before openvino_c.dll was loaded.

The .NET Framework path now lets DllImport(@"dll\win-x64\openvino_c.dll") load the native library directly from the package runtime layout.

PaddleOCR V6 ONNX API Cleanup

The V6 ONNX online model APIs were consolidated:

  • Removed separate OnlineOnnxDetectionModel
  • Removed separate OnlineOnnxClassificationModel
  • Removed separate OnlineOnnxRecognizationModel
  • V6 detection models are now available from OnlineDetectionModel
  • V6 text line orientation models are now available from OnlineClassificationModel
  • V6 recognition models are now available from OnlineRecognizationModel

OnlineFullModels.ChineseV6Medium, ChineseV6Small, and ChineseV6Tiny continue to work through the consolidated APIs.

FromDirectory V6 ONNX Support

Directory-based loading now supports V6 ONNX models more clearly:

DetectionModel.FromDirectory(detDir, ModelVersion.V6);
ClassificationModel.FromDirectory(clsDir, ModelVersion.V6);
RecognizationModel.FromV6Directory(recDir);

For recognition, FromV6Directory is explicit because V6 recognition labels are loaded from inference.yml, not from a separate label file.

FullOcrModel Cleanup

Removed obsolete FullOcrModel.FromDirectory(...) overloads.

Users should compose FullOcrModel explicitly from DetectionModel, ClassificationModel, and RecognizationModel instances.


Thank you for the feedback that helped identify these issues. This patch should make .NET Framework usage and PaddleOCR V6 ONNX loading cleaner and more predictable.