Sdcb.SimdGcdrNet.Models
1.0.0
Prefix Reserved
dotnet add package Sdcb.SimdGcdrNet.Models --version 1.0.0
NuGet\Install-Package Sdcb.SimdGcdrNet.Models -Version 1.0.0
<PackageReference Include="Sdcb.SimdGcdrNet.Models" Version="1.0.0" />
<PackageVersion Include="Sdcb.SimdGcdrNet.Models" Version="1.0.0" />
<PackageReference Include="Sdcb.SimdGcdrNet.Models" />
paket add Sdcb.SimdGcdrNet.Models --version 1.0.0
#r "nuget: Sdcb.SimdGcdrNet.Models, 1.0.0"
#:package Sdcb.SimdGcdrNet.Models@1.0.0
#addin nuget:?package=Sdcb.SimdGcdrNet.Models&version=1.0.0
#tool nuget:?package=Sdcb.SimdGcdrNet.Models&version=1.0.0
Sdcb.SimdGcdrNet.Models
The GCDRNet models (simplified GC-Net + DR-Net ONNX, ~21 MB) as embedded resources, for Sdcb.SimdGcdrNet — pure C# document-image shadow removal / appearance enhancement (CPU SIMD, Vulkan, Metal; no onnxruntime).
Requires .NET 10 (net10.0). No dependencies, versioned independently of the engine. The models are exposed as zero-copy
ReadOnlySpan<byte> views of the loaded assembly image, so there are no model files to deploy.
using Sdcb.SimdGcdrNet;
using Sdcb.SimdGcdrNet.Models;
using GcdrEnhancer enh = GcdrEnhancer.FromBytes(GcdrModels.GcNet, GcdrModels.DrNet, GcdrBackend.Auto);
byte[] dst = enh.Enhance(bgr, width, height); // tightly packed BGR24
See the project README for the full API, backends and benchmarks.
License
MIT, following the upstream GCDRNet weights (Copyright (c) 2024
Jiaxin Zhang); the full notice is in THIRD-PARTY-NOTICES.txt in this package. The engine package
Sdcb.SimdGcdrNet is Apache-2.0. If you use the models, please cite:
@article{zhang2023appearance,
title={Appearance Enhancement for Camera-captured Document Images in the Wild},
author={Zhang, Jiaxin and Liang, Lingyu and Ding, Kai and Guo, Fengjun and Jin, Lianwen},
journal={IEEE Transactions on Artificial Intelligence},
year={2023}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 0 | 10/14/2026 |