介绍 Topshelf官方网站: http://topshelf-project.com/Topshelf文档地址: https://topshelf.readthedocs.io/en/latest/index.html 代码如下: usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.IO; usingSystem.Timers; usingTopshelf; usingSystem.Threading;namespaceTopshe...

目录 原始数据: 方式一: 方式二: 方式三: unpivot的使用: 原始数据: 方式一: selectt_name, sum(decode(t_item,'item1',t_num,0))item1, sum(decode(t_item,'item2',t_num,0))item2, sum(decode(t_item,'item3',t_num,0))item3, sum(t_num)total fromtest groupbyt_name; 方式二: selectt_name, sum(case whent_item='item1'then t_num else 0 en...

目录 代码 下载  GitHub地址 基于上一篇《C日志监控软件基于FileSystemWatcher 》改进 代码 usingSystem; usingSystem.Collections.Generic; usingSystem.ComponentModel; usingSystem.Data; usingSystem.Drawing; usingSystem.Linq; usingSystem.Text; usingSystem.Windows.Forms; usingSystem.IO; usingSystem.Collections.Concurrent; ...

目录 代码  代码  //中文转unicode编码 publicstaticStringgbEncoding(finalStringgbString){ char[]utfBytes=gbString.toCharArray(); StringunicodeBytes=""; for(inti=0;i<utfBytes.length;i){ StringhexB=Integer.toHexString(utfBytes[i]); if(hexB.length()<=2){ hexB="00"+hexB; } unicodeBytes=unicodeByte...

目录 1、腐蚀 2、膨胀 3、开运算 4、闭运算 5、梯度运算 6、顶帽运算 7、黑帽运算 1、腐蚀 腐蚀操作可以让图像沿着自己的边界向内收缩。 2、膨胀 膨胀操作与腐蚀操作正好相反,让图像沿着自己的边界向外扩张。 3、开运算 开运算就是先腐蚀再膨胀,可以用来抹除图像外部的细节或者噪音。 4、闭运算 闭运算就是先膨胀再腐蚀,可以用来抹除图像内部的细节或者噪音。 5、梯度运算 梯度运算的过程是让原图的膨胀图像减去原图的腐蚀图像,因为膨胀图比原图大,腐蚀图比原图小,利用腐蚀图将膨胀图像掏空,就得到了原图的轮廓图像。 6、顶帽运算 顶帽运算就是让原图减去原图的开运算图像,开运算会抹除图...

目录 代码 扩展 Math类 字段 常用方法 代码 privatestaticreadonlystring[]suffixes=newstring[]{"B","KB","MB","GB","TB","PB"}; ///<summary> ///获取文件大小的显示字符串 ///</summary> ///<paramname="number"></param> ///<returns></returns> publicstaticstringBytesToReadableValue(longnumber) { dou...

Spectre.Console创建漂亮的控制台应用程序 github地址:https://github.com/spectreconsole/spectre.console A.NETlibrarythatmakesiteasiertocreatebeautiful,crossplatform,consoleapplications. Features Writtenwithunittestinginmind. Supportstables,grids,panels,anda rich inspiredmarkuplanguage. Supportsthemostco...

目录 效果 模型信息 anime_style_512x512.onnx contour_style_512x512.onnx opensketch_style_512x512.onnx 项目 代码 创建Tensor 保存 下载 效果 模型信息 anime_style_512x512.onnx Inputs------------------------name:input_imagetensor:Float[1,3,512,512]--------------------------------------------------------------- Outputs---...

目录 效果 模型信息 项目 代码 下载 效果 模型信息 Inputs------------------------name:ImageTensor:0tensor:UInt8[1,-1,-1,3]--------------------------------------------------------------- Outputs------------------------name:SemanticPredictions:0tensor:Int64[1,-1,-1]-------------------------------------------------------...

目录 介绍 效果 模型信息 项目 编辑 代码  下载  其他 介绍 github地址:https://github.com/sczhou/CodeFormer [NeurIPS2022]TowardsRobustBlindFaceRestorationwithCodebookLookupTransformer   效果 模型信息 codeformer.onnx Inputs------------------------name:xtensor:Float[-1,3,512,512]name:wtensor:Double[]------------...

目录 介绍 效果 模型信息 项目 代码 下载 其他模型下载 其他 介绍 github地址:https://github.com/TencentARC/GFPGAN GFPGANaimsatdevelopingPracticalAlgorithmsforReal-worldFaceRestoration. 效果 模型信息 Inputs------------------------name:inputtensor:Float[1,3,512,512]--------------------------------------------------------------- Output...

介绍 OpenVINO.NETgithub地址:https://github.com/sdcb/OpenVINO.NET Highquality.NETwrapperforOpenVINO™toolkit. 在AI的应用越来越广泛的今天,优化深度学习模型并进行推理部署已经成为了一门必要的技术。Intel开发的OpenVINO工具包(OpenVisualInferenceandNeuralnetworkOptimization)就是这样一款强大的工具。作为一个开源的工具包,OpenVINO为开发者提供了强大的深度学习模型优化和推理功能,支持跨不同的Intel硬件平台进行部署,包括CPU,集成G...

目录 效果 项目 代码 下载 效果 项目 VS2022 .netframework4.8 OpenCvSharp4.8 代码 Lab颜色空间是一种颜色模型,它包含了亮度(L)、红绿通道(a)和蓝黄通道(b)三个分量。通过将图像从BGR到Lab的转换,可以将颜色信息分离为亮度和颜色两个独立的通道,方便进行一些图像处理任务。 核心处理代码 Cv2.CvtColor(result_image,result_image,ColorConversionCodes.BGR2Lab); Mat[]mats=Cv2.Split(result_image); mats[1]=mats[1]0+127...

目录 介绍 效果 模型信息 项目 代码 下载 介绍 github地址:https://github.com/sczhou/CodeFormer [NeurIPS2022]TowardsRobustBlindFaceRestorationwithCodebookLookupTransformer   效果 模型信息 codeformer_inpainting.onnx Inputs------------------------name:inputtensor:Float[1,3,512,512]-------------------------------------...

目录 效果 模型信息 项目 代码 下载 效果 模型信息 ModelProperties------------------------author:Ultralyticstask:detectlicense:AGPL-3.0https://ultralytics.com/licenseversion:8.0.172stride:32batch:1imgsz:[640,640]names:{0:'smoke'}--------------------------------------------------------------- Inputs-----------------...

目录 介绍 效果 模型信息 项目 代码 下载 介绍 github地址:https://github.com/sczhou/CodeFormer [NeurIPS2022]TowardsRobustBlindFaceRestorationwithCodebookLookupTransformer 效果 模型信息 Inputs------------------------name:inputtensor:Float[1,3,512,512]--------------------------------------------------------------- Output...

目录 效果 项目 编辑 模型信息 代码 下载 效果 项目 VS2022 .netframework4.8 OpenCvSharp4.8 Microsoft.ML.OnnxRuntime1.16.2 模型信息 ModelProperties------------------------author:Ultralyticstask:detectlicense:AGPL-3.0https://ultralytics.com/licenseversion:8.0.172stride:32batch:1imgsz:[640,640]names:{0:'pothole'}------------...

应用场景 检测文件中的印章和指纹捺印,用于判断文件是否合规(是否盖章,是否按印) 效果 模型信息 ModelProperties------------------------author:Ultralyticstask:detectlicense:AGPL-3.0https://ultralytics.com/licenseversion:8.0.184stride:32batch:1imgsz:[640,640]names:{0:'seal',1:'fingerprint'}--------------------------------------------------------...

目录 效果 模型信息 项目 代码 数据集 下载 效果 模型信息 ModelProperties------------------------author:Ultralyticstask:detectlicense:AGPL-3.0https://ultralytics.com/licenseversion:8.0.184stride:32batch:1imgsz:[640,640]names:{0:'fingerprint'}--------------------------------------------------------------- Inputs--------...

目录 介绍 效果(u2net.onnx) 效果(u2net_human_seg.onnx) 模型信息 u2net.onnx u2net_human_seg.onnx 项目 代码 下载 介绍 github地址:https://github.com/xuebinqin/U-2-Net ThecodeforournewlyacceptedpaperinPatternRecognition2020:"U^2-Net:GoingDeeperwithNestedU-StructureforSalientObjectDetection." 效果(u2net.onnx) 效果(u2net_huma...

关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~