{"id":92580,"date":"2026-08-10T17:01:12","date_gmt":"2026-08-10T09:01:12","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/92580.html"},"modified":"2026-08-10T17:01:12","modified_gmt":"2026-08-10T09:01:12","slug":"%e5%b8%a6%e6%a0%87%e6%b3%a8%e7%9a%84%e7%be%bd%e6%af%9b%e7%90%83%e8%bf%90%e5%8a%a8%e5%91%98%ef%bc%8c%e8%a3%81%e5%88%a4%ef%bc%8c%e7%be%bd%e6%af%9b%e7%90%83%e8%af%86%e5%88%ab%e6%95%b0%e6%8d%ae%e9%9b%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/92580.html","title":{"rendered":"\u5e26\u6807\u6ce8\u7684\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\uff0c\u88c1\u5224\uff0c\u7fbd\u6bdb\u7403\u8bc6\u522b\u6570\u636e\u96c6\uff0c\u8bc6\u522b\u738784.4%\uff0c2879\u5f20\u56fe\uff0c\u652f\u6301yolo\uff0ccoco json\uff0cvoc xml,\u6587\u672b\u6709\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801"},"content":{"rendered":"<p>\u672c\u6587\u4ecb\u7ecd\u4e00\u4e2a\u4e13\u95e8\u7528\u4e8e\u8bc6\u522b\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\u3001\u88c1\u5224\u548c\u7fbd\u6bdb\u7403\u7684\u8ba1\u7b97\u673a\u89c6\u89c9\u6570\u636e\u96c6\u3002\u8be5\u6570\u636e\u96c6\u5305\u542b2879\u5f20\u9ad8\u8d28\u91cf\u6807\u6ce8\u56fe\u7247&#xff0c;\u5728YOLO\u7cfb\u5217\u6a21\u578b\u4e0a\u6d4b\u8bd5\u8bc6\u522b\u7387\u8fbe\u523084.4%\u3002\u6570\u636e\u96c6\u652f\u6301\u591a\u79cd\u683c\u5f0f&#xff1a;YOLO\u6807\u6ce8\u683c\u5f0f\u3001COCO JSON\u683c\u5f0f\u548cPASCAL VOC XML\u683c\u5f0f&#xff0c;\u65b9\u4fbf\u4e0d\u540c\u6846\u67b6\u4f7f\u7528\u3002\u6587\u672b\u8fd8\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u5feb\u901f\u4e0a\u624b\u3002<\/p>\n<p>\u6570\u636e\u96c6\u7279\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u9ad8\u8d28\u91cf\u6807\u6ce8&#xff1a;\u6bcf\u5f20\u56fe\u7247\u90fd\u7ecf\u8fc7\u7cbe\u7ec6\u6807\u6ce8&#xff0c;\u8fb9\u754c\u6846\u51c6\u786e<\/li>\n<li>\u591a\u683c\u5f0f\u652f\u6301&#xff1a;YOLO\u3001COCO\u3001VOC\u4e09\u79cd\u4e3b\u6d41\u683c\u5f0f<\/li>\n<li>\u771f\u5b9e\u573a\u666f&#xff1a;\u5305\u542b\u6bd4\u8d5b\u73b0\u573a\u3001\u8bad\u7ec3\u573a\u666f\u7b49\u591a\u79cd\u73af\u5883<\/li>\n<li>\u6570\u636e\u589e\u5f3a&#xff1a;\u5305\u542b\u6a21\u7cca\u56fe\u7247\u4f5c\u4e3a\u6b63\u6837\u672c&#xff0c;\u63d0\u5347\u6a21\u578b\u9c81\u68d2\u6027<\/li>\n<\/ul>\n<h3>\u6a21\u578b\u8bad\u7ec3\u6307\u6807\u53c2\u6570&#xff1a;<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810090105-6a799351e5875.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u6a21\u578b\u8bad\u7ec3\u56fe&#xff1a;<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810090106-6a7993522eefb.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u6570\u636e\u96c6\u62c6\u5206\u4e0e\u9884\u5904\u7406<\/h3>\n<h4>\u6570\u636e\u5206\u5e03<\/h4>\n<ul>\n<li>\u603b\u56fe\u6570&#xff1a;2879\u5f20<\/li>\n<li>\u8bad\u7ec3\u96c6&#xff1a;2526\u5f20&#xff08;\u7ea687.7%&#xff09;<\/li>\n<li>\u9a8c\u8bc1\u96c6&#xff1a;236\u5f20&#xff08;\u7ea68.2%&#xff09;<\/li>\n<li>\u6d4b\u8bd5\u96c6&#xff1a;117\u5f20&#xff08;\u7ea64.1%&#xff09;<\/li>\n<\/ul>\n<h4>\u9884\u5904\u7406\u6d41\u7a0b<\/h4>\n<li>\u81ea\u52a8\u5b9a\u5411&#xff1a;\u81ea\u52a8\u6821\u6b63\u56fe\u7247\u65b9\u5411&#xff0c;\u786e\u4fdd\u7edf\u4e00<\/li>\n<li>\u5c3a\u5bf8\u8c03\u6574&#xff1a;\u7edf\u4e00\u62c9\u4f38\u5230640\u00d7640\u50cf\u7d20&#xff0c;\u9002\u914dYOLO\u7b49\u4e3b\u6d41\u68c0\u6d4b\u6a21\u578b<\/li>\n<h4>\u6570\u636e\u589e\u5f3a\u7b56\u7565<\/h4>\n<ul>\n<li>\u5f53\u524d\u914d\u7f6e&#xff1a;\u65e0\u989d\u5916\u589e\u5f3a&#xff08;\u4fdd\u6301\u539f\u59cb\u6570\u636e\u5206\u5e03&#xff09;<\/li>\n<li>\u5efa\u8bae\u589e\u5f3a&#xff1a;\u53ef\u6839\u636e\u9700\u8981\u6dfb\u52a0\u65cb\u8f6c\u3001\u88c1\u526a\u3001\u8272\u5f69\u6296\u52a8\u7b49<\/li>\n<\/ul>\n<p>\u5e94\u7528\u573a\u666f\u8bf4\u660e&#xff1a;\u8fd9\u79cd\u6807\u51c6\u5316\u7684\u62c6\u5206\u6bd4\u4f8b&#xff08;\u7ea68:1:1&#xff09;\u9002\u7528\u4e8e\u5927\u591a\u6570\u76ee\u6807\u68c0\u6d4b\u4efb\u52a1\u3002\u8bad\u7ec3\u96c6\u5145\u8db3\u786e\u4fdd\u6a21\u578b\u5145\u5206\u5b66\u4e60\u7279\u5f81&#xff0c;\u9a8c\u8bc1\u96c6\u7528\u4e8e\u8c03\u53c2\u9632\u6b62\u8fc7\u62df\u5408&#xff0c;\u6d4b\u8bd5\u96c6\u63d0\u4f9b\u6700\u7ec8\u6027\u80fd\u8bc4\u4f30\u3002640\u00d7640\u7684\u8f93\u5165\u5c3a\u5bf8\u5e73\u8861\u4e86\u8ba1\u7b97\u6548\u7387\u548c\u68c0\u6d4b\u7cbe\u5ea6&#xff0c;\u9002\u5408\u90e8\u7f72\u5728\u8fb9\u7f18\u8bbe\u5907\u6216\u4e91\u7aef\u670d\u52a1\u5668\u3002<\/p>\n<h3>\u6570\u636e\u96c6\u6807\u7b7e\u8bf4\u660e<\/h3>\n<p>\u6570\u636e\u96c6\u5305\u542b3\u4e2a\u7c7b\u522b&#xff0c;\u8986\u76d6\u7f51\u7403\u6bd4\u8d5b\u4e2d\u7684\u5173\u952e\u5143\u7d20&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u7c7b\u522b\u6807\u7b7e&#xff08;\u82f1\u6587&#xff09;<\/span><br \/>\nlabels <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;referee&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;tennis ball&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;player&#039;<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<table>\n<tr>\u82f1\u6587\u6807\u7b7e\u4e2d\u6587\u7ffb\u8bd1\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>referee<\/td>\n<td>\u88c1\u5224<\/td>\n<td>\u6bd4\u8d5b\u4e2d\u7684\u88c1\u5224\u4eba\u5458<\/td>\n<\/tr>\n<tr>\n<td>tennis ball<\/td>\n<td>\u7f51\u7403<\/td>\n<td>\u6bd4\u8d5b\u7528\u7403&#xff08;\u539f\u6587\u8bef\u5199\u4e3a&#034;\u7fbd\u6bdb\u7403&#034;&#xff0c;\u5b9e\u9645\u4e3a\u7f51\u7403&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>player<\/td>\n<td>\u7403\u5458\/\u9009\u624b<\/td>\n<td>\u7f51\u7403\u8fd0\u52a8\u5458<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5e94\u7528\u573a\u666f\u6269\u5c55&#xff1a;<\/p>\n<li>\u4f53\u80b2\u8d5b\u4e8b\u5206\u6790&#xff1a;\u81ea\u52a8\u7edf\u8ba1\u7403\u5458\u4f4d\u7f6e\u3001\u51fb\u7403\u6b21\u6570\u3001\u88c1\u5224\u5224\u7f5a\u9891\u7387<\/li>\n<li>\u667a\u80fd\u88c1\u5224\u8f85\u52a9&#xff1a;\u8f85\u52a9\u88c1\u5224\u5224\u65ad\u7403\u662f\u5426\u51fa\u754c\u3001\u7403\u5458\u662f\u5426\u8fdd\u89c4<\/li>\n<li>\u8bad\u7ec3\u8d28\u91cf\u8bc4\u4f30&#xff1a;\u5206\u6790\u8fd0\u52a8\u5458\u52a8\u4f5c\u3001\u7403\u8def\u8f68\u8ff9&#xff0c;\u63d0\u4f9b\u8bad\u7ec3\u5efa\u8bae<\/li>\n<li>\u8d5b\u4e8b\u76f4\u64ad\u589e\u5f3a&#xff1a;\u5b9e\u65f6\u6807\u6ce8\u7403\u5458\u548c\u7403\u7684\u4f4d\u7f6e&#xff0c;\u63d0\u5347\u89c2\u8d5b\u4f53\u9a8c<\/li>\n<li>\u573a\u9986\u5b89\u9632\u76d1\u63a7&#xff1a;\u8bc6\u522b\u5f02\u5e38\u884c\u4e3a&#xff0c;\u786e\u4fdd\u6bd4\u8d5b\u5b89\u5168\u8fdb\u884c<\/li>\n<h3>\u6570\u636e\u96c6\u56fe\u7247\u548c\u6807\u6ce8\u4fe1\u606f\u793a\u4f8b<\/h3>\n<h4>\u6570\u636e\u8d28\u91cf\u8bf4\u660e<\/h4>\n<p>\u6570\u636e\u96c6\u4e2d\u5305\u542b\u90e8\u5206\u6a21\u7cca\u56fe\u7247&#xff0c;\u8fd9\u5e76\u975e\u6570\u636e\u7f3a\u9677&#xff0c;\u800c\u662f\u7cbe\u5fc3\u8bbe\u8ba1\u7684\u6570\u636e\u589e\u5f3a\u7b56\u7565\u3002\u5728\u771f\u5b9e\u4f53\u80b2\u573a\u666f\u4e2d&#xff0c;\u5feb\u901f\u8fd0\u52a8\u3001\u76f8\u673a\u6296\u52a8\u3001\u5149\u7ebf\u53d8\u5316\u90fd\u4f1a\u5bfc\u81f4\u56fe\u50cf\u6a21\u7cca&#xff0c;\u56e0\u6b64\u5305\u542b\u6a21\u7cca\u6837\u672c\u80fd\u663e\u8457\u63d0\u5347\u6a21\u578b\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u8868\u73b0\u3002<\/p>\n<h4>\u6a21\u7cca\u56fe\u7247\u7684\u4e09\u5927\u4f18\u52bf<\/h4>\n<li>\n<p>\u63d0\u5347\u6a21\u578b\u9c81\u68d2\u6027&#xff1a;\u73b0\u5b9e\u4f53\u80b2\u573a\u666f\u4e2d&#xff0c;\u8fd0\u52a8\u5458\u5feb\u901f\u79fb\u52a8\u3001\u76f8\u673a\u8ddf\u62cd\u3001\u5149\u7ebf\u53d8\u5316\u90fd\u4f1a\u5bfc\u81f4\u8fd0\u52a8\u6a21\u7cca\u548c\u5bf9\u7126\u4e0d\u51c6\u3002\u5728\u8bad\u7ec3\u96c6\u4e2d\u5f15\u5165\u6a21\u7cca\u6837\u672c&#xff0c;\u8feb\u4f7f\u6a21\u578b\u5b66\u4e60\u66f4\u672c\u8d28\u7684\u8bed\u4e49\u7279\u5f81&#xff08;\u5982\u4eba\u4f53\u59ff\u6001\u3001\u7403\u4f53\u5f62\u72b6&#xff09;&#xff0c;\u800c\u975e\u8fc7\u5ea6\u4f9d\u8d56\u6e05\u6670\u7684\u8fb9\u7f18\u7ec6\u8282\u3002\u8fd9\u663e\u8457\u63d0\u5347\u4e86\u6a21\u578b\u5728\u590d\u6742\u6210\u50cf\u6761\u4ef6\u4e0b\u7684\u8bc6\u522b\u7a33\u5b9a\u6027\u3002<\/p>\n<\/li>\n<li>\n<p>\u6a21\u62df\u771f\u5b9e\u4e16\u754c\u566a\u58f0&#xff1a;\u4f53\u80b2\u573a\u9986\u7684\u76d1\u63a7\u6444\u50cf\u5934\u3001\u624b\u6301\u6444\u5f71\u8bbe\u5907\u5728\u4f4e\u5149\u7167\u6216\u5feb\u901f\u53d8\u7126\u65f6\u6781\u6613\u4ea7\u751f\u6a21\u7cca\u3002\u5305\u542b\u6b64\u7c7b\u56fe\u7247\u8ba9\u6a21\u578b\u63d0\u524d\u9002\u5e94\u771f\u5b9e\u566a\u58f0&#xff0c;\u51cf\u5c11\u5728\u5b9e\u9645\u90e8\u7f72\u65f6\u56e0\u56fe\u50cf\u8d28\u91cf\u4e0b\u964d\u5bfc\u81f4\u7684\u6027\u80fd\u8870\u51cf\u3002\u4f8b\u5982&#xff0c;\u5728\u591c\u95f4\u6bd4\u8d5b\u6216\u5ba4\u5185\u573a\u9986\u4e2d&#xff0c;\u6a21\u578b\u4ecd\u80fd\u4fdd\u6301\u8f83\u9ad8\u8bc6\u522b\u7387\u3002<\/p>\n<\/li>\n<li>\n<p>\u9632\u6b62\u6a21\u578b\u8fc7\u62df\u5408&#xff1a;\u5982\u679c\u8bad\u7ec3\u96c6\u5168\u662f\u9ad8\u6e05\u6446\u62cd\u56fe\u7247&#xff0c;\u6a21\u578b\u5bb9\u6613\u8bb0\u4f4f\u7279\u5b9a\u573a\u666f\u4e0b\u7684&#034;\u5e72\u51c0&#034;\u7279\u5f81&#xff0c;\u5bf9\u65b0\u73af\u5883\u6cdb\u5316\u80fd\u529b\u5dee\u3002\u6a21\u7cca\u56fe\u7247\u4f5c\u4e3a\u6709\u6548\u7684\u6b63\u5219\u5316\u624b\u6bb5&#xff0c;\u589e\u52a0\u4e86\u6570\u636e\u5206\u5e03\u7684\u591a\u6837\u6027&#xff0c;\u9632\u6b62\u6a21\u578b\u8fc7\u62df\u5408\u5230\u6709\u9650\u7684\u6e05\u6670\u6837\u672c\u4e0a&#xff0c;\u63d0\u5347\u8de8\u573a\u666f\u8fc1\u79fb\u80fd\u529b\u3002<\/p>\n<\/li>\n<p>\u5b9e\u9645\u5e94\u7528\u4ef7\u503c&#xff1a;<\/p>\n<ul>\n<li>\u79fb\u52a8\u7aef\u90e8\u7f72&#xff1a;\u624b\u673aAPP\u5b9e\u65f6\u8bc6\u522b\u7f51\u7403\u6bd4\u8d5b&#xff0c;\u5373\u4f7f\u62cd\u6444\u6296\u52a8\u4e5f\u80fd\u51c6\u786e\u6807\u6ce8<\/li>\n<li>\u65e0\u4eba\u673a\u822a\u62cd&#xff1a;\u9ad8\u7a7a\u62cd\u6444\u7684\u6a21\u7cca\u56fe\u50cf\u4ecd\u80fd\u8bc6\u522b\u7403\u5458\u548c\u7403\u7684\u4f4d\u7f6e<\/li>\n<li>\u8001\u65e7\u76d1\u63a7\u7cfb\u7edf&#xff1a;\u4f4e\u5206\u8fa8\u7387\u6444\u50cf\u5934\u4e5f\u80fd\u7528\u4e8e\u8d5b\u4e8b\u5206\u6790<\/li>\n<li>\u5b9e\u65f6\u8f6c\u64ad&#xff1a;\u9ad8\u901f\u8fd0\u52a8\u573a\u666f\u4e0b\u4fdd\u6301\u7a33\u5b9a\u7684\u76ee\u6807\u8ddf\u8e2a <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810090107-6a799353418fc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810090108-6a79935452afc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810090109-6a799355ae0e7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/li>\n<\/ul>\n<h3>\u6570\u636e\u96c6\u4e0b\u8f7d&#xff1a;<\/h3>\n<p>yolo26,yolo v12,yolo v11,yolo v9,yolo v8,yolo v7,coco json,pascal voc xml: \u4e0b\u8f7d\u5730\u5740&#xff1a;<\/p>\n<h3>YOLO\u6a21\u578b\u8bad\u7ec3<\/h3>\n<p>\u4e0b\u8f7d\u6570\u636e\u96c6\u4e4b\u540e\u89e3\u538b\u5230\u5f53\u524d\u6587\u4ef6\u5939&#xff0c;\u7136\u540e\u5c06 \u6211\u7684\u4ed3\u5e93 https:\/\/gitcode.com\/pbymw8iwm\/YOLOProject \u91cc\u7684\u8bad\u7ec3\u6a21\u578b\u811a\u672c\u590d\u5236\u5230\u6587\u4ef6\u5939\u4e0b&#xff0c;\u5047\u8bbe\u4f60\u4f7f\u7528\u7684\u662fyolov8\u6765\u8bad\u7ec3\u4f60\u5c31\u7528python train_yolov8.py \u200b\u200b<img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810090111-6a799357088da.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h3>\u6a21\u578b\u9a8c\u8bc1\u6d4b\u8bd5\u60c5\u51b5&#xff1a;<\/h3>\n<p>\u9a8c\u8bc1\u6d4b\u8bd5\u4ee3\u7801&#xff1a;<\/p>\n<p><span class=\"token comment\">#\u9700\u8981\u5b89\u88c5pip install ultralytics<\/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\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; 1. \u52a0\u8f7dYOLO\u6a21\u578b &#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\"># \u81ea\u52a8\u4e0b\u8f7d\u9884\u8bad\u7ec3\u6a21\u578b(yolov8n\u6700\u8f7b\u91cf\u5feb\u901f)&#xff0c;\u4e5f\u53ef\u6362 yolov8s\/m\/l\/x<\/span><br \/>\nmodel <span class=\"token operator\">&#061;<\/span> YOLO<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;best.pt&#034;<\/span><span class=\"token punctuation\">)<\/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; 2. \u63a8\u7406\u914d\u7f6e &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\nimage_path <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;326_jpg.rf.8ad64cc0668df32c4e5f59b50e899e9c.jpg&#034;<\/span>  <span class=\"token comment\"># \u4f60\u7684\u56fe\u7247\u8def\u5f84<\/span><br \/>\nsave_result <span class=\"token operator\">&#061;<\/span> <span class=\"token boolean\">True<\/span>       <span class=\"token comment\"># \u662f\u5426\u4fdd\u5b58\u6807\u6ce8\u540e\u7684\u56fe<\/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; 3. \u6267\u884c\u63a8\u7406 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/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>image_path<span class=\"token punctuation\">,<\/span><br \/>\n    conf<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0.01<\/span><span class=\"token punctuation\">,<\/span>          <span class=\"token comment\"># \u7f6e\u4fe1\u5ea6\u9608\u503c&#xff08;\u4f4e\u4e8e\u8be5\u503c\u5ffd\u7565&#xff09;<\/span><br \/>\n    save<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">False<\/span><span class=\"token punctuation\">,<\/span>         <span class=\"token comment\"># \u5173\u95ed\u9ed8\u8ba4\u4fdd\u5b58&#xff0c;\u81ea\u5b9a\u4e49\u4fdd\u5b58<\/span><br \/>\n    verbose<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">False<\/span>       <span class=\"token comment\"># \u5173\u95ed\u5197\u4f59\u65e5\u5fd7<\/span><br \/>\n<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; 4. \u89e3\u6790\u7ed3\u679c&#xff1a;\u76ee\u6807\u533a\u57df &#043; \u6807\u6ce8\u4fe1\u606f &#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 keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;&#061;&#034;<\/span><span class=\"token operator\">*<\/span><span class=\"token number\">50<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;YOLO \u63a8\u7406\u7ed3\u679c&#xff08;\u76ee\u6807\u533a\u57df &#043; \u6807\u6ce8\u4fe1\u606f&#xff09;&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;&#061;&#034;<\/span><span class=\"token operator\">*<\/span><span class=\"token number\">50<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u83b7\u53d6\u56fe\u7247&#xff08;\u7528\u4e8e\u7ed8\u5236\u6846&#xff09;<\/span><br \/>\nimg <span class=\"token operator\">&#061;<\/span> cv2<span class=\"token punctuation\">.<\/span>imread<span class=\"token punctuation\">(<\/span>image_path<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u904d\u5386\u6240\u6709\u68c0\u6d4b\u76ee\u6807<\/span><br \/>\n<span class=\"token keyword\">for<\/span> idx<span class=\"token punctuation\">,<\/span> result <span class=\"token keyword\">in<\/span> <span class=\"token builtin\">enumerate<\/span><span class=\"token punctuation\">(<\/span>results<span class=\"token punctuation\">)<\/span><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\"># \u6240\u6709\u68c0\u6d4b\u6846<\/span><\/p>\n<p>    <span class=\"token keyword\">for<\/span> box <span class=\"token keyword\">in<\/span> boxes<span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token comment\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u63d0\u53d6\u76ee\u6807\u533a\u57df&#xff08;\u5750\u6807&#xff09; &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n        <span class=\"token comment\"># xyxy: \u5de6\u4e0a\u89d2x, \u5de6\u4e0a\u89d2y, \u53f3\u4e0b\u89d2x, \u53f3\u4e0b\u89d2y<\/span><br \/>\n        x1<span class=\"token punctuation\">,<\/span> y1<span class=\"token punctuation\">,<\/span> x2<span class=\"token punctuation\">,<\/span> y2 <span class=\"token operator\">&#061;<\/span> box<span class=\"token punctuation\">.<\/span>xyxy<span class=\"token punctuation\">[<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">.<\/span>cpu<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>numpy<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token comment\"># \u5bbd\u9ad8<\/span><br \/>\n        w <span class=\"token operator\">&#061;<\/span> x2 <span class=\"token operator\">&#8211;<\/span> x1<br \/>\n        h <span class=\"token operator\">&#061;<\/span> y2 <span class=\"token operator\">&#8211;<\/span> y1<\/p>\n<p>        <span class=\"token comment\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u63d0\u53d6\u6807\u6ce8\u4fe1\u606f &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n        cls_id <span class=\"token operator\">&#061;<\/span> <span class=\"token builtin\">int<\/span><span class=\"token punctuation\">(<\/span>box<span class=\"token punctuation\">.<\/span>cls<span class=\"token punctuation\">[<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span>          <span class=\"token comment\"># \u7c7b\u522bID<\/span><br \/>\n        cls_name <span class=\"token operator\">&#061;<\/span> model<span class=\"token punctuation\">.<\/span>names<span class=\"token punctuation\">[<\/span>cls_id<span class=\"token punctuation\">]<\/span>    <span class=\"token comment\"># \u7c7b\u522b\u540d\u79f0<\/span><br \/>\n        conf <span class=\"token operator\">&#061;<\/span> <span class=\"token builtin\">float<\/span><span class=\"token punctuation\">(<\/span>box<span class=\"token punctuation\">.<\/span>conf<span class=\"token punctuation\">[<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span>         <span class=\"token comment\"># \u7f6e\u4fe1\u5ea6<\/span><\/p>\n<p>        <span class=\"token comment\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u6253\u5370\u4fe1\u606f &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/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;\u76ee\u6807 <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>idx<span class=\"token operator\">&#043;<\/span><span class=\"token number\">1<\/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;  \u6807\u6ce8\u7c7b\u522b&#xff1a;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>cls_name<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;  \u7f6e\u4fe1\u5ea6&#xff1a;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>conf<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.2f<\/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;  \u76ee\u6807\u533a\u57df\u5750\u6807&#xff1a;&#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;    \u5de6\u4e0a\u89d2 (<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>x1<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.1f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">, <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>y1<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.1f<\/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;    \u53f3\u4e0b\u89d2 (<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>x2<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.1f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">, <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>y2<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.1f<\/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;    \u5bbd\u00d7\u9ad8&#xff1a;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>w<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.1f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> \u00d7 <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>h<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.1f<\/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\">&#034;-&#034;<\/span><span class=\"token operator\">*<\/span><span class=\"token number\">30<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061; \u5728\u56fe\u7247\u4e0a\u7ed8\u5236\u68c0\u6d4b\u6846 &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><br \/>\n        cv2<span class=\"token punctuation\">.<\/span>rectangle<span class=\"token punctuation\">(<\/span>img<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token builtin\">int<\/span><span class=\"token punctuation\">(<\/span>x1<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token builtin\">int<\/span><span class=\"token punctuation\">(<\/span>y1<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token builtin\">int<\/span><span class=\"token punctuation\">(<\/span>x2<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token builtin\">int<\/span><span class=\"token punctuation\">(<\/span>y2<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">255<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">2<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        cv2<span class=\"token punctuation\">.<\/span>putText<span class=\"token punctuation\">(<\/span>img<span class=\"token punctuation\">,<\/span> <span class=\"token string-interpolation\"><span class=\"token string\">f&#034;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>cls_name<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\"> <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>conf<span class=\"token punctuation\">:<\/span><span class=\"token format-spec\">.2f<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">,<\/span><br \/>\n                    <span class=\"token punctuation\">(<\/span><span class=\"token builtin\">int<\/span><span class=\"token punctuation\">(<\/span>x1<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token builtin\">int<\/span><span class=\"token punctuation\">(<\/span>y1<span class=\"token punctuation\">)<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token number\">10<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span><br \/>\n                    cv2<span class=\"token punctuation\">.<\/span>FONT_HERSHEY_SIMPLEX<span class=\"token punctuation\">,<\/span> <span class=\"token number\">0.5<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">255<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">0<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">2<\/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; 5. \u4fdd\u5b58\/\u663e\u793a\u7ed3\u679c &#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 keyword\">if<\/span> save_result<span class=\"token punctuation\">:<\/span><br \/>\n    cv2<span class=\"token punctuation\">.<\/span>imwrite<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;yolo_result.jpg&#034;<\/span><span class=\"token punctuation\">,<\/span> img<span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u2705 \u6807\u6ce8\u56fe\u7247\u5df2\u4fdd\u5b58\u4e3a&#xff1a;yolo_result.jpg&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u663e\u793a\u56fe\u7247&#xff08;\u53ef\u9009&#xff09;<\/span><br \/>\ncv2<span class=\"token punctuation\">.<\/span>imshow<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;YOLO Result&#034;<\/span><span class=\"token punctuation\">,<\/span> img<span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token comment\">#cv2.waitKey(0)<\/span><br \/>\n<span class=\"token comment\">#cv2.destroyAllWindows()<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u4ecb\u7ecd\u4e00\u4e2a\u4e13\u95e8\u7528\u4e8e\u8bc6\u522b\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\u3001\u88c1\u5224\u548c\u7fbd\u6bdb\u7403\u7684\u8ba1\u7b97\u673a\u89c6\u89c9\u6570\u636e\u96c6\u3002\u8be5\u6570\u636e\u96c6\u5305\u542b2879\u5f20\u9ad8\u8d28\u91cf\u6807\u6ce8\u56fe\u7247&#xff0c;\u5728YOLO\u7cfb\u5217\u6a21\u578b\u4e0a\u6d4b\u8bd5\u8bc6\u522b\u7387\u8fbe\u523084.4%\u3002\u6570\u636e\u96c6\u652f\u6301\u591a\u79cd\u683c\u5f0f&#xff1a;YOLO\u6807\u6ce8\u683c\u5f0f\u3001COCO JSON\u683c\u5f0f\u548cPASCAL VOC XML\u683c\u5f0f&#xff0c;\u65b9\u4fbf\u4e0d\u540c\u6846\u67b6\u4f7f\u7528\u3002\u6587\u672b\u8fd8\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u5feb\u901f\u4e0a\u624b\u3002<br \/>\n\u6570\u636e\u96c6\u7279\u70b9&#xff1a;<br \/>\n\u9ad8\u8d28\u91cf\u6807\u6ce8&#xff1a;\u6bcf\u5f20\u56fe\u7247\u90fd\u7ecf\u8fc7\u7cbe\u7ec6\u6807\u6ce8&#xff0c;\u8fb9\u754c\u6846\u51c6<\/p>\n","protected":false},"author":2,"featured_media":92574,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10593,93,2545,156,5134],"topic":[],"class_list":["post-92580","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-10593","tag-json","tag-xml","tag-yolo","tag-5134"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5e26\u6807\u6ce8\u7684\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\uff0c\u88c1\u5224\uff0c\u7fbd\u6bdb\u7403\u8bc6\u522b\u6570\u636e\u96c6\uff0c\u8bc6\u522b\u738784.4%\uff0c2879\u5f20\u56fe\uff0c\u652f\u6301yolo\uff0ccoco json\uff0cvoc xml,\u6587\u672b\u6709\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801 - \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\/92580.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5e26\u6807\u6ce8\u7684\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\uff0c\u88c1\u5224\uff0c\u7fbd\u6bdb\u7403\u8bc6\u522b\u6570\u636e\u96c6\uff0c\u8bc6\u522b\u738784.4%\uff0c2879\u5f20\u56fe\uff0c\u652f\u6301yolo\uff0ccoco json\uff0cvoc xml,\u6587\u672b\u6709\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587\u4ecb\u7ecd\u4e00\u4e2a\u4e13\u95e8\u7528\u4e8e\u8bc6\u522b\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\u3001\u88c1\u5224\u548c\u7fbd\u6bdb\u7403\u7684\u8ba1\u7b97\u673a\u89c6\u89c9\u6570\u636e\u96c6\u3002\u8be5\u6570\u636e\u96c6\u5305\u542b2879\u5f20\u9ad8\u8d28\u91cf\u6807\u6ce8\u56fe\u7247&#xff0c;\u5728YOLO\u7cfb\u5217\u6a21\u578b\u4e0a\u6d4b\u8bd5\u8bc6\u522b\u7387\u8fbe\u523084.4%\u3002\u6570\u636e\u96c6\u652f\u6301\u591a\u79cd\u683c\u5f0f&#xff1a;YOLO\u6807\u6ce8\u683c\u5f0f\u3001COCO JSON\u683c\u5f0f\u548cPASCAL VOC XML\u683c\u5f0f&#xff0c;\u65b9\u4fbf\u4e0d\u540c\u6846\u67b6\u4f7f\u7528\u3002\u6587\u672b\u8fd8\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u5feb\u901f\u4e0a\u624b\u3002 \u6570\u636e\u96c6\u7279\u70b9&#xff1a; \u9ad8\u8d28\u91cf\u6807\u6ce8&#xff1a;\u6bcf\u5f20\u56fe\u7247\u90fd\u7ecf\u8fc7\u7cbe\u7ec6\u6807\u6ce8&#xff0c;\u8fb9\u754c\u6846\u51c6\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/92580.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-10T09:01:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810090105-6a799351e5875.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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92580.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/92580.html\",\"name\":\"\u5e26\u6807\u6ce8\u7684\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\uff0c\u88c1\u5224\uff0c\u7fbd\u6bdb\u7403\u8bc6\u522b\u6570\u636e\u96c6\uff0c\u8bc6\u522b\u738784.4%\uff0c2879\u5f20\u56fe\uff0c\u652f\u6301yolo\uff0ccoco json\uff0cvoc xml,\u6587\u672b\u6709\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-10T09:01:12+00:00\",\"dateModified\":\"2026-08-10T09:01:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/92580.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/92580.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92580.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5e26\u6807\u6ce8\u7684\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\uff0c\u88c1\u5224\uff0c\u7fbd\u6bdb\u7403\u8bc6\u522b\u6570\u636e\u96c6\uff0c\u8bc6\u522b\u738784.4%\uff0c2879\u5f20\u56fe\uff0c\u652f\u6301yolo\uff0ccoco json\uff0cvoc xml,\u6587\u672b\u6709\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801\"}]},{\"@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":"\u5e26\u6807\u6ce8\u7684\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\uff0c\u88c1\u5224\uff0c\u7fbd\u6bdb\u7403\u8bc6\u522b\u6570\u636e\u96c6\uff0c\u8bc6\u522b\u738784.4%\uff0c2879\u5f20\u56fe\uff0c\u652f\u6301yolo\uff0ccoco json\uff0cvoc xml,\u6587\u672b\u6709\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801 - \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\/92580.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5e26\u6807\u6ce8\u7684\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\uff0c\u88c1\u5224\uff0c\u7fbd\u6bdb\u7403\u8bc6\u522b\u6570\u636e\u96c6\uff0c\u8bc6\u522b\u738784.4%\uff0c2879\u5f20\u56fe\uff0c\u652f\u6301yolo\uff0ccoco json\uff0cvoc xml,\u6587\u672b\u6709\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u672c\u6587\u4ecb\u7ecd\u4e00\u4e2a\u4e13\u95e8\u7528\u4e8e\u8bc6\u522b\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\u3001\u88c1\u5224\u548c\u7fbd\u6bdb\u7403\u7684\u8ba1\u7b97\u673a\u89c6\u89c9\u6570\u636e\u96c6\u3002\u8be5\u6570\u636e\u96c6\u5305\u542b2879\u5f20\u9ad8\u8d28\u91cf\u6807\u6ce8\u56fe\u7247&#xff0c;\u5728YOLO\u7cfb\u5217\u6a21\u578b\u4e0a\u6d4b\u8bd5\u8bc6\u522b\u7387\u8fbe\u523084.4%\u3002\u6570\u636e\u96c6\u652f\u6301\u591a\u79cd\u683c\u5f0f&#xff1a;YOLO\u6807\u6ce8\u683c\u5f0f\u3001COCO JSON\u683c\u5f0f\u548cPASCAL VOC XML\u683c\u5f0f&#xff0c;\u65b9\u4fbf\u4e0d\u540c\u6846\u67b6\u4f7f\u7528\u3002\u6587\u672b\u8fd8\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801&#xff0c;\u5e2e\u52a9\u8bfb\u8005\u5feb\u901f\u4e0a\u624b\u3002 \u6570\u636e\u96c6\u7279\u70b9&#xff1a; \u9ad8\u8d28\u91cf\u6807\u6ce8&#xff1a;\u6bcf\u5f20\u56fe\u7247\u90fd\u7ecf\u8fc7\u7cbe\u7ec6\u6807\u6ce8&#xff0c;\u8fb9\u754c\u6846\u51c6","og_url":"https:\/\/www.wsisp.com\/helps\/92580.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-10T09:01:12+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/08\/20260810090105-6a799351e5875.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/92580.html","url":"https:\/\/www.wsisp.com\/helps\/92580.html","name":"\u5e26\u6807\u6ce8\u7684\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\uff0c\u88c1\u5224\uff0c\u7fbd\u6bdb\u7403\u8bc6\u522b\u6570\u636e\u96c6\uff0c\u8bc6\u522b\u738784.4%\uff0c2879\u5f20\u56fe\uff0c\u652f\u6301yolo\uff0ccoco json\uff0cvoc xml,\u6587\u672b\u6709\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-10T09:01:12+00:00","dateModified":"2026-08-10T09:01:12+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/92580.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/92580.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/92580.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5e26\u6807\u6ce8\u7684\u7fbd\u6bdb\u7403\u8fd0\u52a8\u5458\uff0c\u88c1\u5224\uff0c\u7fbd\u6bdb\u7403\u8bc6\u522b\u6570\u636e\u96c6\uff0c\u8bc6\u522b\u738784.4%\uff0c2879\u5f20\u56fe\uff0c\u652f\u6301yolo\uff0ccoco json\uff0cvoc xml,\u6587\u672b\u6709\u6a21\u578b\u8bad\u7ec3\u4ee3\u7801"}]},{"@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\/92580","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=92580"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/92580\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/92574"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=92580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=92580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=92580"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=92580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}