Method CreateFromMemory
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
CreateFromMemory(ReadOnlySpan<byte>, ReadOnlySpan<byte>)
Loads the detector and super-resolution ONNX models from memory.
public static WeChatQRCode CreateFromMemory(ReadOnlySpan<byte> detectorModel, ReadOnlySpan<byte> superResolutionModel)
Parameters
detectorModelReadOnlySpan<byte>Buffer containing the detector model.
superResolutionModelReadOnlySpan<byte>Buffer containing the super-resolution model.
Returns
- WeChatQRCode
A detector using both models.