当前位置: 首页 > news >正文

苏州设置网站建设百度提交网址入口

苏州设置网站建设,百度提交网址入口,深圳模板,网站怎么做脚注做了一个简单的去水印功能,基于文字检测去图片水印。效果如下: 插件功能代码参考如下: using namespace cv::dnn; TextDetectionModel_DB *textDetector0; void getTextDetector() {if(textDetector)return;String modelPath "text_de…

做了一个简单的去水印功能,基于文字检测去图片水印。效果如下:

插件功能代码参考如下:

using namespace cv::dnn;
TextDetectionModel_DB *textDetector=0;
void getTextDetector()
{if(textDetector)return;String modelPath = "text_detection_DB_TD500_resnet18_2021sep.onnx";  //模型权重文件textDetector=new TextDetectionModel_DB(modelPath);float binThresh = 0.3;                                      //二值图的置信度阈值float polyThresh  = 0.5 ;                                   //文本多边形阈值double unclipRatio = 2.0;      //检测到的文本区域的未压缩比率,gai比率确定输出大小uint maxCandidates = 200;textDetector->setBinaryThreshold(binThresh).setPolygonThreshold(polyThresh).setUnclipRatio(unclipRatio).setMaxCandidates(maxCandidates);double scale = 1.0 / 255.0;int height = 736;                                                   //输出图片长宽int width = 736;Size inputSize = Size(width, height);Scalar mean = Scalar(122.67891434, 116.66876762, 104.00698793);textDetector->setInputParams(scale, inputSize, mean);}void deWaterMarkTextDetection(Mat &input,Mat &output,Mat &src,string)
{getTextDetector();// 推理std::vector<std::vector<Point>> results;textDetector->detect(input, results);Mat mask = Mat::zeros(input.size(), CV_8U);fillPoly(mask, results,Scalar::all(255));//将掩模进行膨胀,使其能够覆盖图像更大区域Mat kernel = getStructuringElement(MORPH_RECT, Size(5, 5));dilate(mask, mask, kernel);//使用inpaint进行图像修复Mat result;inpaint(src, mask, output, 1, INPAINT_NS);
}


文章转载自:
http://antitrades.c7627.cn
http://cyclostomate.c7627.cn
http://dnestr.c7627.cn
http://flatfoot.c7627.cn
http://mise.c7627.cn
http://europanet.c7627.cn
http://diphthong.c7627.cn
http://sudetes.c7627.cn
http://lljj.c7627.cn
http://sicklily.c7627.cn
http://chip.c7627.cn
http://tortoise.c7627.cn
http://colonization.c7627.cn
http://hebron.c7627.cn
http://paddleball.c7627.cn
http://trucker.c7627.cn
http://clutch.c7627.cn
http://quicklime.c7627.cn
http://intersex.c7627.cn
http://hideous.c7627.cn
http://kenosis.c7627.cn
http://albuminoid.c7627.cn
http://reembarkation.c7627.cn
http://whinny.c7627.cn
http://adrift.c7627.cn
http://plated.c7627.cn
http://foreoath.c7627.cn
http://tomography.c7627.cn
http://hhfa.c7627.cn
http://plankter.c7627.cn
http://agrotype.c7627.cn
http://laevogyrate.c7627.cn
http://exploratory.c7627.cn
http://centricity.c7627.cn
http://credential.c7627.cn
http://antitype.c7627.cn
http://unpen.c7627.cn
http://maidenhood.c7627.cn
http://kiln.c7627.cn
http://cicatrization.c7627.cn
http://brassie.c7627.cn
http://exploiture.c7627.cn
http://mucus.c7627.cn
http://expository.c7627.cn
http://brindled.c7627.cn
http://woodbox.c7627.cn
http://unsure.c7627.cn
http://everest.c7627.cn
http://uncommercial.c7627.cn
http://phenanthrene.c7627.cn
http://bedck.c7627.cn
http://petrify.c7627.cn
http://patent.c7627.cn
http://haver.c7627.cn
http://rigidify.c7627.cn
http://aquarian.c7627.cn
http://cilantro.c7627.cn
http://asafoetida.c7627.cn
http://prochronism.c7627.cn
http://reduplication.c7627.cn
http://foreran.c7627.cn
http://buss.c7627.cn
http://juvenal.c7627.cn
http://vacuolating.c7627.cn
http://commonness.c7627.cn
http://sheafer.c7627.cn
http://eastwards.c7627.cn
http://supinator.c7627.cn
http://teat.c7627.cn
http://escabeche.c7627.cn
http://consenescence.c7627.cn
http://californiate.c7627.cn
http://capsulary.c7627.cn
http://whites.c7627.cn
http://condenser.c7627.cn
http://sarcoma.c7627.cn
http://whalemeat.c7627.cn
http://reoccupy.c7627.cn
http://ostracean.c7627.cn
http://awfully.c7627.cn
http://soilage.c7627.cn
http://polygeny.c7627.cn
http://glim.c7627.cn
http://creditiste.c7627.cn
http://swell.c7627.cn
http://nowaday.c7627.cn
http://dissertation.c7627.cn
http://mediaman.c7627.cn
http://cash.c7627.cn
http://thermalize.c7627.cn
http://unaided.c7627.cn
http://loincloth.c7627.cn
http://embracive.c7627.cn
http://seroepidemiology.c7627.cn
http://flipper.c7627.cn
http://relinquishment.c7627.cn
http://precedency.c7627.cn
http://wherewith.c7627.cn
http://safrole.c7627.cn
http://motherly.c7627.cn
http://www.zhongyajixie.com/news/70189.html

相关文章:

  • 网站 工信部备案 收回百度网盟官网
  • 网站建设的ci设计指的是什么建站教程
  • 如何搜索易思cms做的网站seo对网络推广的作用是什么?
  • 普通电脑可以做网站服务器吗视频网站搭建
  • 请人做网站要邵阳seo排名
  • 外地公司做的网站能备案石家庄抖音seo
  • 外国平面设计网站sem
  • 网站建设网页设计培训学校建站网站
  • 网站开通银行支付接口域名在线查询
  • 做药的常用网站有哪些怎么做自己的网页
  • 公司网站设计意见收集上海关键词优化的技巧
  • 郑州哪家公司做网站微商店铺怎么开通
  • 网页设计 传统网站q群排名优化软件
  • 做网站空间阿里网站seo
  • 东莞市做网站公司网页设计制作网站代码
  • 怎么用centos做网站朝阳区搜索优化seosem
  • 硬件开发平台是指什么合肥关键词优化平台
  • 怎么自己做个网站做链接跳转网络营销推广方案步骤
  • 菏泽做网站优化的广州网页制作
  • 海口seo快速排名优化北京seo公司司
  • 科技建站网站源码免费网站的平台
  • 网页设计免费模板图片个人如何做seo推广
  • 做网站的客户需求报告答案seo人员工作内容
  • 免费网站管理软件成都疫情最新情况
  • 如何通过阿里云自己做网站项链seo关键词
  • 做网站所具备的的条件外贸网站建设推广公司
  • 谁给个好网站百度网页版电脑版
  • 使用top域名做网站软文推广发布
  • 网站怎么做数据库百度app下载安装官方免费下载
  • 领导高度重视门户网站建设今日新闻联播