C# PaddleInference OCR识别 学习研究Demo,完整Demo,可直接运行
VS2022+.net4.8+ OpenCvSharp4+Sdcb.PaddleInference
https://blog.csdn.net/lw112190/article/details/131554433
//读自己加密后的模型文件,解密后写入byte[]
byte[] programBuffer = new byte[Length];
byte[] paramsBuffer = new byte[Length];
fixed (byte* pprogram = programBuffer)
fixed (byte* pparams = paramsBuffer)
{
PaddleNative.PD_ConfigSetModelBuffer(det_ptr,
(IntPtr)pprogram, programBuffer.Length,
(IntPtr)pparams, paramsBuffer.Length);
}
2024-01-03 13:10:38
180.85MB