Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
80 lines (76 loc) · 5.59 KB
/
Copy pathDirectory.Build.props
File metadata and controls
80 lines (76 loc) · 5.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<Project>
<!--
Independent NuGet versions. Edit here (and keep build/00-common.linq in sync).
`dotnet pack -p:Version=` must not flow into referenced projects; see Directory.Build.targets.
-->
<PropertyGroup>
<SdcbSimdPaddleOCRVersion Condition="'$(SdcbSimdPaddleOCRVersion)' == ''">3.0.0-preview.1</SdcbSimdPaddleOCRVersion>
<SdcbSimdPaddleOCRModelProviderVersion Condition="'$(SdcbSimdPaddleOCRModelProviderVersion)' == ''">1.0.0</SdcbSimdPaddleOCRModelProviderVersion>
<SdcbSimdPaddleOCRModelsTextLineOrientationVersion Condition="'$(SdcbSimdPaddleOCRModelsTextLineOrientationVersion)' == ''">1.0.0</SdcbSimdPaddleOCRModelsTextLineOrientationVersion>
<SdcbSimdPaddleOCRModelsChineseV6TinyVersion Condition="'$(SdcbSimdPaddleOCRModelsChineseV6TinyVersion)' == ''">1.0.1</SdcbSimdPaddleOCRModelsChineseV6TinyVersion>
<SdcbSimdPaddleOCRModelsChineseV6SmallVersion Condition="'$(SdcbSimdPaddleOCRModelsChineseV6SmallVersion)' == ''">1.0.0</SdcbSimdPaddleOCRModelsChineseV6SmallVersion>
<SdcbSimdPaddleOCRModelsChineseV6MediumVersion Condition="'$(SdcbSimdPaddleOCRModelsChineseV6MediumVersion)' == ''">1.0.0</SdcbSimdPaddleOCRModelsChineseV6MediumVersion>
<!-- 3.0 extension models (sdcb/SimdPaddleOCR.Models), used by tests / examples. -->
<SdcbSimdPaddleOCRModelsV3Version Condition="'$(SdcbSimdPaddleOCRModelsV3Version)' == ''">1.0.0</SdcbSimdPaddleOCRModelsV3Version>
</PropertyGroup>
<!--
Inference engine: the SimdOnnx source, a git submodule at external/SimdOnnx, compiled into
Sdcb.SimdPaddleOCR with every engine type internal (no engine package to pin; see SimdOnnx
docs/decisions.md, 2026-11-18). Override SimdOnnxRoot to build against another checkout.
-->
<PropertyGroup>
<SimdOnnxRoot Condition="'$(SimdOnnxRoot)' == ''">$(MSBuildThisFileDirectory)external\SimdOnnx\</SimdOnnxRoot>
</PropertyGroup>
<PropertyGroup>
<Authors>sdcb</Authors>
<Company>Sdcb</Company>
<PackageProjectUrl>https://github.com/sdcb/SimdPaddleOCR</PackageProjectUrl>
<RepositoryUrl>https://github.com/sdcb/SimdPaddleOCR.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageTags>Sdcb;AI;OCR;PaddleOCR;PP-OCRv6</PackageTags>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PublishRepositoryType>git</PublishRepositoryType>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true' or '$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Sdcb.SimdPaddleOCR'">
<Version>$(SdcbSimdPaddleOCRVersion)</Version>
<IsPackable>true</IsPackable>
<Description>Pure C# PP-OCRv6 inference (DET + CLS + REC), plus PaddleOCR 3.0 document models: layout analysis (PP-DocLayoutV3), table classification and structure recognition to HTML (PP-LCNet table_cls, SLANet_plus), document unwarping (UVDoc), seal text recognition (PP-OCRv4 seal det), PP-OCRv5 multilingual recognition (Korean, Cyrillic, Arabic, Thai, Greek, Devanagari, Tamil, Telugu, Latin, English) and page orientation. Loads raw PaddlePaddle / paddle2onnx ONNX exports as they are. Cross-platform hand-written kernels and GEMM; optional GPU backends over Vulkan and Metal (macOS), .NET 10 only. Very high performance, low memory requirements, and very high accuracy. No Paddle Inference, ONNX Runtime, or OpenCV native libraries. Accepts interleaved BGR24 / RGB24 / BGRA32 / RGBA32.</Description>
<PackageTags>Sdcb;AI;OCR;PaddleOCR;PP-OCRv6;PP-OCRv5;PP-DocLayoutV3;layout;table-recognition;SLANet;UVDoc;seal;multilingual;linqpad-samples</PackageTags>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Sdcb.SimdPaddleOCR.ModelProvider'">
<Version>$(SdcbSimdPaddleOCRModelProviderVersion)</Version>
<IsPackable>true</IsPackable>
<Description>OCR model contracts (IPaddleOcrModelProvider / PaddleOcrModelBundle).</Description>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Sdcb.SimdPaddleOCR.Models.TextLineOrientation'">
<Version>$(SdcbSimdPaddleOCRModelsTextLineOrientationVersion)</Version>
<IsPackable>true</IsPackable>
<Description>Embedded PP-LCNet text-line orientation (CLS) model for PP-OCR.</Description>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Sdcb.SimdPaddleOCR.Models.ChineseV6Tiny'">
<Version>$(SdcbSimdPaddleOCRModelsChineseV6TinyVersion)</Version>
<IsPackable>true</IsPackable>
<Description>Embedded PP-OCRv6 tiny Chinese DET+REC+dictionary models.</Description>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Sdcb.SimdPaddleOCR.Models.ChineseV6Small'">
<Version>$(SdcbSimdPaddleOCRModelsChineseV6SmallVersion)</Version>
<IsPackable>true</IsPackable>
<Description>Embedded PP-OCRv6 small Chinese DET+REC+dictionary models.</Description>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'Sdcb.SimdPaddleOCR.Models.ChineseV6Medium'">
<Version>$(SdcbSimdPaddleOCRModelsChineseV6MediumVersion)</Version>
<IsPackable>true</IsPackable>
<Description>Embedded PP-OCRv6 medium Chinese DET+REC+dictionary models.</Description>
</PropertyGroup>
<PropertyGroup Condition="'$(IsPackable)' == 'true'">
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<None Include="$(MSBuildThisFileDirectory)assets\icon.png" Pack="true" PackagePath="icon.png" Visible="false" />
</ItemGroup>
</Project>