{"id":83408,"date":"2026-07-25T21:49:18","date_gmt":"2026-07-25T13:49:18","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83408.html"},"modified":"2026-07-25T21:49:18","modified_gmt":"2026-07-25T13:49:18","slug":"%e5%bb%ba%e7%ad%91%e7%89%a9%e5%9b%be%e5%83%8f%e5%88%86%e5%89%b2%e8%af%86%e5%88%ab-%e8%87%aa%e5%8a%a8%e6%8f%90%e5%8f%96%e5%9f%8e%e5%b8%82%e5%bb%ba%e7%ad%91%e5%88%86%e5%b8%83%e5%9b%be-%e5%bb%ba","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83408.html","title":{"rendered":"\u5efa\u7b51\u7269\u56fe\u50cf\u5206\u5272\u8bc6\u522b \u81ea\u52a8\u63d0\u53d6\u57ce\u5e02\u5efa\u7b51\u5206\u5e03\u56fe - \u5efa\u7b51\u5bc6\u5ea6\u5206\u6790\u3001\u57ce\u5e02\u6269\u5f20\u76d1\u6d4b \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6 \u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf"},"content":{"rendered":"<h2>yolo \u63a9\u819c\u53ca\u65e0\u63a9\u819c \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6&#xff0c;\u5305\u542b\u5927\u91cf\u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf&#xff0c;\u56fe\u7247\u6e05\u6670\u6807\u6ce8&#xff0c;\u9002\u5408\u76ee\u6807\u68c0\u6d4b\u6a21\u578b\u8bad\u7ec3\u3002\u6570\u636e\u96c6\u5df2\u6807\u6ce8\u597d&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528&#xff0c;\u652f\u6301\u591a\u79cd\u683c\u5f0f\u8f93\u51fa&#xff0c;\u4e00\u7c7b\u3002<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725134916-6a64bedc4759b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n1<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725134916-6a64bedc89b2d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n1<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725134916-6a64bedcadddc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n1<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725134916-6a64bedcd2f25.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><br \/>\n\u60a8\u63d0\u4f9b\u7684\u6570\u636e\u96c6\u662f \u9ad8\u5206\u8fa8\u7387\u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u7684\u822a\u62cd\u56fe\u50cf&#xff0c;\u5305\u542b \u8fb9\u754c\u6846&#xff08;Bounding Box&#xff09;\u548c\u63a9\u819c&#xff08;Mask&#xff09;\u6807\u6ce8&#xff0c;\u9002\u7528\u4e8e \u76ee\u6807\u68c0\u6d4b\u4e0e\u5b9e\u4f8b\u5206\u5272\u4efb\u52a1\u3002&#061;<\/p>\n<hr \/>\n<h3>&#x1f4ca; \u4e00\u3001\u6570\u636e\u96c6\u6838\u5fc3\u7279\u5f81<\/h3>\n<table>\n<tr>\u7279\u6027\u63cf\u8ff0<\/tr>\n<tbody>\n<tr>\n<td>\u56fe\u50cf\u6765\u6e90<\/td>\n<td>\u822a\u62cd\/\u536b\u661f\u5f71\u50cf&#xff08;\u5982\u65e0\u4eba\u673a\u3001\u536b\u661f\u9065\u611f&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u6807\u6ce8\u7c7b\u578b<\/td>\n<td>\u2705 \u8fb9\u754c\u6846&#xff08;YOLO \u683c\u5f0f&#xff09;\u2705 \u5b9e\u4f8b\u63a9\u819c&#xff08;Polygon \u6216 RLE&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u6807\u6ce8\u8d28\u91cf<\/td>\n<td>\u7cbe\u786e\u5230\u5efa\u7b51\u8f6e\u5ed3&#xff0c;\u542b\u4e0d\u89c4\u5219\u5f62\u72b6\u3001\u906e\u6321\u3001\u591a\u5c42\u7ed3\u6784<\/td>\n<\/tr>\n<tr>\n<td>\u573a\u666f\u591a\u6837\u6027<\/td>\n<td>\u57ce\u5e02\u5bc6\u96c6\u533a\u3001\u90ca\u533a\u3001\u5de5\u4e1a\u533a\u3001\u519c\u6751\u7b49<\/td>\n<\/tr>\n<tr>\n<td>\u652f\u6301\u683c\u5f0f<\/td>\n<td>YOLOv5\/v8&#xff08;.txt&#xff09;\u3001COCO&#xff08;JSON&#xff09;\u3001Pascal VOC\u3001DeepLab \u7b49<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>&#x1f310; \u4e8c\u3001\u4e3b\u8981\u5e94\u7528\u9886\u57df<\/h3>\n<h4>1. &#x1f3d9;\ufe0f \u667a\u6167\u57ce\u5e02\u4e0e\u57ce\u5e02\u89c4\u5212<\/h4>\n<ul>\n<li>\u81ea\u52a8\u63d0\u53d6\u57ce\u5e02\u5efa\u7b51\u5206\u5e03\u56fe<\/li>\n<li>\u5efa\u7b51\u5bc6\u5ea6\u5206\u6790\u3001\u57ce\u5e02\u6269\u5f20\u76d1\u6d4b<\/li>\n<li>\u571f\u5730\u5229\u7528\u5206\u7c7b&#xff08;\u4f4f\u5b85\/\u5546\u4e1a\/\u5de5\u4e1a&#xff09;<\/li>\n<li>\u653f\u5e9c\u90e8\u95e8\u7528\u4e8e\u4eba\u53e3\u666e\u67e5\u3001\u623f\u4ea7\u767b\u8bb0<\/li>\n<\/ul>\n<p>\u2705 \u793a\u4f8b&#xff1a;\u901a\u8fc7 AI \u5feb\u901f\u751f\u6210\u201c\u57ce\u5e02\u4e09\u7ef4\u6a21\u578b\u201d\u57fa\u7840\u6570\u636e<\/p>\n<hr \/>\n<h4>2. &#x1f527; \u5730\u7406\u4fe1\u606f\u7cfb\u7edf&#xff08;GIS&#xff09;\u4e0e\u9065\u611f<\/h4>\n<ul>\n<li>\u9ad8\u7cbe\u5ea6\u5730\u56fe\u66f4\u65b0&#xff08;\u5982 Google Earth\u3001\u767e\u5ea6\u5730\u56fe&#xff09;<\/li>\n<li>\u6570\u5b57\u5b6a\u751f\u57ce\u5e02\u5efa\u8bbe<\/li>\n<li>\u5730\u5f62\u5efa\u6a21\u4e0e\u7a7a\u95f4\u5206\u6790<\/li>\n<li>\u7ed3\u5408 LiDAR \u6570\u636e\u8fdb\u884c\u4e09\u7ef4\u91cd\u5efa<\/li>\n<\/ul>\n<p>\u2705 \u793a\u4f8b&#xff1a;\u81ea\u52a8\u8bc6\u522b\u65b0\u5efa\u5efa\u7b51&#xff0c;\u8f85\u52a9\u6d4b\u7ed8\u516c\u53f8\u66f4\u65b0\u6570\u636e\u5e93<\/p>\n<hr \/>\n<h4>3. &#x1f6a7; \u707e\u5bb3\u8bc4\u4f30\u4e0e\u5e94\u6025\u7ba1\u7406<\/h4>\n<ul>\n<li>\u5730\u9707\u3001\u6d2a\u6c34\u540e\u5feb\u901f\u8bc4\u4f30\u5efa\u7b51\u7269\u635f\u6bc1\u60c5\u51b5<\/li>\n<li>\u8bc6\u522b\u5012\u584c\u3001\u503e\u659c\u3001\u88c2\u7f1d\u5efa\u7b51<\/li>\n<li>\u5e94\u6025\u6551\u63f4\u8def\u5f84\u89c4\u5212<\/li>\n<li>\u635f\u5931\u9884\u4f30&#xff08;\u57fa\u4e8e\u5efa\u7b51\u6570\u91cf\u4e0e\u9762\u79ef&#xff09;<\/li>\n<\/ul>\n<p>\u2705 \u793a\u4f8b&#xff1a;\u707e\u540e 1 \u5c0f\u65f6\u5185\u5b8c\u6210\u5168\u57ce\u5efa\u7b51\u72b6\u6001\u8bc4\u4f30<\/p>\n<hr \/>\n<hr \/>\n<h4>5. &#x1f6e0;\ufe0f \u81ea\u52a8\u9a7e\u9a76\u4e0e\u673a\u5668\u4eba\u5bfc\u822a<\/h4>\n<ul>\n<li>\u9ad8\u7cbe\u5730\u56fe\u6784\u5efa&#xff08;\u5efa\u7b51\u8fb9\u754c\u4f5c\u4e3a\u8def\u7f51\u53c2\u8003&#xff09;<\/li>\n<li>\u5ba4\u5916\u73af\u5883\u7406\u89e3&#xff08;\u5efa\u7b51\u4e3a\u9759\u6001\u969c\u788d\u7269&#xff09;<\/li>\n<li>\u65e0\u4eba\u673a\u81ea\u4e3b\u98de\u884c\u8def\u5f84\u89c4\u5212&#xff08;\u907f\u5f00\u5efa\u7b51\u7fa4&#xff09;<\/li>\n<\/ul>\n<p>\u2705 \u793a\u4f8b&#xff1a;\u81ea\u52a8\u9a7e\u9a76\u8f66\u8f86\u5728\u590d\u6742\u57ce\u533a\u4e2d\u8bc6\u522b\u5efa\u7b51\u8fb9\u7f18\u4ee5\u907f\u969c<\/p>\n<hr \/>\n<h4>6. &#x1f331; \u751f\u6001\u73af\u5883\u4e0e\u53ef\u6301\u7eed\u53d1\u5c55<\/h4>\n<ul>\n<li>\u5efa\u7b51\u5c4b\u9876\u7eff\u5316\u76d1\u6d4b&#xff08;\u5149\u4f0f\u677f vs \u7eff\u690d&#xff09;<\/li>\n<li>\u57ce\u5e02\u70ed\u5c9b\u6548\u5e94\u5206\u6790&#xff08;\u5efa\u7b51\u5bc6\u5ea6\u5f71\u54cd\u6e29\u5ea6&#xff09;<\/li>\n<li>\u592a\u9633\u80fd\u6f5c\u529b\u8bc4\u4f30&#xff08;\u5c4b\u9876\u9762\u79ef &#043; \u671d\u5411&#xff09;<\/li>\n<\/ul>\n<p>\u2705 \u793a\u4f8b&#xff1a;\u653f\u5e9c\u63a8\u52a8\u201c\u7eff\u8272\u5c4b\u9876\u201d\u653f\u7b56&#xff0c;AI \u76d1\u6d4b\u6267\u884c\u60c5\u51b5<\/p>\n<hr \/>\n<p>\u5e26\u63a9\u819c&#xff08;Mask&#xff09;\u4e0e\u65e0\u63a9\u819c&#xff08;\u4ec5\u8fb9\u754c\u6846&#xff09;\u7684\u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u6570\u636e\u96c6 \u7684\u5b8c\u6574\u8bad\u7ec3\u4ee3\u7801&#xff0c;\u652f\u6301 \u76ee\u6807\u68c0\u6d4b&#xff08;Bounding Box&#xff09; \u548c \u5b9e\u4f8b\u5206\u5272&#xff08;Instance Segmentation&#xff09; \u4e24\u79cd\u4efb\u52a1\u3002\u4f7f\u7528 Ultralytics YOLOv8 \u6846\u67b6&#xff08;\u622a\u81f32025\u5e74\u6700\u7a33\u5b9a\u3001\u529f\u80fd\u6700\u5168\u7684\u5b98\u65b9YOLO\u5b9e\u73b0&#xff09;&#xff0c;\u5e76\u63d0\u4f9b\u4ece\u6570\u636e\u51c6\u5907\u5230\u6a21\u578b\u5bfc\u51fa\u7684\u5168\u6d41\u7a0b\u3002<\/p>\n<hr \/>\n<h3>&#x1f4c1; \u4e00\u3001\u9879\u76ee\u7ed3\u6784<\/h3>\n<p>Building_Dataset\/<br \/>\n\u251c\u2500\u2500 dataset.yaml                <span class=\"token comment\"># \u6570\u636e\u96c6\u914d\u7f6e\u6587\u4ef6<\/span><br \/>\n\u251c\u2500\u2500 train.py                    <span class=\"token comment\"># \u8bad\u7ec3\u811a\u672c<\/span><br \/>\n\u251c\u2500\u2500 predict_demo.py             <span class=\"token comment\"># \u63a8\u7406\u6f14\u793a<\/span><br \/>\n\u251c\u2500\u2500 dataset\/<br \/>\n\u2502   \u251c\u2500\u2500 images\/<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 train\/<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 val\/<br \/>\n\u2502   \u2502   \u2514\u2500\u2500 test\/<br \/>\n\u2502   \u2514\u2500\u2500 labels\/<br \/>\n\u2502       \u251c\u2500\u2500 train\/              <span class=\"token comment\"># YOLO\u683c\u5f0f&#xff1a;*.txt&#xff08;\u542bbox &#043; \u53ef\u9009polygon&#xff09;<\/span><br \/>\n\u2502       \u251c\u2500\u2500 val\/<br \/>\n\u2502       \u2514\u2500\u2500 test\/<br \/>\n\u2514\u2500\u2500 requirements.txt<\/p>\n<p>\u2705 \u652f\u6301\u4e24\u79cd\u6a21\u5f0f&#xff1a;<\/p>\n<ul>\n<li>\u4ec5\u68c0\u6d4b&#xff1a;labels\/*.txt \u4e2d\u6bcf\u884c\u4e3a class_id x y w h<\/li>\n<li>\u5b9e\u4f8b\u5206\u5272&#xff1a;labels\/*.txt \u4e2d\u6bcf\u884c\u4e3a class_id x1 y1 x2 y2 &#8230; xn yn&#xff08;\u5f52\u4e00\u5316\u5750\u6807&#xff09;<\/li>\n<\/ul>\n<hr \/>\n<h3>&#x1f4e6; \u4e8c\u3001\u4f9d\u8d56\u5b89\u88c5&#xff08;requirements.txt&#xff09;<\/h3>\n<p>ultralytics&#061;&#061;8.2.0<br \/>\ntorch&gt;&#061;1.10.0<br \/>\ntorchvision&gt;&#061;0.11.0<br \/>\nopencv-python&gt;&#061;4.6.0<br \/>\nnumpy&gt;&#061;1.21.0<br \/>\nmatplotlib&gt;&#061;3.7.0<br \/>\nscipy&gt;&#061;1.10.0<\/p>\n<p>\u5b89\u88c5\u547d\u4ee4&#xff1a;<\/p>\n<p>pip <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-r<\/span> requirements.txt<\/p>\n<hr \/>\n<h3>&#x1f4c4; \u4e09\u3001\u6570\u636e\u96c6\u914d\u7f6e\u6587\u4ef6 dataset.yaml<\/h3>\n<h4>\u25b6 \u573a\u666f1&#xff1a;\u4ec5\u76ee\u6807\u68c0\u6d4b&#xff08;\u65e0\u63a9\u819c&#xff09;<\/h4>\n<p><span class=\"token comment\"># dataset.yaml (Detection Only)<\/span><br \/>\n<span class=\"token key atrule\">path<\/span><span class=\"token punctuation\">:<\/span> .\/dataset<br \/>\n<span class=\"token key atrule\">train<\/span><span class=\"token punctuation\">:<\/span> images\/train<br \/>\n<span class=\"token key atrule\">val<\/span><span class=\"token punctuation\">:<\/span> images\/val<br \/>\n<span class=\"token key atrule\">test<\/span><span class=\"token punctuation\">:<\/span> images\/test<\/p>\n<p><span class=\"token key atrule\">nc<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token key atrule\">names<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;building&#039;<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<h4>\u25b6 \u573a\u666f2&#xff1a;\u5b9e\u4f8b\u5206\u5272&#xff08;\u5e26\u63a9\u819c&#xff09;<\/h4>\n<p><span class=\"token comment\"># dataset.yaml (Segmentation)<\/span><br \/>\n<span class=\"token key atrule\">path<\/span><span class=\"token punctuation\">:<\/span> .\/dataset<br \/>\n<span class=\"token key atrule\">train<\/span><span class=\"token punctuation\">:<\/span> images\/train<br \/>\n<span class=\"token key atrule\">val<\/span><span class=\"token punctuation\">:<\/span> images\/val<br \/>\n<span class=\"token key atrule\">test<\/span><span class=\"token punctuation\">:<\/span> images\/test<\/p>\n<p><span class=\"token key atrule\">nc<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token key atrule\">names<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;building&#039;<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<p><span class=\"token comment\"># \u6ce8\u610f&#xff1a;YOLOv8-seg \u81ea\u52a8\u8bc6\u522b labels \u4e2d\u7684\u591a\u70b9\u5750\u6807\u4f5c\u4e3a mask<\/span><\/p>\n<p>&#x1f4a1; \u6807\u6ce8\u793a\u4f8b&#xff08;labels\/train\/001.txt&#xff09;&#xff1a;<\/p>\n<p>0 0.5 0.5 0.2 0.3                     # \u68c0\u6d4b\u6a21\u5f0f<br \/>\n0 0.4 0.4 0.6 0.4 0.6 0.6 0.4 0.6     # \u5206\u5272\u6a21\u5f0f&#xff08;4\u4e2a\u70b9\u7684\u77e9\u5f62&#xff09;<\/p>\n<hr \/>\n<h3>&#x1f680; \u56db\u3001\u5b8c\u6574\u8bad\u7ec3\u4ee3\u7801 train.py<\/h3>\n<p><span class=\"token comment\"># train.py<\/span><br \/>\n<span class=\"token keyword\">from<\/span> ultralytics <span class=\"token keyword\">import<\/span> YOLO<br \/>\n<span class=\"token keyword\">import<\/span> torch<br \/>\n<span class=\"token keyword\">import<\/span> os<\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    device <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#039;cuda&#039;<\/span> <span class=\"token keyword\">if<\/span> torch<span class=\"token punctuation\">.<\/span>cuda<span class=\"token punctuation\">.<\/span>is_available<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">else<\/span> <span class=\"token string\">&#039;cpu&#039;<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;&#x1f680; \u4f7f\u7528\u8bbe\u5907: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>device<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n    <span class=\"token comment\"># \u9009\u62e9\u4efb\u52a1\u7c7b\u578b<\/span><br \/>\n    <span class=\"token comment\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n    TASK <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;segment&#034;<\/span>  <span class=\"token comment\"># \u53ef\u9009: &#034;detect&#034; \u6216 &#034;segment&#034;<\/span><\/p>\n<p>    <span class=\"token keyword\">if<\/span> TASK <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#034;detect&#034;<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        model_name <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;yolov8s.pt&#034;<\/span>          <span class=\"token comment\"># \u76ee\u6807\u68c0\u6d4b\u6a21\u578b<\/span><br \/>\n        project_name <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;building_detection&#034;<\/span><br \/>\n    <span class=\"token keyword\">elif<\/span> TASK <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#034;segment&#034;<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        model_name <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;yolov8s-seg.pt&#034;<\/span>      <span class=\"token comment\"># \u5b9e\u4f8b\u5206\u5272\u6a21\u578b<\/span><br \/>\n        project_name <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;building_segmentation&#034;<\/span><br \/>\n    <span class=\"token keyword\">else<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">raise<\/span> ValueError<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;TASK \u5fc5\u987b\u662f &#039;detect&#039; \u6216 &#039;segment&#039;&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># \u52a0\u8f7d\u9884\u8bad\u7ec3\u6a21\u578b<\/span><br \/>\n    model <span class=\"token operator\">&#061;<\/span> YOLO<span class=\"token punctuation\">(<\/span>model_name<span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># \u8bad\u7ec3\u53c2\u6570<\/span><br \/>\n    results <span class=\"token operator\">&#061;<\/span> model<span class=\"token punctuation\">.<\/span>train<span class=\"token punctuation\">(<\/span><br \/>\n        data<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;dataset.yaml&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        epochs<span class=\"token operator\">&#061;<\/span><span class=\"token number\">100<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        imgsz<span class=\"token operator\">&#061;<\/span><span class=\"token number\">640<\/span><span class=\"token punctuation\">,<\/span>                          <span class=\"token comment\"># \u5efa\u7b51\u7ec6\u8282\u4e30\u5bcc&#xff0c;\u5efa\u8bae \u2265640<\/span><br \/>\n        batch<span class=\"token operator\">&#061;<\/span><span class=\"token number\">16<\/span><span class=\"token punctuation\">,<\/span>                           <span class=\"token comment\"># \u6839\u636e GPU \u8c03\u6574&#xff08;32G \u663e\u5b58\u53ef\u8bbe 32&#xff09;<\/span><br \/>\n        name<span class=\"token operator\">&#061;<\/span>project_name<span class=\"token punctuation\">,<\/span><br \/>\n        device<span class=\"token operator\">&#061;<\/span>device<span class=\"token punctuation\">,<\/span><br \/>\n        patience<span class=\"token operator\">&#061;<\/span><span class=\"token number\">25<\/span><span class=\"token punctuation\">,<\/span>                        <span class=\"token comment\"># \u65e9\u505c<\/span><br \/>\n        save<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        plots<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">,<\/span>                         <span class=\"token comment\"># \u751f\u6210 PR \u66f2\u7ebf\u3001\u6df7\u6dc6\u77e9\u9635\u7b49<\/span><br \/>\n        exist_ok<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">False<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        workers<span class=\"token operator\">&#061;<\/span><span class=\"token number\">8<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        optimizer<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;AdamW&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        lr0<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.01<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        lrf<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.01<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        augment<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">,<\/span>                       <span class=\"token comment\"># \u542f\u7528 Mosaic\u3001HSV\u3001\u65cb\u8f6c\u7b49\u589e\u5f3a<\/span><br \/>\n        degrees<span class=\"token operator\">&#061;<\/span><span class=\"token number\">10.0<\/span><span class=\"token punctuation\">,<\/span>                       <span class=\"token comment\"># \u00b110\u00b0 \u65cb\u8f6c&#xff08;\u9002\u5408\u822a\u62cd&#xff09;<\/span><br \/>\n        translate<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.1<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        scale<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.5<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        flipud<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.0<\/span><span class=\"token punctuation\">,<\/span>                         <span class=\"token comment\"># \u822a\u62cd\u56fe\u901a\u5e38\u4e0d\u4e0a\u4e0b\u7ffb\u8f6c<\/span><br \/>\n        fliplr<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.5<\/span><span class=\"token punctuation\">,<\/span>                         <span class=\"token comment\"># \u5de6\u53f3\u7ffb\u8f6c\u5b89\u5168<\/span><br \/>\n        mosaic<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1.0<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        mixup<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.1<\/span><br \/>\n    <span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># \u5728\u6d4b\u8bd5\u96c6\u4e0a\u8bc4\u4f30<\/span><br \/>\n    metrics <span class=\"token operator\">&#061;<\/span> model<span class=\"token punctuation\">.<\/span>val<span class=\"token punctuation\">(<\/span>data<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;dataset.yaml&#039;<\/span><span class=\"token punctuation\">,<\/span> split<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;test&#039;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\\\\n\u2705 \u6d4b\u8bd5\u96c6\u7ed3\u679c:&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> TASK <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#034;detect&#034;<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;  mAP&#064;0.5:         <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>metrics<span class=\"token punctuation\">.<\/span>box<span class=\"token punctuation\">.<\/span>map50<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.5f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;  mAP&#064;0.5:0.95:    <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>metrics<span class=\"token punctuation\">.<\/span>box<span class=\"token punctuation\">.<\/span><span class=\"token builtin\">map<\/span><span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.5f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">else<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;  mAP&#064;0.5 (Box):   <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>metrics<span class=\"token punctuation\">.<\/span>box<span class=\"token punctuation\">.<\/span>map50<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.5f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;  mAP&#064;0.5 (Mask):  <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>metrics<span class=\"token punctuation\">.<\/span>seg<span class=\"token punctuation\">.<\/span>map50<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.5f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">if<\/span> __name__ <span class=\"token operator\">&#061;&#061;<\/span> <span class=\"token string\">&#039;__main__&#039;<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    main<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u8fd0\u884c\u8bad\u7ec3&#xff1a;<\/p>\n<p>python train.py<\/p>\n<hr \/>\n<h3>&#x1f50d; \u4e94\u3001\u63a8\u7406\u4e0e\u53ef\u89c6\u5316 predict_demo.py<\/h3>\n<p><span class=\"token comment\"># predict_demo.py<\/span><br \/>\n<span class=\"token keyword\">from<\/span> ultralytics <span class=\"token keyword\">import<\/span> YOLO<br \/>\n<span class=\"token keyword\">import<\/span> cv2<\/p>\n<p><span class=\"token comment\"># \u52a0\u8f7d\u8bad\u7ec3\u597d\u7684\u6a21\u578b<\/span><br \/>\nmodel <span class=\"token operator\">&#061;<\/span> YOLO<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;runs\/segment\/building_segmentation\/weights\/best.pt&#039;<\/span><span class=\"token punctuation\">)<\/span>  <span class=\"token comment\"># \u6216 detect \u8def\u5f84<\/span><\/p>\n<p><span class=\"token comment\"># \u5355\u5f20\u56fe\u50cf\u63a8\u7406<\/span><br \/>\nresults <span class=\"token operator\">&#061;<\/span> model<span class=\"token punctuation\">.<\/span>predict<span class=\"token punctuation\">(<\/span><br \/>\n    source<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;test_image.jpg&#039;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    conf<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.25<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    iou<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.45<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    save<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">,<\/span>          <span class=\"token comment\"># \u4fdd\u5b58\u5e26\u6807\u6ce8\u7684\u56fe\u50cf<\/span><br \/>\n    show<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span>           <span class=\"token comment\"># \u5b9e\u65f6\u663e\u793a<\/span><br \/>\n<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u83b7\u53d6\u7ed3\u679c<\/span><br \/>\n<span class=\"token keyword\">for<\/span> result <span class=\"token keyword\">in<\/span> results<span class=\"token punctuation\">:<\/span><br \/>\n    boxes <span class=\"token operator\">&#061;<\/span> result<span class=\"token punctuation\">.<\/span>boxes  <span class=\"token comment\"># \u8fb9\u754c\u6846<\/span><br \/>\n    masks <span class=\"token operator\">&#061;<\/span> result<span class=\"token punctuation\">.<\/span>masks  <span class=\"token comment\"># \u63a9\u819c&#xff08;\u82e5\u4e3a segmentation&#xff09;<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;\u68c0\u6d4b\u5230 <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span><span class=\"token builtin\">len<\/span><span class=\"token punctuation\">(<\/span>boxes<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> \u680b\u5efa\u7b51&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> masks <span class=\"token keyword\">is<\/span> <span class=\"token keyword\">not<\/span> <span class=\"token boolean\">None<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;\u751f\u6210 <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span><span class=\"token builtin\">len<\/span><span class=\"token punctuation\">(<\/span>masks<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> \u4e2a\u63a9\u819c&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<hr \/>\n<h3>&#x1f4e4; \u516d\u3001\u6a21\u578b\u5bfc\u51fa&#xff08;\u7528\u4e8e\u90e8\u7f72&#xff09;<\/h3>\n<p><span class=\"token comment\"># export_model.py<\/span><br \/>\n<span class=\"token keyword\">from<\/span> ultralytics <span class=\"token keyword\">import<\/span> YOLO<\/p>\n<p>model <span class=\"token operator\">&#061;<\/span> YOLO<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;runs\/segment\/building_segmentation\/weights\/best.pt&#039;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u5bfc\u51fa\u4e3a ONNX&#xff08;\u901a\u7528&#xff09;<\/span><br \/>\nmodel<span class=\"token punctuation\">.<\/span>export<span class=\"token punctuation\">(<\/span><span class=\"token builtin\">format<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;onnx&#039;<\/span><span class=\"token punctuation\">,<\/span> imgsz<span class=\"token operator\">&#061;<\/span><span class=\"token number\">640<\/span><span class=\"token punctuation\">,<\/span> simplify<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u5bfc\u51fa\u4e3a TensorRT&#xff08;Jetson \/ NVIDIA GPU&#xff09;<\/span><br \/>\nmodel<span class=\"token punctuation\">.<\/span>export<span class=\"token punctuation\">(<\/span><span class=\"token builtin\">format<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;engine&#039;<\/span><span class=\"token punctuation\">,<\/span> imgsz<span class=\"token operator\">&#061;<\/span><span class=\"token number\">640<\/span><span class=\"token punctuation\">,<\/span> half<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">,<\/span> device<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u5bfc\u51fa\u4e3a OpenVINO&#xff08;Intel CPU&#xff09;<\/span><br \/>\nmodel<span class=\"token punctuation\">.<\/span>export<span class=\"token punctuation\">(<\/span><span class=\"token builtin\">format<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;openvino&#039;<\/span><span class=\"token punctuation\">,<\/span> imgsz<span class=\"token operator\">&#061;<\/span><span class=\"token number\">640<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<hr \/>\n<h3>&#x1f4ca; \u4e03\u3001\u9884\u671f\u6027\u80fd&#xff08;\u57fa\u4e8e\u7c7b\u4f3c\u6570\u636e\u96c6\u7ecf\u9a8c&#xff09;<\/h3>\n<table>\n<tr>\u4efb\u52a1\u6a21\u578b\u9884\u671f mAP&#064;0.5\u63a8\u7406\u901f\u5ea6&#xff08;RTX 3090&#xff09;<\/tr>\n<tbody>\n<tr>\n<td>\u76ee\u6807\u68c0\u6d4b<\/td>\n<td>YOLOv8s<\/td>\n<td>0.92\u20130.96<\/td>\n<td>120 FPS<\/td>\n<\/tr>\n<tr>\n<td>\u5b9e\u4f8b\u5206\u5272<\/td>\n<td>YOLOv8s-seg<\/td>\n<td>0.88\u20130.93<\/td>\n<td>45 FPS<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u2705 \u5efa\u7b51\u8f6e\u5ed3\u6e05\u6670\u3001\u80cc\u666f\u7b80\u5355&#xff0c;mAP &gt; 0.9 \u662f\u5b8c\u5168\u53ef\u5b9e\u73b0\u7684<\/p>\n<hr \/>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>yolo \u63a9\u819c\u53ca\u65e0\u63a9\u819c \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6&#xff0c;\u5305\u542b\u5927\u91cf\u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf&#xff0c;\u56fe\u7247\u6e05\u6670\u6807\u6ce8&#xff0c;\u9002\u5408\u76ee\u6807\u68c0\u6d4b\u6a21\u578b\u8bad\u7ec3\u3002\u6570\u636e\u96c6\u5df2\u6807\u6ce8\u597d&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528&#xff0c;\u652f\u6301\u591a\u79cd\u683c\u5f0f\u8f93\u51fa&#xff0c;\u4e00\u7c7b\u3002111\u60a8\u63d0\u4f9b\u7684\u6570\u636e\u96c6\u662f \u9ad8\u5206\u8fa8\u7387\u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u7684\u822a\u62cd\u56fe\u50cf&#xff0c;\u5305\u542b \u8fb9\u754c\u6846&#xff08;Bounding Box&#xff09;\u548c\u63a9\u819c&#xff08;Mask&#xff09;\u6807\u6ce8&#xff0c;\u9002\u7528\u4e8e \u76ee\u6807\u68c0\u6d4b\u4e0e\u5b9e\u4f8b<\/p>\n","protected":false},"author":2,"featured_media":83404,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[156,50,3267,86,523],"topic":[],"class_list":["post-83408","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-yolo","tag-50","tag-3267","tag-86","tag-523"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5efa\u7b51\u7269\u56fe\u50cf\u5206\u5272\u8bc6\u522b \u81ea\u52a8\u63d0\u53d6\u57ce\u5e02\u5efa\u7b51\u5206\u5e03\u56fe - \u5efa\u7b51\u5bc6\u5ea6\u5206\u6790\u3001\u57ce\u5e02\u6269\u5f20\u76d1\u6d4b \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6 \u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/83408.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5efa\u7b51\u7269\u56fe\u50cf\u5206\u5272\u8bc6\u522b \u81ea\u52a8\u63d0\u53d6\u57ce\u5e02\u5efa\u7b51\u5206\u5e03\u56fe - \u5efa\u7b51\u5bc6\u5ea6\u5206\u6790\u3001\u57ce\u5e02\u6269\u5f20\u76d1\u6d4b \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6 \u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"yolo \u63a9\u819c\u53ca\u65e0\u63a9\u819c \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6&#xff0c;\u5305\u542b\u5927\u91cf\u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf&#xff0c;\u56fe\u7247\u6e05\u6670\u6807\u6ce8&#xff0c;\u9002\u5408\u76ee\u6807\u68c0\u6d4b\u6a21\u578b\u8bad\u7ec3\u3002\u6570\u636e\u96c6\u5df2\u6807\u6ce8\u597d&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528&#xff0c;\u652f\u6301\u591a\u79cd\u683c\u5f0f\u8f93\u51fa&#xff0c;\u4e00\u7c7b\u3002111\u60a8\u63d0\u4f9b\u7684\u6570\u636e\u96c6\u662f \u9ad8\u5206\u8fa8\u7387\u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u7684\u822a\u62cd\u56fe\u50cf&#xff0c;\u5305\u542b \u8fb9\u754c\u6846&#xff08;Bounding Box&#xff09;\u548c\u63a9\u819c&#xff08;Mask&#xff09;\u6807\u6ce8&#xff0c;\u9002\u7528\u4e8e \u76ee\u6807\u68c0\u6d4b\u4e0e\u5b9e\u4f8b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83408.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T13:49:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725134916-6a64bedc4759b.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83408.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83408.html\",\"name\":\"\u5efa\u7b51\u7269\u56fe\u50cf\u5206\u5272\u8bc6\u522b \u81ea\u52a8\u63d0\u53d6\u57ce\u5e02\u5efa\u7b51\u5206\u5e03\u56fe - \u5efa\u7b51\u5bc6\u5ea6\u5206\u6790\u3001\u57ce\u5e02\u6269\u5f20\u76d1\u6d4b \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6 \u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T13:49:18+00:00\",\"dateModified\":\"2026-07-25T13:49:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83408.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83408.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83408.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5efa\u7b51\u7269\u56fe\u50cf\u5206\u5272\u8bc6\u522b \u81ea\u52a8\u63d0\u53d6\u57ce\u5e02\u5efa\u7b51\u5206\u5e03\u56fe - \u5efa\u7b51\u5bc6\u5ea6\u5206\u6790\u3001\u57ce\u5e02\u6269\u5f20\u76d1\u6d4b \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6 \u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5efa\u7b51\u7269\u56fe\u50cf\u5206\u5272\u8bc6\u522b \u81ea\u52a8\u63d0\u53d6\u57ce\u5e02\u5efa\u7b51\u5206\u5e03\u56fe - \u5efa\u7b51\u5bc6\u5ea6\u5206\u6790\u3001\u57ce\u5e02\u6269\u5f20\u76d1\u6d4b \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6 \u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/83408.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5efa\u7b51\u7269\u56fe\u50cf\u5206\u5272\u8bc6\u522b \u81ea\u52a8\u63d0\u53d6\u57ce\u5e02\u5efa\u7b51\u5206\u5e03\u56fe - \u5efa\u7b51\u5bc6\u5ea6\u5206\u6790\u3001\u57ce\u5e02\u6269\u5f20\u76d1\u6d4b \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6 \u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"yolo \u63a9\u819c\u53ca\u65e0\u63a9\u819c \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6&#xff0c;\u5305\u542b\u5927\u91cf\u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf&#xff0c;\u56fe\u7247\u6e05\u6670\u6807\u6ce8&#xff0c;\u9002\u5408\u76ee\u6807\u68c0\u6d4b\u6a21\u578b\u8bad\u7ec3\u3002\u6570\u636e\u96c6\u5df2\u6807\u6ce8\u597d&#xff0c;\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528&#xff0c;\u652f\u6301\u591a\u79cd\u683c\u5f0f\u8f93\u51fa&#xff0c;\u4e00\u7c7b\u3002111\u60a8\u63d0\u4f9b\u7684\u6570\u636e\u96c6\u662f \u9ad8\u5206\u8fa8\u7387\u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u7684\u822a\u62cd\u56fe\u50cf&#xff0c;\u5305\u542b \u8fb9\u754c\u6846&#xff08;Bounding Box&#xff09;\u548c\u63a9\u819c&#xff08;Mask&#xff09;\u6807\u6ce8&#xff0c;\u9002\u7528\u4e8e \u76ee\u6807\u68c0\u6d4b\u4e0e\u5b9e\u4f8b","og_url":"https:\/\/www.wsisp.com\/helps\/83408.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T13:49:18+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725134916-6a64bedc4759b.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83408.html","url":"https:\/\/www.wsisp.com\/helps\/83408.html","name":"\u5efa\u7b51\u7269\u56fe\u50cf\u5206\u5272\u8bc6\u522b \u81ea\u52a8\u63d0\u53d6\u57ce\u5e02\u5efa\u7b51\u5206\u5e03\u56fe - \u5efa\u7b51\u5bc6\u5ea6\u5206\u6790\u3001\u57ce\u5e02\u6269\u5f20\u76d1\u6d4b \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6 \u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T13:49:18+00:00","dateModified":"2026-07-25T13:49:18+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83408.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83408.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83408.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5efa\u7b51\u7269\u56fe\u50cf\u5206\u5272\u8bc6\u522b \u81ea\u52a8\u63d0\u53d6\u57ce\u5e02\u5efa\u7b51\u5206\u5e03\u56fe - \u5efa\u7b51\u5bc6\u5ea6\u5206\u6790\u3001\u57ce\u5e02\u6269\u5f20\u76d1\u6d4b \u65e0\u4eba\u673a \u5efa\u7b51\u7269\u623f\u5c4b\u68c0\u6d4b\u6570\u636e\u96c6 \u57ce\u5e02\u5efa\u7b51\u5c4b\u9876\u56fe\u50cf"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=83408"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83408\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/83404"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83408"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}