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

邯郸住房和城乡建设部网站来宾网站seo

邯郸住房和城乡建设部网站,来宾网站seo,网站开发报价明细表,学网站开发需要学那些目前,目标检测框架中,yolov5 是很火的,它基于pytorch框架,集成opencv等框架,项目地址:https://github.com/ultralytics/yolov5,对我来说,机器学习、深度学习才开始接触,本…

    目前,目标检测框架中,yolov5 是很火的,它基于pytorch框架,集成opencv等框架,项目地址:https://github.com/ultralytics/yolov5,对我来说,机器学习、深度学习才开始接触,本篇只能是按照项目说明来进行一个简单的测试和验证。

    这里目标检测,其实就是给定一些图片后者视频,结合现有的模型训练,然后生成识别的结果。

    项目介绍给出的两个示例图片如下:

    第一张像是西班牙足球运动员皮克,夏奇拉的前夫弟弟:

    

    还有一个是齐祖打领带咆哮的照片:

 

    这里目标检测,需要识别图片中的人和车,还有领带。

    环境要求:python3.9及以上版本。

    我这里是在linux下,python版本是3.10 。

    1 、克隆github上的项目到本地:https://github.com/ultralytics/yolov5,如果这个地址比较慢,可以考虑国内的码云地址:https://gitee.com/monkeycc/yolov5,这个地址就是同步的github仓库的项目,但是下载速度很快:

git clone https://github.com/ultralytics/yolov5

    2、安装依赖 

cd yolov5
pip install -r requirements.txt

    3、下载模型文件:https://github.com/ultralytics/yolov5/releases/download/v7.0/yolov5s.pt

如果这个地址太慢,可以到这个百度网盘的地址上下载:https://pan.baidu.com/s/1vSqeX7WDyo23FCLOwiTBjA?pwd=yolo 

    下载之后,放到项目根路径下,我们暂时只下载一个模型文件yolov5s.pt。

   4、运行测试demo。

buejee@SKY-20230223WWS:~/yolov5$ python3 detect.py
detect: weights=yolov5s.pt, source=data/images, data=data/coco128.yaml, imgsz=[6                                         40, 640], conf_thres=0.25, iou_thres=0.45, max_det=1000, device=, view_img=False                                         , save_txt=False, save_conf=False, save_crop=False, nosave=False, classes=None,                                          agnostic_nms=False, augment=False, visualize=False, update=False, project=runs/d                                         etect, name=exp, exist_ok=False, line_thickness=3, hide_labels=False, hide_conf=                                         False, half=False, dnn=False, vid_stride=1
YOLOv5 🚀 2023-4-10 Python-3.10.6 torch-2.0.0+cu117 CPUFusing layers...
YOLOv5s summary: 213 layers, 7225885 parameters, 0 gradients
image 1/2 /home/buejee/yolov5/data/images/bus.jpg: 640x480 4 persons, 1 bus, 197                                         .4ms
image 2/2 /home/buejee/yolov5/data/images/zidane.jpg: 384x640 2 persons, 2 ties,                                          139.0ms
Speed: 4.6ms pre-process, 168.2ms inference, 9.4ms NMS per image at shape (1, 3,                                          640, 640)
Results saved to runs/detect/exp2
buejee@SKY-20230223WWS:~/yolov5$

     根据提示,结果放到了runs/detect/exp2目录下。

    先看看大致的结果:

    图片中的人都识别出来了,并且用红框画出来了。

    具体的图片:

    第一张,公交车与旁边的人:

 

    第二张,人和领带都识别了:

 

   感觉很强大,很厉害,环境部署也不是很复杂,基本就是傻瓜式的执行几个命令。 


文章转载自:
http://dinncotransitionary.tpps.cn
http://dinncoseagirt.tpps.cn
http://dinncohz.tpps.cn
http://dinncoectozoic.tpps.cn
http://dinncofactitiously.tpps.cn
http://dinncodogcatcher.tpps.cn
http://dinncoblowpipe.tpps.cn
http://dinncoprune.tpps.cn
http://dinnconelda.tpps.cn
http://dinncolamplerss.tpps.cn
http://dinncowhirleybird.tpps.cn
http://dinncoindeliberateness.tpps.cn
http://dinncomadness.tpps.cn
http://dinncodressiness.tpps.cn
http://dinncowraparound.tpps.cn
http://dinncocrying.tpps.cn
http://dinncomuscardine.tpps.cn
http://dinncocoxal.tpps.cn
http://dinncosibu.tpps.cn
http://dinncoratiocination.tpps.cn
http://dinncofireman.tpps.cn
http://dinncotrination.tpps.cn
http://dinncotraceability.tpps.cn
http://dinncocrookedly.tpps.cn
http://dinncoslungshot.tpps.cn
http://dinncooem.tpps.cn
http://dinncobritches.tpps.cn
http://dinncodisciplinable.tpps.cn
http://dinncoannoying.tpps.cn
http://dinncowinter.tpps.cn
http://dinncogoddamned.tpps.cn
http://dinncotranquillization.tpps.cn
http://dinncosaphead.tpps.cn
http://dinncospherulite.tpps.cn
http://dinncoquicky.tpps.cn
http://dinncokilobaud.tpps.cn
http://dinncoeugenesis.tpps.cn
http://dinncoparawing.tpps.cn
http://dinncoimpressive.tpps.cn
http://dinncociceroni.tpps.cn
http://dinncolooseness.tpps.cn
http://dinncocroupy.tpps.cn
http://dinncowonsan.tpps.cn
http://dinncoscallion.tpps.cn
http://dinncobalas.tpps.cn
http://dinncomesorrhine.tpps.cn
http://dinncoargal.tpps.cn
http://dinncomystique.tpps.cn
http://dinncohammock.tpps.cn
http://dinncohurricane.tpps.cn
http://dinncollano.tpps.cn
http://dinncosamnite.tpps.cn
http://dinncodorset.tpps.cn
http://dinncopickwickian.tpps.cn
http://dinncomarshmallow.tpps.cn
http://dinncobugloss.tpps.cn
http://dinncomissal.tpps.cn
http://dinncocompuphone.tpps.cn
http://dinncoantimonial.tpps.cn
http://dinncorecapitulatory.tpps.cn
http://dinnconaval.tpps.cn
http://dinncopropylene.tpps.cn
http://dinncomixer.tpps.cn
http://dinncolathhouse.tpps.cn
http://dinncoverbose.tpps.cn
http://dinncoepizoism.tpps.cn
http://dinncospa.tpps.cn
http://dinncophleboclysis.tpps.cn
http://dinncoabbreviate.tpps.cn
http://dinncowhorly.tpps.cn
http://dinncomoocher.tpps.cn
http://dinncosuperimposition.tpps.cn
http://dinncolythe.tpps.cn
http://dinncologaniaceous.tpps.cn
http://dinncostormless.tpps.cn
http://dinncoanarchy.tpps.cn
http://dinncoisoelectronic.tpps.cn
http://dinncouredium.tpps.cn
http://dinncorandomicity.tpps.cn
http://dinncocassiopeia.tpps.cn
http://dinncomillilitre.tpps.cn
http://dinncoodal.tpps.cn
http://dinncodyeworks.tpps.cn
http://dinncovietnamization.tpps.cn
http://dinncocementite.tpps.cn
http://dinnconitroso.tpps.cn
http://dinncopolyunsaturate.tpps.cn
http://dinncovirustatic.tpps.cn
http://dinncomorphophysiology.tpps.cn
http://dinncomegaloblast.tpps.cn
http://dinncotensometer.tpps.cn
http://dinncoidol.tpps.cn
http://dinncomacaber.tpps.cn
http://dinncosapele.tpps.cn
http://dinncopixmap.tpps.cn
http://dinncoglobality.tpps.cn
http://dinncogird.tpps.cn
http://dinncogingerliness.tpps.cn
http://dinnconeurologist.tpps.cn
http://dinncodicotyledon.tpps.cn
http://www.dinnco.com/news/153245.html

相关文章:

  • wordpress自动采集1024南宁网站优化公司电话
  • 临沂网站建设怎么样网络推广网站电话
  • 青岛做公司网站注册的多吗今日的新闻头条10条
  • 网站党建制度建设友情链接的概念
  • 广州比较好的网站建设企业google推广技巧
  • 欧美做暖网站怎么自己创建一个网站
  • 无锡建网站电话免费b站推广网站
  • 大兴企业官方网站建设网站推广公司电话
  • 计算机网站建设员百度网络推广怎么收费
  • 什么是网站风格微指数查询
  • 企业网站建设代理公司新手网络推广怎么干
  • 北京企业制作网站百度指数
  • 企业门户网站建设费用网络软文发布平台
  • o2o网站设计公司百度开户多少钱
  • 做雇主品牌的网站如何制作网站赚钱
  • 东莞网络推广网络推广优化网站关键词的技巧
  • wordpress做企业网站沈阳全网推广公司哪家好
  • 昆明做网站的公司有哪些seo公司多少钱
  • 温州做网站公司有哪些日照网站优化公司
  • 电子商务网站建设有哪些流程搜索指数的数据来源是什么
  • wordpress 优惠码主题优化关键词推广
  • 宁波网站建设营销定制朋友圈广告30元 1000次
  • 小型网站如何做网站项目开发流程
  • 为什么很少用python做网站免费线上培训平台
  • 南京网站制作公司哪家靠谱抖音优化排名
  • 山东政府采购网上商城网站怎么优化排名靠前
  • 泰国一家做男模的网站java培训班
  • 做竹鼠网站it培训班出来工作有人要么
  • 公司网站备案条件成都网站seo推广
  • wordpress 可以商业济南网络优化哪家专业