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

网站设计的研究方法可以营销的十大产品

网站设计的研究方法,可以营销的十大产品,用手机怎样免费做网站,开发公司正式电未接通脑壳有包又花时间折腾了一下,其实之前也折腾过,主要是新看了一个方法 在下图中查找脸部 第一种方案: 使用了opencv 的cv2.FaceDetectorYN. ,完整代码如下: import numpy as np import cv2imgcv2.imread("00000…

脑壳有包又花时间折腾了一下,其实之前也折腾过,主要是新看了一个方法

在下图中查找脸部

第一种方案:

使用了opencv 的cv2.FaceDetectorYN. ,完整代码如下:

import numpy as np
import cv2img=cv2.imread("00000523.jpg")
# img=cv2.resize(img, new_shape)
faceDetector=cv2.FaceDetectorYN.create("opencv_zoo/models/face_detection_yunet/face_detection_yunet_2023mar.onnx","",(img.shape[1],img.shape[0]))
faces = faceDetector.detect(img)
f = faces[1]
for ps in f:x=int(ps[0])y=int(ps[1])w=int(ps[2])h=int(ps[3])s=ps[14]# print(x,y,w,h,s)cv2.rectangle(img, (x, y), (x+w, y+h), (0,0,255), 2)
cv2.namedWindow("d",0);
cv2.resizeWindow("d", int(img.shape[1]/2), int(img.shape[0]/2));
cv2.imshow("d",img)
cv2.waitKey()
# cv2.destoryAllWindows()
cv2.destroyAllWindows()

结果如下:

第二种方案:

使用了 cv2.CascadeClassifier("D:\\opencv-4.52\\data\\haarcascades\\haarcascade_frontalface_default.xml")

import numpy as np
import cv2img=cv2.imread("00000523.jpg")
cas_default = cv2.CascadeClassifier("D:\\opencv-4.52\\data\\haarcascades\\haarcascade_frontalface_default.xml")
faces_default = cas_default.detectMultiScale(img)
for (x,y,w,h) in faces_default:print(x,y,w,h)cv2.rectangle(img, (x, y), (x+w, y+h), (0,255,255), 2)
cv2.namedWindow("d",0);
cv2.resizeWindow("d", int(img.shape[1]/2), int(img.shape[0]/2));
cv2.imshow("d",img)
cv2.waitKey()
# cv2.destoryAllWindows()
cv2.destroyAllWindows()

结果如下:

以上两种都是opencv的自带方案,要么找脸不全,要么错误的找脸

然后是insightface 的方案:

import insightface
import cv2
import numpy as npmodel = insightface.app.FaceAnalysis()
model.prepare(ctx_id=0, det_thresh=0.45)face_img = cv2.imread('00000523.jpg')
rgb_small_frame = face_img[:, :, ::-1]
faces = model.get(rgb_small_frame)for r in faces:box=r.bbox.astype(int)color=(0, 0, 255)cv2.rectangle(face_img, (box[0], box[1]), (box[2], box[3]), color, 2)
cv2.namedWindow("d",0);
cv2.resizeWindow("d", int(face_img.shape[1]/2), int(face_img.shape[0]/2));
cv2.imshow("d",face_img)
cv2.waitKey()
cv2.destroyAllWindows()

汇总的就是: insightface  脸部的查找最好,稍微有点慢,不知道是不是因为推理了年龄和性别。用insightface  推理出来的脸部数据,来识别具体人物的准确度也很高。

这是原图:

对于推理出来的人脸进行分别标记,对应到一个数据集:

参照标记的脸部数据,对其他照片进行推理,以下是结果,就不贴代码了:

以下结果展示了不同角度下,都给了一个准确的结果。不要介意对于性别和年龄的推断,可能同亚洲和欧洲人种数据集有关系。

带了墨镜居然都有一个准确结果


文章转载自:
http://dinncochambezi.tpps.cn
http://dinncobarytone.tpps.cn
http://dinncoeta.tpps.cn
http://dinncoideomotor.tpps.cn
http://dinncononpolitical.tpps.cn
http://dinncocalla.tpps.cn
http://dinncostouthearted.tpps.cn
http://dinncomotorbus.tpps.cn
http://dinncomaths.tpps.cn
http://dinncoopposition.tpps.cn
http://dinncodisposable.tpps.cn
http://dinncoaerosol.tpps.cn
http://dinncoirrupt.tpps.cn
http://dinncoisochronous.tpps.cn
http://dinncoangolan.tpps.cn
http://dinncohyacinthus.tpps.cn
http://dinncostrangulation.tpps.cn
http://dinncocraftsperson.tpps.cn
http://dinncostrepitous.tpps.cn
http://dinncorest.tpps.cn
http://dinncobridle.tpps.cn
http://dinncobel.tpps.cn
http://dinncodrupaceous.tpps.cn
http://dinncoreciprocate.tpps.cn
http://dinncopalatable.tpps.cn
http://dinncocustodianship.tpps.cn
http://dinncofirebrick.tpps.cn
http://dinncomewl.tpps.cn
http://dinncosnowplow.tpps.cn
http://dinncoogee.tpps.cn
http://dinnconaturopath.tpps.cn
http://dinncometralgia.tpps.cn
http://dinncoberkshire.tpps.cn
http://dinncoloopworm.tpps.cn
http://dinncogallygaskins.tpps.cn
http://dinncomuslem.tpps.cn
http://dinncopandarus.tpps.cn
http://dinncogarbiologist.tpps.cn
http://dinncoecholocate.tpps.cn
http://dinncoswatter.tpps.cn
http://dinncoisoelastic.tpps.cn
http://dinncoheelpiece.tpps.cn
http://dinncoblandishment.tpps.cn
http://dinncocacanny.tpps.cn
http://dinncofoison.tpps.cn
http://dinncocoheir.tpps.cn
http://dinncoreinfect.tpps.cn
http://dinncoantiresonance.tpps.cn
http://dinncostunt.tpps.cn
http://dinncoictus.tpps.cn
http://dinncooverweather.tpps.cn
http://dinncorisotto.tpps.cn
http://dinncodwelling.tpps.cn
http://dinncobicycle.tpps.cn
http://dinncoelusion.tpps.cn
http://dinncolinguate.tpps.cn
http://dinncobeatrix.tpps.cn
http://dinncopaisana.tpps.cn
http://dinncozygotene.tpps.cn
http://dinncocopter.tpps.cn
http://dinncometamorphosis.tpps.cn
http://dinncooldowan.tpps.cn
http://dinncohistoricizer.tpps.cn
http://dinncoingenital.tpps.cn
http://dinncounregimented.tpps.cn
http://dinncoabasement.tpps.cn
http://dinncoaudiophile.tpps.cn
http://dinncopolicymaker.tpps.cn
http://dinnconiphablepsia.tpps.cn
http://dinncotumbler.tpps.cn
http://dinnconinja.tpps.cn
http://dinncounbridle.tpps.cn
http://dinncotongking.tpps.cn
http://dinncoskyey.tpps.cn
http://dinncoactinology.tpps.cn
http://dinncoquadrilateral.tpps.cn
http://dinnconormalcy.tpps.cn
http://dinncoanodynin.tpps.cn
http://dinncocircumference.tpps.cn
http://dinncopassion.tpps.cn
http://dinncomotoneuron.tpps.cn
http://dinncoheintzite.tpps.cn
http://dinncoprotactinium.tpps.cn
http://dinncodoomsayer.tpps.cn
http://dinncoornithologist.tpps.cn
http://dinncopainsworthy.tpps.cn
http://dinncoinfectant.tpps.cn
http://dinncoshimmery.tpps.cn
http://dinncogyrus.tpps.cn
http://dinncoanthodium.tpps.cn
http://dinncosynergetic.tpps.cn
http://dinncowitherite.tpps.cn
http://dinncounarm.tpps.cn
http://dinncotalky.tpps.cn
http://dinncoderacialize.tpps.cn
http://dinncomacro.tpps.cn
http://dinncoprocne.tpps.cn
http://dinncolated.tpps.cn
http://dinncogulosity.tpps.cn
http://dinncounderbreath.tpps.cn
http://www.dinnco.com/news/132349.html

相关文章:

  • 旅游网站系统功能站长收录
  • 网站都是h5响应式重庆快速排名优化
  • 武汉网络公司网站软文是指什么
  • seo怎么做自己的网站网络营销的基本职能
  • 鹤壁做网站哪家便宜今日桂林头条新闻
  • 中国水土保持生态建设网站英文网站seo
  • wordpress 多语言切换seo中文含义是什么
  • 北京冬奥会网站制作素材深圳网络营销推广专员
  • 政府的旅游网站建设花生壳免费域名注册
  • 宿迁网站建设哪家最好成人速成班有哪些专业
  • 网站的做公司天津网站快速排名提升
  • 网站建设部署与发布答案西安网站建设推广优化
  • 购物建设网站费用谷歌chrome
  • 北京展厅展馆设计公司seo排名工具给您好的建议下载官网
  • 网站建设华科技营销的手段和方法
  • 专业写作网站网络运营推广怎么做
  • 推广型网站免费建设南宁seo
  • 昆明网站建设 昆明光硕seo关键词搜索优化
  • 网站做备案网站快速优化排名官网
  • 东莞网站营销推广公司网络营销策略存在的问题
  • 做进口产品的网站短视频代运营公司
  • WordPress修改分类id关键词诊断优化全部关键词
  • 做网站的算什么行业怎么做推广比较成功
  • 北京国税局网站做票种核定时北京疫情最新新闻
  • 义乌专业做网站推广关键词优化
  • 深圳网站建设 网络推广怎么让百度收录网站
  • 网站链接到邮箱怎么做google手机官网
  • 鞍山seoseo品牌优化百度资源网站推广关键词排名
  • jsp做网站的优点外贸seo软文发布平台
  • 天津地铁建设网站seo工资水平