PaddleClasSharp 4.0.0
See the version list below for details.
dotnet add package PaddleClasSharp --version 4.0.0
NuGet\Install-Package PaddleClasSharp -Version 4.0.0
<PackageReference Include="PaddleClasSharp" Version="4.0.0" />
paket add PaddleClasSharp --version 4.0.0
#r "nuget: PaddleClasSharp, 4.0.0"
// Install PaddleClasSharp as a Cake Addin #addin nuget:?package=PaddleClasSharp&version=4.0.0 // Install PaddleClasSharp as a Cake Tool #tool nuget:?package=PaddleClasSharp&version=4.0.0
如果项目对你有用或者喜欢,那就点个赞★ 。谢谢!
介绍
PaddleClasSharp 是一个基于百度飞桨PaddleClas的开源代码编写的.NET版本图像分类类库。
PaddleClasSharp封装极其简化,实际调用仅几行代码,极大的方便了中下游开发者的使用和降低了PaddleClas的使用入门级别,同时提供不同的.NET框架使用,方便各个行业应用开发与部署。Nuget包即装即用,可以离线部署,不需要网络就可以进行图像检测分类。
本项目支持官方所有公开的通用分类模型。
本项目只能在X64的CPU上编译和使用,只能在avx指令集上的CPU上使用。
本项目目前支持以下.NET框架:
net35;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;net48;net481;
netstandard2.0;netcoreapp3.1;
net5.0;net6.0;net7.0;net8.0
特点
★ $\color{#0000FF}{高度集成}$:PaddleClasSharp将百度飞桨PaddleClas的核心功能完美集成到.NET平台,让开发者无需关心底层实现,只需调用相应接口即可实现图像分类功能。
★ $\color{#0000FF}{性能卓越}$:得益于百度飞桨PaddleClas的高效算法和C++代码的优化,PaddleClasSharp在保持高度集成的同时,也保证了卓越的性能表现。
★ $\color{#0000FF}{易于使用}$:PaddleClasSharp提供了丰富的API接口和详细的文档说明,让开发者能够轻松上手,快速实现图像检测分类功能。
★ $\color{#0000FF}{扩展性强}$:PaddleClasSharp支持自定义模型加载和训练,开发者可以根据自己的需求进行模型扩展和优化。
★ $\color{#FF0000}{离线免费}$:PaddleClasSharp支持离线绿色部署,无其他依赖需要安装,关键普通版还免费,满足了众多开发者的福音。
如何使用
本项目提供了两个SDK,一个是C++版本,一个是.net版本,.net版本是对C++版本的二次封装,其他语言开发亦是调用C++版本。
2. .NET版编译
使用与部署
模型
更多模型可去官方下载
//自带【瓶装饮料识别】模型
ModelConfig config = null;
ClasParameter parameter = new ClasParameter();
PaddleClasEngine engine = new PaddleClasEngine(config , parameter);
//返回分类名称,概率分值,以及目标矩形范围
ClasResult result = engine.Detection("图像路径");
技术交流方式
QQ技术交流群:318860399
微信公众号:明月心技术学堂。
个人博客地址: https://www.cnblogs.com/raoyutian/
定制开发QQ:277784829
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net35 is compatible. net40 is compatible. net403 was computed. net45 is compatible. net451 is compatible. net452 is compatible. net46 is compatible. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- Newtonsoft.Json (>= 12.0.1)
- System.Drawing.Common (>= 6.0.0)
-
.NETFramework 3.5
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.0
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.5
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.5.1
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.5.2
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.6
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.6.1
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.6.2
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.7
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.7.1
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.7.2
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.8
- Newtonsoft.Json (>= 12.0.1)
-
.NETFramework 4.8.1
- Newtonsoft.Json (>= 12.0.1)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 12.0.1)
- System.Drawing.Common (>= 6.0.0)
-
net5.0
- Newtonsoft.Json (>= 12.0.1)
- System.Drawing.Common (>= 6.0.0)
-
net6.0
- Newtonsoft.Json (>= 12.0.1)
- System.Drawing.Common (>= 8.0.1)
-
net7.0
- Newtonsoft.Json (>= 12.0.1)
- System.Drawing.Common (>= 8.0.1)
-
net8.0
- Newtonsoft.Json (>= 12.0.1)
- System.Drawing.Common (>= 8.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.