BootstrapBlazor.ImageHelper
0.0.7
Prefix Reserved
dotnet add package BootstrapBlazor.ImageHelper --version 0.0.7
NuGet\Install-Package BootstrapBlazor.ImageHelper -Version 0.0.7
<PackageReference Include="BootstrapBlazor.ImageHelper" Version="0.0.7" />
paket add BootstrapBlazor.ImageHelper --version 0.0.7
#r "nuget: BootstrapBlazor.ImageHelper, 0.0.7"
// Install BootstrapBlazor.ImageHelper as a Cake Addin #addin nuget:?package=BootstrapBlazor.ImageHelper&version=0.0.7 // Install BootstrapBlazor.ImageHelper as a Cake Tool #tool nuget:?package=BootstrapBlazor.ImageHelper&version=0.0.7
Blazor ImageHelper 图像助手 组件
Blazor WxQrCode 微信扫码 组件
基于OpenCV的Blazor组件
示例:
https://blazor.app1.es/ImageHelpers
https://blazor.app1.es/WxQrCodes
微信扫码是特别编译的opencv所以这两个页面打开请F5重新刷新加载库文件
使用方法:
1.nuget包
BootstrapBlazor.ImageHelper
2._Imports.razor 文件 或者页面添加 添加组件库引用
@using BootstrapBlazor.Components
3.razor页面
<ImageHelper />
<WxQrCode />
4.参数说明
类型 | 参数 | 说明 | 默认值 |
---|
介绍
opencv.js是opencv利用了emscripten将原本的C++版本编译成了WebAssembly,让js可以直接调用C++版本的opencv方法
<p>这是c++的库转wasm(运行在客户端) ,当然ssr也能用, 语法全部用opencv的c++版本, 由于本人精力有限, 不能一一封装所有的功能, 欢迎有兴趣的小伙伴一起<a href="https://github.com/densen2014/BootstrapBlazor.ImageHelper">[参与项目]</a></p>
特别说明
OpenCV 深度神经网络(DNN)深度学习框架模型
因为模型比较大,请自行下载后放入wwwroot下的models\face文件夹中. 由于默认blazor并没有启用 .caffemodel和.pb文件的静态文件访问,为了简单起见,全都添加.txt后缀名.
OpenCV 为此面部检测器提供了两种模型:
人脸检测器(FP16):原始 Caffe 实现的浮点 16 版本(5.1 MB)
人脸检测器(UINT8):使用 TensorFlow 的 8 位量化版本(2.6 MB)
参考资料:
人脸识别 https://docs.opencv.org/4.x/d2/d99/tutorial_js_face_detection.html
图像处理 https://docs.opencv.org/4.x/d2/df0/tutorial_js_table_of_contents_imgproc.html
视频分析 https://docs.opencv.org/4.x/de/db6/tutorial_js_table_of_contents_video.html
物体检测 https://docs.opencv.org/4.x/dc/d73/tutorial_js_table_of_contents_objdetect.html
深度神经网络 https://docs.opencv.org/4.x/d0/db7/tutorial_js_table_of_contents_dnn.html
更新历史
Blazor 组件
AlexChow
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net6.0
- BootstrapBlazor (>= 8.0.6)
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
-
net7.0
- BootstrapBlazor (>= 8.0.6)
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
-
net8.0
- BootstrapBlazor (>= 8.0.6)
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.