{"id":77340,"date":"2026-02-24T13:06:15","date_gmt":"2026-02-24T05:06:15","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/77340.html"},"modified":"2026-02-24T13:06:15","modified_gmt":"2026-02-24T05:06:15","slug":"%e5%9f%ba%e4%ba%8e%e6%b7%b1%e5%ba%a6%e5%ad%a6%e4%b9%a0%e7%9a%84%e6%97%a0%e4%ba%ba%e6%9c%ba%e6%a3%80%e6%b5%8b%e7%b3%bb%e7%bb%9f%ef%bc%88yolov10yolo%e6%95%b0%e6%8d%ae%e9%9b%86ui%e7%95%8c%e9%9d%a2pyth","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/77340.html","title":{"rendered":"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv10+YOLO\u6570\u636e\u96c6+UI\u754c\u9762+Python\u9879\u76ee\u6e90\u7801+\u6a21\u578b\uff09"},"content":{"rendered":"<p>\u9879\u76ee\u6e90\u7801&#043;\u6570\u636e\u96c6&#043;\u8bad\u7ec3\u6a21\u578b \u8bf7\u8ba2\u9605\u4e13\u680f\u83b7\u53d6&#xff08;\u8ba2\u9605\u540e\u79c1\u4fe1\u8ba2\u9605\u622a\u56fe\u548c\u90ae\u7bb1&#xff09;&#xff1a;<\/p>\n<p>YOLO&#xff08;\u8ba2\u9605\u4ed8\u8d39\u4e13\u680f\u622a\u56fe\u79c1\u4fe1&#xff09;_\u658c\u64ce\u79d1\u6280\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/p>\n<p><span class=\"link-card-box\"><span class=\"link-title\">YOLO&#xff08;\u8ba2\u9605\u4ed8\u8d39\u4e13\u680f\u622a\u56fe\u79c1\u4fe1&#xff09;_\u658c\u64ce\u79d1\u6280\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<\/span><span class=\"link-link\"><img decoding=\"async\" class=\"link-link-icon\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050601-699d31b9c53df.png\" \/>https:\/\/lyb592.blog.csdn.net\/category_13131821_2.html<\/span><\/span>https:\/\/lyb592.blog.csdn.net\/category_13131821_2.html<\/p>\n<\/p>\n<h3 id=\"%E4%B8%80%E3%80%81%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D\">\u00a0\u4e00\u3001\u9879\u76ee\u4ecb\u7ecd<\/h3>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0YOLOv10\u65e0\u4eba\u673a\u8bc6\u522b\u68c0\u6d4b\u7cfb\u7edf\u00a0\u662f\u4e00\u4e2a\u57fa\u4e8eYOLOv10&#xff08;You Only Look Once version 10&#xff09;\u76ee\u6807\u68c0\u6d4b\u7b97\u6cd5\u7684\u667a\u80fd\u7cfb\u7edf&#xff0c;\u4e13\u95e8\u7528\u4e8e\u68c0\u6d4b\u548c\u8bc6\u522b\u65e0\u4eba\u673a&#xff08;drone&#xff09;\u3002\u8be5\u7cfb\u7edf\u80fd\u591f\u81ea\u52a8\u8bc6\u522b\u5e76\u5b9a\u4f4d\u65e0\u4eba\u673a&#xff0c;\u9002\u7528\u4e8e\u7a7a\u57df\u76d1\u63a7\u3001\u65e0\u4eba\u673a\u7ba1\u7406\u3001\u5b89\u9632\u76d1\u63a7\u7b49\u573a\u666f\u3002\u901a\u8fc7\u8be5\u7cfb\u7edf&#xff0c;\u7528\u6237\u53ef\u4ee5\u5b9e\u65f6\u68c0\u6d4b\u65e0\u4eba\u673a\u7684\u5b58\u5728\u548c\u4f4d\u7f6e&#xff0c;\u5e2e\u52a9\u7ef4\u62a4\u7a7a\u57df\u5b89\u5168\u3001\u9632\u6b62\u975e\u6cd5\u65e0\u4eba\u673a\u5165\u4fb5&#xff0c;\u5e76\u4e3a\u65e0\u4eba\u673a\u7ba1\u7406\u63d0\u4f9b\u6280\u672f\u652f\u6301\u3002<\/p>\n<p>\u8be5\u7cfb\u7edf\u5728\u7a7a\u57df\u5b89\u5168\u3001\u5b89\u9632\u76d1\u63a7\u3001\u65e0\u4eba\u673a\u7ba1\u7406\u7b49\u9886\u57df\u5177\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\u524d\u666f&#xff0c;\u80fd\u591f\u4e3a\u7528\u6237\u63d0\u4f9b\u9ad8\u6548\u3001\u51c6\u786e\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E4%B8%80%E3%80%81%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D-toc\" style=\"margin-left:40px\">\u00a0\u4e00\u3001\u9879\u76ee\u4ecb\u7ecd<\/p>\n<p id=\"%E4%BA%8C%E3%80%81%E9%A1%B9%E7%9B%AE%E5%8A%9F%E8%83%BD%E5%B1%95%E7%A4%BA-toc\" style=\"margin-left:40px\">\u4e8c\u3001\u9879\u76ee\u529f\u80fd\u5c55\u793a<\/p>\n<p id=\"%E7%B3%BB%E7%BB%9F%E5%8A%9F%E8%83%BD-toc\" style=\"margin-left:40px\">\u7cfb\u7edf\u529f\u80fd<\/p>\n<p id=\"%E6%BC%94%E7%A4%BA%E4%B8%8E%E4%BB%8B%E7%BB%8D%E8%A7%86%E9%A2%91%EF%BC%9A-toc\" style=\"margin-left:80px\">\u6f14\u793a\u4e0e\u4ecb\u7ecd\u89c6\u9891&#xff1a;<\/p>\n<p id=\"%E5%9B%BE%E7%89%87%E6%A3%80%E6%B5%8B-toc\" style=\"margin-left:80px\">\u56fe\u7247\u68c0\u6d4b<\/p>\n<p id=\"%E8%A7%86%E9%A2%91%E6%A3%80%E6%B5%8B-toc\" style=\"margin-left:80px\">\u89c6\u9891\u68c0\u6d4b<\/p>\n<p id=\"%E6%91%84%E5%83%8F%E5%A4%B4%E5%AE%9E%E6%97%B6%E6%A3%80%E6%B5%8B-toc\" style=\"margin-left:80px\">\u6444\u50cf\u5934\u5b9e\u65f6\u68c0\u6d4b<\/p>\n<p id=\"%E4%B8%89%E3%80%81%E6%95%B0%E6%8D%AE%E9%9B%86%E4%BB%8B%E7%BB%8D-toc\" style=\"margin-left:40px\">\u4e09\u3001\u6570\u636e\u96c6\u4ecb\u7ecd<\/p>\n<p id=\"%E6%8A%80%E6%9C%AF%E4%BC%98%E5%8A%BF-toc\" style=\"margin-left:80px\">\u6280\u672f\u4f18\u52bf<\/p>\n<p id=\"%E6%95%B0%E6%8D%AE%E9%9B%86%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6data.yaml-toc\" style=\"margin-left:80px\">\u6570\u636e\u96c6\u914d\u7f6e\u6587\u4ef6data.yaml<\/p>\n<p id=\"%E6%95%B0%E6%8D%AE%E9%9B%86%E5%88%B6%E4%BD%9C%E6%B5%81%E7%A8%8B-toc\" style=\"margin-left:80px\">\u6570\u636e\u96c6\u5236\u4f5c\u6d41\u7a0b<\/p>\n<p id=\"%E5%9B%9B%E3%80%81%E9%A1%B9%E7%9B%AE%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE-toc\" style=\"margin-left:40px\">\u56db\u3001\u9879\u76ee\u73af\u5883\u914d\u7f6e<\/p>\n<p id=\"%E5%88%9B%E5%BB%BA%E8%99%9A%E6%8B%9F%E7%8E%AF%E5%A2%83-toc\" style=\"margin-left:80px\">\u521b\u5efa\u865a\u62df\u73af\u5883<\/p>\n<p id=\"pycharm%E4%B8%AD%E9%85%8D%E7%BD%AEanaconda-toc\" style=\"margin-left:80px\">pycharm\u4e2d\u914d\u7f6eanaconda<\/p>\n<p id=\"%E5%AE%89%E8%A3%85%E6%89%80%E9%9C%80%E8%A6%81%E5%BA%93-toc\" style=\"margin-left:80px\">\u5b89\u88c5\u6240\u9700\u8981\u5e93<\/p>\n<p id=\"%E4%BA%94%E3%80%81%E6%A8%A1%E5%9E%8B%E8%AE%AD%E7%BB%83-toc\" style=\"margin-left:40px\">\u4e94\u3001\u6a21\u578b\u8bad\u7ec3<\/p>\n<p id=\"%E8%AE%AD%E7%BB%83%E4%BB%A3%E7%A0%81-toc\" style=\"margin-left:80px\">\u8bad\u7ec3\u4ee3\u7801<\/p>\n<p id=\"%E8%AE%AD%E7%BB%83%E7%BB%93%E6%9E%9C-toc\" style=\"margin-left:80px\">\u8bad\u7ec3\u7ed3\u679c<\/p>\n<p id=\"%E5%85%AD%E3%80%81%E6%A0%B8%E5%BF%83%E4%BB%A3%E7%A0%81-toc\" style=\"margin-left:40px\">\u516d\u3001\u6838\u5fc3\u4ee3\u7801<\/p>\n<p id=\"%E4%B8%83%E3%80%81%E9%A1%B9%E7%9B%AE%E6%BA%90%E7%A0%81%E4%B8%8B%E8%BD%BD%E9%93%BE%E6%8E%A5-toc\" style=\"margin-left:40px\">\u4e03\u3001\u9879\u76ee<\/p>\n<hr id=\"hr-toc\" \/>\n<\/p>\n<h3 id=\"%E4%BA%8C%E3%80%81%E9%A1%B9%E7%9B%AE%E5%8A%9F%E8%83%BD%E5%B1%95%E7%A4%BA\">\u4e8c\u3001\u9879\u76ee\u529f\u80fd\u5c55\u793a<\/h3>\n<h3 id=\"%E7%B3%BB%E7%BB%9F%E5%8A%9F%E8%83%BD\">\u7cfb\u7edf\u529f\u80fd<\/h3>\n<p>\u2705 \u56fe\u7247\u68c0\u6d4b&#xff1a;\u53ef\u5bf9\u5355\u5f20\u56fe\u7247\u8fdb\u884c\u68c0\u6d4b&#xff0c;\u8fd4\u56de\u68c0\u6d4b\u6846\u53ca\u7c7b\u522b\u4fe1\u606f\u3002 \u2705 \u6279\u91cf\u56fe\u7247\u68c0\u6d4b&#xff1a;\u652f\u6301\u6587\u4ef6\u5939\u8f93\u5165&#xff0c;\u4e00\u6b21\u6027\u68c0\u6d4b\u591a\u5f20\u56fe\u7247&#xff0c;\u751f\u6210\u6279\u91cf\u68c0\u6d4b\u7ed3\u679c\u3002 \u2705 \u89c6\u9891\u68c0\u6d4b&#xff1a;\u652f\u6301\u89c6\u9891\u6587\u4ef6\u8f93\u5165&#xff0c;\u68c0\u6d4b\u89c6\u9891\u4e2d\u6bcf\u4e00\u5e27\u7684\u60c5\u51b5\u3002 \u2705 \u6444\u50cf\u5934\u5b9e\u65f6\u68c0\u6d4b&#xff1a;\u8fde\u63a5USB \u6444\u50cf\u5934&#xff0c;\u5b9e\u73b0\u5b9e\u65f6\u76d1\u6d4b&#xff0c;<\/p>\n<\/p>\n<h4 id=\"%E6%BC%94%E7%A4%BA%E4%B8%8E%E4%BB%8B%E7%BB%8D%E8%A7%86%E9%A2%91%EF%BC%9A\">\u6f14\u793a\u4e0e\u4ecb\u7ecd\u89c6\u9891&#xff1a;<\/h4>\n<p><span>\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf&#xff08;YOLOv10&#043;YOLO\u6570\u636e\u96c6&#043;UI\u754c\u9762&#043;Python\u9879\u76ee\u6e90\u7801&#043;\u6a21\u578b&#xff09;_\u54d4\u54e9\u54d4\u54e9_bilibili<\/span><\/p>\n<p>\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf&#xff08;YOLOv10&#043;YOLO\u6570\u636e\u96c6&#043;UI\u754c\u9762&#043;Python\u9879\u76ee\u6e90\u7801&#043;\u6a21\u578b&#xff09;<\/p>\n<ul>\n<li>\n<h4 id=\"%E5%9B%BE%E7%89%87%E6%A3%80%E6%B5%8B\">\u56fe\u7247\u68c0\u6d4b<\/h4>\n<\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u8be5\u529f\u80fd\u5141\u8bb8\u7528\u6237\u901a\u8fc7\u5355\u5f20\u56fe\u7247\u8fdb\u884c\u76ee\u6807\u68c0\u6d4b\u3002\u8f93\u5165\u4e00\u5f20\u56fe\u7247\u540e&#xff0c;YOLO\u6a21\u578b\u4f1a\u5b9e\u65f6\u5206\u6790\u56fe\u50cf&#xff0c;\u8bc6\u522b\u51fa\u5176\u4e2d\u7684\u76ee\u6807&#xff0c;\u5e76\u5728\u56fe\u50cf\u4e2d\u6846\u51fa\u68c0\u6d4b\u5230\u7684\u76ee\u6807&#xff0c;\u8f93\u51fa\u5e26\u6709\u76ee\u6807\u6846\u7684\u56fe\u50cf\u3002\u6279\u91cf\u56fe\u7247\u68c0\u6d4b<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u7528\u6237\u53ef\u4ee5\u4e00\u6b21\u6027\u4e0a\u4f20\u591a\u4e2a\u56fe\u7247\u8fdb\u884c\u6279\u91cf\u5904\u7406\u3002\u8be5\u529f\u80fd\u652f\u6301\u5bf9\u591a\u4e2a\u56fe\u50cf\u6587\u4ef6\u8fdb\u884c\u5e76\u884c\u5904\u7406&#xff0c;\u5e76\u8fd4\u56de\u6bcf\u5f20\u56fe\u50cf\u7684\u76ee\u6807\u68c0\u6d4b\u7ed3\u679c&#xff0c;\u9002\u7528\u4e8e\u9700\u8981\u5927\u89c4\u6a21\u5904\u7406\u56fe\u50cf\u6570\u636e\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"862\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050602-699d31ba1824f.png\" width=\"1252\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"862\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050602-699d31baa7014.png\" width=\"1252\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"862\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050603-699d31bb47c11.png\" width=\"1252\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"862\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050603-699d31bbc528b.png\" width=\"1252\" \/><\/p>\n<\/p>\n<ul>\n<li>\n<h4 id=\"%E8%A7%86%E9%A2%91%E6%A3%80%E6%B5%8B\">\u89c6\u9891\u68c0\u6d4b<\/h4>\n<\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u89c6\u9891\u68c0\u6d4b\u529f\u80fd\u5141\u8bb8\u7528\u6237\u5c06\u89c6\u9891\u6587\u4ef6\u4f5c\u4e3a\u8f93\u5165\u3002YOLO\u6a21\u578b\u5c06\u9010\u5e27\u5206\u6790\u89c6\u9891&#xff0c;\u5e76\u5728\u6bcf\u4e00\u5e27\u4e2d\u6807\u8bb0\u51fa\u68c0\u6d4b\u5230\u7684\u76ee\u6807\u3002\u6700\u7ec8\u7ed3\u679c\u53ef\u4ee5\u662f\u5e26\u6709\u76ee\u6807\u6846\u7684\u89c6\u9891\u6587\u4ef6\u6216\u5b9e\u65f6\u5c55\u793a&#xff0c;\u9002\u7528\u4e8e\u89c6\u9891\u76d1\u63a7\u548c\u5206\u6790\u7b49\u573a\u666f\u3002<\/p>\n<ul>\n<li>\n<h4 id=\"%E6%91%84%E5%83%8F%E5%A4%B4%E5%AE%9E%E6%97%B6%E6%A3%80%E6%B5%8B\">\u6444\u50cf\u5934\u5b9e\u65f6\u68c0\u6d4b<\/h4>\n<\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u8be5\u529f\u80fd\u652f\u6301\u901a\u8fc7\u8fde\u63a5\u6444\u50cf\u5934\u8fdb\u884c\u5b9e\u65f6\u76ee\u6807\u68c0\u6d4b\u3002YOLO\u6a21\u578b\u80fd\u591f\u5728\u6444\u50cf\u5934\u62cd\u6444\u7684\u5b9e\u65f6\u89c6\u9891\u6d41\u4e2d\u8fdb\u884c\u76ee\u6807\u68c0\u6d4b&#xff0c;\u5b9e\u65f6\u8bc6\u522b\u5e76\u663e\u793a\u68c0\u6d4b\u7ed3\u679c\u3002\u6b64\u529f\u80fd\u975e\u5e38\u9002\u7528\u4e8e\u5b89\u9632\u76d1\u63a7\u3001\u65e0\u4eba\u9a7e\u9a76\u3001\u667a\u80fd\u4ea4\u901a\u7b49\u5e94\u7528&#xff0c;\u63d0\u4f9b\u5373\u65f6\u53cd\u9988\u3002<\/p>\n<\/p>\n<p>\u6838\u5fc3\u7279\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u9ad8\u7cbe\u5ea6&#xff1a;\u57fa\u4e8eYOLO\u6a21\u578b&#xff0c;\u63d0\u4f9b\u7cbe\u786e\u7684\u76ee\u6807\u68c0\u6d4b\u80fd\u529b&#xff0c;\u9002\u7528\u4e8e\u4e0d\u540c\u7c7b\u578b\u7684\u56fe\u50cf\u548c\u89c6\u9891\u3002<\/li>\n<li>\u5b9e\u65f6\u6027&#xff1a;\u7279\u522b\u4f18\u5316\u7684\u7b97\u6cd5\u4f7f\u5f97\u5b9e\u65f6\u76ee\u6807\u68c0\u6d4b\u6210\u4e3a\u53ef\u80fd&#xff0c;\u65e0\u8bba\u662f\u5728\u89c6\u9891\u8fd8\u662f\u6444\u50cf\u5934\u5b9e\u65f6\u68c0\u6d4b\u4e2d&#xff0c;\u54cd\u5e94\u901f\u5ea6\u90fd\u975e\u5e38\u5feb\u3002<\/li>\n<li>\u6279\u91cf\u5904\u7406&#xff1a;\u652f\u6301\u9ad8\u6548\u7684\u6279\u91cf\u56fe\u50cf\u548c\u89c6\u9891\u5904\u7406&#xff0c;\u9002\u5408\u5927\u89c4\u6a21\u6570\u636e\u5206\u6790\u3002<\/li>\n<\/ul>\n<h3 id=\"%E4%B8%89%E3%80%81%E6%95%B0%E6%8D%AE%E9%9B%86%E4%BB%8B%E7%BB%8D\">\u4e09\u3001\u6570\u636e\u96c6\u4ecb\u7ecd<\/h3>\n<p>\u6570\u636e\u96c6\u540d\u79f0: \u65e0\u4eba\u673a\u68c0\u6d4b\u6570\u636e\u96c6 \u6570\u636e\u96c6\u7c7b\u522b: 1\u7c7b \u7c7b\u522b\u540d\u79f0: [&#039;drone&#039;]<\/p>\n<p>\u6570\u636e\u96c6\u5212\u5206:<\/p>\n<ul>\n<li>\n<p>\u8bad\u7ec3\u96c6: 1012 \u5f20\u56fe\u50cf \u8bad\u7ec3\u96c6\u7528\u4e8e\u8bad\u7ec3YOLOv10\u6a21\u578b&#xff0c;\u4f7f\u5176\u80fd\u591f\u5b66\u4e60\u5e76\u8bc6\u522b\u65e0\u4eba\u673a\u7684\u7279\u5f81\u3002\u8bad\u7ec3\u96c6\u7684\u56fe\u50cf\u6db5\u76d6\u4e86\u4e0d\u540c\u5149\u7167\u6761\u4ef6\u3001\u80cc\u666f\u73af\u5883\u3001\u65e0\u4eba\u673a\u7684\u5927\u5c0f\u548c\u59ff\u6001&#xff0c;\u4ee5\u786e\u4fdd\u6a21\u578b\u7684\u6cdb\u5316\u80fd\u529b\u3002<\/p>\n<\/li>\n<li>\n<p>\u9a8c\u8bc1\u96c6: 347 \u5f20\u56fe\u50cf \u9a8c\u8bc1\u96c6\u7528\u4e8e\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u8bc4\u4f30\u6a21\u578b\u7684\u6027\u80fd&#xff0c;\u5e2e\u52a9\u8c03\u6574\u8d85\u53c2\u6570\u548c\u9632\u6b62\u8fc7\u62df\u5408\u3002\u9a8c\u8bc1\u96c6\u7684\u56fe\u50cf\u4e0e\u8bad\u7ec3\u96c6\u7c7b\u4f3c&#xff0c;\u4f46\u72ec\u7acb\u4e8e\u8bad\u7ec3\u96c6&#xff0c;\u786e\u4fdd\u6a21\u578b\u5728\u672a\u89c1\u8fc7\u7684\u6570\u636e\u4e0a\u4e5f\u80fd\u8868\u73b0\u826f\u597d\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u6570\u636e\u96c6\u7279\u70b9:<\/p>\n<ul>\n<li>\n<p>\u9ad8\u8d28\u91cf\u6807\u6ce8: \u6bcf\u5f20\u56fe\u50cf\u90fd\u7ecf\u8fc7\u7cbe\u786e\u7684\u6807\u6ce8&#xff0c;\u6807\u6ce8\u4fe1\u606f\u5305\u62ec\u65e0\u4eba\u673a\u7684\u8fb9\u754c\u6846\u4f4d\u7f6e&#xff0c;\u786e\u4fdd\u6a21\u578b\u80fd\u591f\u51c6\u786e\u5b66\u4e60\u76ee\u6807\u7279\u5f81\u3002<\/p>\n<\/li>\n<li>\n<p>\u591a\u6837\u6027: \u6570\u636e\u96c6\u4e2d\u7684\u56fe\u50cf\u6db5\u76d6\u4e86\u4e0d\u540c\u5149\u7167\u6761\u4ef6&#xff08;\u5982\u767d\u5929\u3001\u591c\u665a&#xff09;\u3001\u80cc\u666f\u73af\u5883&#xff08;\u5982\u5929\u7a7a\u3001\u57ce\u5e02\u3001\u68ee\u6797&#xff09;\u3001\u65e0\u4eba\u673a\u7684\u5927\u5c0f\u548c\u59ff\u6001&#xff0c;\u786e\u4fdd\u6a21\u578b\u80fd\u591f\u9002\u5e94\u5404\u79cd\u5b9e\u9645\u573a\u666f\u3002<\/p>\n<\/li>\n<li>\n<p>\u9488\u5bf9\u6027: \u6570\u636e\u96c6\u4e13\u6ce8\u4e8e\u65e0\u4eba\u673a\u7684\u68c0\u6d4b&#xff0c;\u9002\u5408\u5355\u4e00\u7c7b\u522b\u7684\u9ad8\u7cbe\u5ea6\u68c0\u6d4b\u4efb\u52a1\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5e94\u7528\u573a\u666f:<\/p>\n<li>\n<p>\u7a7a\u57df\u76d1\u63a7: \u5b9e\u65f6\u68c0\u6d4b\u7a7a\u57df\u4e2d\u7684\u65e0\u4eba\u673a&#xff0c;\u5e2e\u52a9\u7ef4\u62a4\u7a7a\u57df\u5b89\u5168&#xff0c;\u9632\u6b62\u975e\u6cd5\u65e0\u4eba\u673a\u5165\u4fb5\u3002<\/p>\n<\/li>\n<li>\n<p>\u5b89\u9632\u76d1\u63a7: \u5728\u91cd\u8981\u573a\u6240&#xff08;\u5982\u673a\u573a\u3001\u519b\u4e8b\u57fa\u5730\u3001\u5927\u578b\u6d3b\u52a8\u573a\u5730&#xff09;\u4e2d&#xff0c;\u7cfb\u7edf\u53ef\u4ee5\u7528\u4e8e\u68c0\u6d4b\u65e0\u4eba\u673a\u7684\u5b58\u5728&#xff0c;\u63d0\u5347\u5b89\u9632\u76d1\u63a7\u80fd\u529b\u3002<\/p>\n<\/li>\n<li>\n<p>\u65e0\u4eba\u673a\u7ba1\u7406: \u4e3a\u65e0\u4eba\u673a\u7ba1\u7406\u63d0\u4f9b\u6280\u672f\u652f\u6301&#xff0c;\u5e2e\u52a9\u8bc6\u522b\u548c\u8ffd\u8e2a\u65e0\u4eba\u673a\u7684\u98de\u884c\u8f68\u8ff9&#xff0c;\u4f18\u5316\u65e0\u4eba\u673a\u7ba1\u7406\u6d41\u7a0b\u3002<\/p>\n<\/li>\n<hr \/>\n<h4 id=\"%E6%8A%80%E6%9C%AF%E4%BC%98%E5%8A%BF\">\u6280\u672f\u4f18\u52bf<\/h4>\n<ul>\n<li>\n<p>\u9ad8\u7cbe\u5ea6\u68c0\u6d4b: \u57fa\u4e8eYOLOv10\u76ee\u6807\u68c0\u6d4b\u7b97\u6cd5&#xff0c;\u80fd\u591f\u5b9e\u73b0\u9ad8\u7cbe\u5ea6\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u3002<\/p>\n<\/li>\n<li>\n<p>\u5b9e\u65f6\u6027: \u7cfb\u7edf\u652f\u6301\u5b9e\u65f6\u68c0\u6d4b&#xff0c;\u80fd\u591f\u5feb\u901f\u5904\u7406\u56fe\u50cf\u5e76\u8f93\u51fa\u68c0\u6d4b\u7ed3\u679c\u3002<\/p>\n<\/li>\n<li>\n<p>\u9c81\u68d2\u6027: \u6a21\u578b\u7ecf\u8fc7\u591a\u6837\u5316\u6570\u636e\u8bad\u7ec3&#xff0c;\u80fd\u591f\u9002\u5e94\u4e0d\u540c\u5149\u7167\u6761\u4ef6\u3001\u80cc\u666f\u73af\u5883\u548c\u65e0\u4eba\u673a\u59ff\u6001\u3002<\/p>\n<\/li>\n<li>\n<p>\u6613\u7528\u6027: \u7cfb\u7edf\u53ef\u90e8\u7f72\u4e8e\u591a\u79cd\u786c\u4ef6\u5e73\u53f0&#xff08;\u5982\u5d4c\u5165\u5f0f\u8bbe\u5907\u3001\u76d1\u63a7\u6444\u50cf\u5934\u3001\u670d\u52a1\u5668\u7b49&#xff09;&#xff0c;\u6ee1\u8db3\u4e0d\u540c\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n<\/li>\n<\/ul>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"605\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050604-699d31bc54f1b.png\" width=\"1124\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"600\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050604-699d31bcb5f45.png\" width=\"835\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"91\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050604-699d31bcea0d8.png\" width=\"299\" \/><\/p>\n<\/p>\n<\/p>\n<\/p>\n<h4 id=\"%E6%95%B0%E6%8D%AE%E9%9B%86%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6data.yaml\">\u6570\u636e\u96c6\u914d\u7f6e\u6587\u4ef6data.yaml<\/h4>\n<p>train: .\\\\datasets\\\\images\\\\train<br \/>\nval: .\\\\datasets\\\\images\\\\val<br \/>\ntest: .\\\\datasets\\\\images\\\\test<\/p>\n<p>nc: 1<br \/>\nnames: [&#039;drone&#039;]<\/p>\n<h4 id=\"%E6%95%B0%E6%8D%AE%E9%9B%86%E5%88%B6%E4%BD%9C%E6%B5%81%E7%A8%8B\">\u6570\u636e\u96c6\u5236\u4f5c\u6d41\u7a0b<\/h4>\n<ul>\n<li>\n<p>\u6807\u6ce8\u6570\u636e&#xff1a;\u4f7f\u7528\u6807\u6ce8\u5de5\u5177&#xff08;\u5982LabelImg\u3001CVAT\u7b49&#xff09;\u5bf9\u56fe\u50cf\u4e2d\u7684\u76ee\u6807\u8fdb\u884c\u6807\u6ce8\u3002\u6bcf\u4e2a\u76ee\u6807\u9700\u8981\u6807\u51fa\u8fb9\u754c\u6846&#xff0c;\u5e76\u4e14\u6807\u6ce8\u7c7b\u522b\u3002<\/p>\n<\/li>\n<li>\n<p>\u8f6c\u6362\u683c\u5f0f&#xff1a;\u5c06\u6807\u6ce8\u7684\u6570\u636e\u8f6c\u6362\u4e3aYOLO\u683c\u5f0f\u3002YOLO\u6807\u6ce8\u683c\u5f0f\u4e3a\u6bcf\u884c&#xff1a;&lt;object-class&gt; &lt;x_center&gt; &lt;y_center&gt; &lt;width&gt; &lt;height&gt;&#xff0c;\u8fd9\u4e9b\u5750\u6807\u662f\u76f8\u5bf9\u4e8e\u56fe\u50cf\u5c3a\u5bf8\u7684\u6bd4\u4f8b\u3002<\/p>\n<\/li>\n<li>\n<p>\u5206\u5272\u6570\u636e\u96c6&#xff1a;\u5c06\u6570\u636e\u96c6\u5206\u4e3a\u8bad\u7ec3\u96c6\u3001\u9a8c\u8bc1\u96c6\u548c\u6d4b\u8bd5\u96c6&#xff0c;\u901a\u5e38\u7684\u6bd4\u4f8b\u662f80%\u8bad\u7ec3\u96c6\u300110%\u9a8c\u8bc1\u96c6\u548c10%\u6d4b\u8bd5\u96c6\u3002<\/p>\n<\/li>\n<li>\n<p>\u51c6\u5907\u6807\u7b7e\u6587\u4ef6&#xff1a;\u4e3a\u6bcf\u5f20\u56fe\u7247\u751f\u6210\u4e00\u4e2a\u5bf9\u5e94\u7684\u6807\u7b7e\u6587\u4ef6&#xff0c;\u786e\u4fdd\u6807\u7b7e\u6587\u4ef6\u4e0e\u56fe\u7247\u7684\u547d\u540d\u4e00\u81f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u8c03\u6574\u56fe\u50cf\u5c3a\u5bf8&#xff1a;\u6839\u636eYOLO\u7f51\u7edc\u8981\u6c42&#xff0c;\u7edf\u4e00\u8c03\u6574\u6240\u6709\u56fe\u50cf\u7684\u5c3a\u5bf8&#xff08;\u5982416&#215;416\u6216608&#215;608&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050605-699d31bd05efd.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050606-699d31be18ccd.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050607-699d31bf426f0.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050608-699d31c040f29.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050609-699d31c187ca0.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050610-699d31c2c0953.jpg\" width=\"1920\" \/><\/p>\n<\/p>\n<h3 id=\"%E5%9B%9B%E3%80%81%E9%A1%B9%E7%9B%AE%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE\">\u56db\u3001\u9879\u76ee\u73af\u5883\u914d\u7f6e<\/h3>\n<h4 id=\"%E5%88%9B%E5%BB%BA%E8%99%9A%E6%8B%9F%E7%8E%AF%E5%A2%83\">\u521b\u5efa\u865a\u62df\u73af\u5883<\/h4>\n<p>\u9996\u5148\u65b0\u5efa\u4e00\u4e2aAnaconda\u73af\u5883&#xff0c;\u6bcf\u4e2a\u9879\u76ee\u7528\u4e0d\u540c\u7684\u73af\u5883&#xff0c;\u8fd9\u6837\u9879\u76ee\u4e2d\u6240\u7528\u7684\u4f9d\u8d56\u5305\u4e92\u4e0d\u5e72\u6270\u3002<\/p>\n<\/p>\n<p>\u7ec8\u7aef\u8f93\u5165<\/p>\n<p>conda create -n yolov10 python&#061;&#061;3.9<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1163\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050611-699d31c3d535c.png\" width=\"979\" \/><\/p>\n<\/p>\n<p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/p>\n<p>conda activate yolov10 \u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"90\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050612-699d31c4739c1.png\" width=\"461\" \/><\/p>\n<\/p>\n<p>\u5b89\u88c5cpu\u7248\u672cpytorch<\/p>\n<p>pip install torch torchvision torchaudio <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"542\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050612-699d31c48431f.png\" width=\"834\" \/><\/p>\n<\/p>\n<h4 id=\"pycharm%E4%B8%AD%E9%85%8D%E7%BD%AEanaconda\">pycharm\u4e2d\u914d\u7f6eanaconda<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1030\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050612-699d31c4b3d71.png\" width=\"1200\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"579\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050613-699d31c57497e.png\" width=\"932\" \/><\/p>\n<\/p>\n<h4 id=\"%E5%AE%89%E8%A3%85%E6%89%80%E9%9C%80%E8%A6%81%E5%BA%93\">\u5b89\u88c5\u6240\u9700\u8981\u5e93<\/h4>\n<p>pip install -r requirements.txt<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"993\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050613-699d31c5ace1d.png\" width=\"1200\" \/><\/p>\n<\/p>\n<h3 id=\"%E4%BA%94%E3%80%81%E6%A8%A1%E5%9E%8B%E8%AE%AD%E7%BB%83\">\u4e94\u3001\u6a21\u578b\u8bad\u7ec3<\/h3>\n<h4 id=\"%E8%AE%AD%E7%BB%83%E4%BB%A3%E7%A0%81\">\u8bad\u7ec3\u4ee3\u7801<\/h4>\n<p>from ultralytics import YOLOv10<\/p>\n<p>model_path &#061; &#039;yolov10s.pt&#039;<br \/>\ndata_path &#061; &#039;datasets\/data.yaml&#039;<\/p>\n<p>if __name__ &#061;&#061; &#039;__main__&#039;:<br \/>\n    model &#061; YOLOv10(model_path)<br \/>\n    results &#061; model.train(data&#061;data_path,<br \/>\n                          epochs&#061;500,<br \/>\n                          batch&#061;64,<br \/>\n                          device&#061;&#039;0&#039;,<br \/>\n                          workers&#061;0,<br \/>\n                          project&#061;&#039;runs\/detect&#039;,<br \/>\n                          name&#061;&#039;exp&#039;,<br \/>\n                          )<br \/>\n\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u66f4\u6362\u6a21\u578b<br \/>\nyolov10n.yaml (nano)&#xff1a;\u8f7b\u91cf\u5316\u6a21\u578b&#xff0c;\u9002\u5408\u5d4c\u5165\u5f0f\u8bbe\u5907&#xff0c;\u901f\u5ea6\u5feb\u4f46\u7cbe\u5ea6\u7565\u4f4e\u3002<br \/>\nyolov10s.yaml (small)&#xff1a;\u5c0f\u6a21\u578b&#xff0c;\u9002\u5408\u5b9e\u65f6\u4efb\u52a1\u3002<br \/>\nyolov10m.yaml (medium)&#xff1a;\u4e2d\u7b49\u5927\u5c0f\u6a21\u578b&#xff0c;\u517c\u987e\u901f\u5ea6\u548c\u7cbe\u5ea6\u3002<br \/>\nyolov10b.yaml (base)&#xff1a;\u57fa\u672c\u7248\u6a21\u578b&#xff0c;\u9002\u5408\u5927\u90e8\u5206\u5e94\u7528\u573a\u666f\u3002<br \/>\nyolov10l.yaml (large)&#xff1a;\u5927\u578b\u6a21\u578b&#xff0c;\u9002\u5408\u5bf9\u7cbe\u5ea6\u8981\u6c42\u9ad8\u7684\u4efb\u52a1\u3002 <\/p>\n<ul>\n<li>&#8211;batch 64&#xff1a;\u6bcf\u6279\u6b2164\u5f20\u56fe\u50cf\u3002<\/li>\n<li>&#8211;epochs 500&#xff1a;\u8bad\u7ec3500\u8f6e\u3002<\/li>\n<li>&#8211;datasets\/data.yaml&#xff1a;\u6570\u636e\u96c6\u914d\u7f6e\u6587\u4ef6\u3002<\/li>\n<li>&#8211;weights yolov10s.pt&#xff1a;\u521d\u59cb\u5316\u6a21\u578b\u6743\u91cd&#xff0c;yolov10s.pt \u662f\u9884\u8bad\u7ec3\u7684\u8f7b\u91cf\u7ea7YOLO\u6a21\u578b\u3002<\/li>\n<\/ul>\n<h4 id=\"%E8%AE%AD%E7%BB%83%E7%BB%93%E6%9E%9C\">\u8bad\u7ec3\u7ed3\u679c<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"465\" src=\"2026-02-244nesy2ldfdl.png\" width=\"1051\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1200\" src=\"2026-02-24a53kodie530.png\" width=\"2400\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1500\" src=\"2026-02-24jgug5oxftfc.png\" width=\"2250\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1500\" src=\"2026-02-24kinldvevg4x.png\" width=\"2250\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1500\" src=\"2026-02-24fqdwvzihbmb.png\" width=\"2250\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1100\" src=\"2026-02-24zq2x2y5ybpn.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1008\" src=\"2026-02-24dy5hnwhjvqg.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1008\" src=\"2026-02-24sb53dvjxbaz.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1100\" src=\"2026-02-24qkcoogu1bbk.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1100\" src=\"2026-02-24jnx5lxwanpv.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1100\" src=\"2026-02-24jouwthl4ipq.jpg\" width=\"1920\" \/><\/p>\n<\/p>\n<\/p>\n<h3 id=\"%E5%85%AD%E3%80%81%E6%A0%B8%E5%BF%83%E4%BB%A3%E7%A0%81\">\u516d\u3001\u6838\u5fc3\u4ee3\u7801<\/h3>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"993\" src=\"2026-02-24xzijd10vzdi.png\" width=\"1386\" \/><\/p>\n<p># -*- coding: utf-8 -*-<br \/>\nimport time<br \/>\nfrom PyQt5.QtWidgets import QApplication , QMainWindow, QFileDialog,QMessageBox,QWidget,QHeaderView,QTableWidgetItem, QAbstractItemView<br \/>\nimport sys<br \/>\nimport os<br \/>\nfrom PIL import ImageFont<br \/>\nfrom ultralytics import YOLOv10<br \/>\nsys.path.append(&#039;UIProgram&#039;)<br \/>\nfrom UIProgram.UiMain import Ui_MainWindow<br \/>\nimport sys<br \/>\nfrom PyQt5.QtCore import QTimer, Qt, QThread, pyqtSignal,QCoreApplication<br \/>\nimport detect_tools as tools<br \/>\nimport cv2<br \/>\nimport Config<br \/>\nfrom UIProgram.QssLoader import QSSLoader<br \/>\nfrom UIProgram.precess_bar import ProgressBar<br \/>\nimport numpy as np<br \/>\n# import torch<\/p>\n<p>class MainWindow(QMainWindow):<br \/>\n    def __init__(self, parent&#061;None):<br \/>\n        super(QMainWindow, self).__init__(parent)<br \/>\n        self.ui &#061; Ui_MainWindow()<br \/>\n        self.ui.setupUi(self)<br \/>\n        self.initMain()<br \/>\n        self.signalconnect()<\/p>\n<p>        # \u52a0\u8f7dcss\u6e32\u67d3\u6548\u679c<br \/>\n        style_file &#061; &#039;UIProgram\/style.css&#039;<br \/>\n        qssStyleSheet &#061; QSSLoader.read_qss_file(style_file)<br \/>\n        self.setStyleSheet(qssStyleSheet)<\/p>\n<p>    def signalconnect(self):<br \/>\n        self.ui.PicBtn.clicked.connect(self.open_img)<br \/>\n        self.ui.comboBox.activated.connect(self.combox_change)<br \/>\n        self.ui.VideoBtn.clicked.connect(self.vedio_show)<br \/>\n        self.ui.CapBtn.clicked.connect(self.camera_show)<br \/>\n        self.ui.SaveBtn.clicked.connect(self.save_detect_video)<br \/>\n        self.ui.ExitBtn.clicked.connect(QCoreApplication.quit)<br \/>\n        self.ui.FilesBtn.clicked.connect(self.detact_batch_imgs)<\/p>\n<p>    def initMain(self):<br \/>\n        self.show_width &#061; 700<br \/>\n        self.show_height &#061; 500<br \/>\n        self.org_path &#061; None<br \/>\n        self.is_camera_open &#061; False<br \/>\n        self.cap &#061; None<\/p>\n<p>        # self.device &#061; 0 if torch.cuda.is_available() else &#039;cpu&#039;<\/p>\n<p>        # \u52a0\u8f7d\u68c0\u6d4b\u6a21\u578b<br \/>\n        self.model &#061; YOLOv10(&#039;runs\/detect\/exp\/weights\/best.pt&#039;, task&#061;&#039;detect&#039;)<br \/>\n        self.model(np.zeros((48, 48, 3)))  #\u9884\u5148\u52a0\u8f7d\u63a8\u7406\u6a21\u578b<br \/>\n        self.fontC &#061; ImageFont.truetype(&#034;Font\/platech.ttf&#034;, 25, 0)<br \/>\n        self.colors &#061; tools.Colors()<br \/>\n        self.timer_camera &#061; QTimer()<\/p>\n<p>        # \u66f4\u65b0\u68c0\u6d4b\u4fe1\u606f\u8868\u683c<br \/>\n        # self.timer_info &#061; QTimer()<br \/>\n        # \u4fdd\u5b58\u89c6\u9891<br \/>\n        self.timer_save_video &#061; QTimer()<\/p>\n<p>        # \u8868\u683c<br \/>\n        self.ui.tableWidget.verticalHeader().setSectionResizeMode(QHeaderView.Fixed)<br \/>\n        self.ui.tableWidget.verticalHeader().setDefaultSectionSize(40)<br \/>\n        self.ui.tableWidget.setColumnWidth(0, 80)  # \u8bbe\u7f6e\u5217\u5bbd<br \/>\n        self.ui.tableWidget.setColumnWidth(1, 200)<br \/>\n        self.ui.tableWidget.setColumnWidth(2, 150)<br \/>\n        self.ui.tableWidget.setColumnWidth(3, 90)<br \/>\n        self.ui.tableWidget.setColumnWidth(4, 230)<br \/>\n        self.ui.tableWidget.setSelectionBehavior(QAbstractItemView.SelectRows)  # \u8bbe\u7f6e\u8868\u683c\u6574\u884c\u9009\u4e2d<br \/>\n        self.ui.tableWidget.verticalHeader().setVisible(False)  # \u9690\u85cf\u5217\u6807\u9898<br \/>\n        self.ui.tableWidget.setAlternatingRowColors(True)  # \u8868\u683c\u80cc\u666f\u4ea4\u66ff<\/p>\n<p>    def open_img(self):<br \/>\n        if self.cap:<br \/>\n            # \u6253\u5f00\u56fe\u7247\u524d\u5173\u95ed\u6444\u50cf\u5934<br \/>\n            self.video_stop()<br \/>\n            self.is_camera_open &#061; False<br \/>\n            self.ui.CaplineEdit.setText(&#039;\u6444\u50cf\u5934\u672a\u5f00\u542f&#039;)<br \/>\n            self.cap &#061; None<\/p>\n<p>        file_path, _ &#061; QFileDialog.getOpenFileName(None, &#039;\u6253\u5f00\u56fe\u7247&#039;, &#039;.\/&#039;, &#034;Image files (*.jpg *.jepg *.png)&#034;)<br \/>\n        if not file_path:<br \/>\n            return<\/p>\n<p>        self.ui.comboBox.setDisabled(False)<br \/>\n        self.org_path &#061; file_path<br \/>\n        self.org_img &#061; tools.img_cvread(self.org_path)<\/p>\n<p>        # \u76ee\u6807\u68c0\u6d4b<br \/>\n        t1 &#061; time.time()<br \/>\n        self.results &#061; self.model(self.org_path)[0]<br \/>\n        t2 &#061; time.time()<br \/>\n        take_time_str &#061; &#039;{:.3f} s&#039;.format(t2 &#8211; t1)<br \/>\n        self.ui.time_lb.setText(take_time_str)<br \/>\n        location_list &#061; self.results.boxes.xyxy.tolist()<br \/>\n        self.location_list &#061; [list(map(int, e)) for e in location_list]<br \/>\n        cls_list &#061; self.results.boxes.cls.tolist()<br \/>\n        self.cls_list &#061; [int(i) for i in cls_list]<br \/>\n        self.conf_list &#061; self.results.boxes.conf.tolist()<br \/>\n        self.conf_list &#061; [&#039;%.2f %%&#039; % (each*100) for each in self.conf_list]<\/p>\n<p>        total_nums &#061; len(location_list)<br \/>\n        cls_percents &#061; []<br \/>\n        for i in range(1):<br \/>\n            if total_nums &#061;&#061;0:<br \/>\n                res &#061;0<br \/>\n            else:<br \/>\n                res &#061; self.cls_list.count(i) \/ total_nums<br \/>\n            cls_percents.append(res)<br \/>\n        self.set_percent(cls_percents)<\/p>\n<p>        now_img &#061; self.results.plot()<br \/>\n        self.draw_img &#061; now_img<br \/>\n        # \u83b7\u53d6\u7f29\u653e\u540e\u7684\u56fe\u7247\u5c3a\u5bf8<br \/>\n        self.img_width, self.img_height &#061; self.get_resize_size(now_img)<br \/>\n        resize_cvimg &#061; cv2.resize(now_img,(self.img_width, self.img_height))<br \/>\n        pix_img &#061; tools.cvimg_to_qpiximg(resize_cvimg)<br \/>\n        self.ui.label_show.setPixmap(pix_img)<br \/>\n        self.ui.label_show.setAlignment(Qt.AlignCenter)<br \/>\n        # \u8bbe\u7f6e\u8def\u5f84\u663e\u793a<br \/>\n        self.ui.PiclineEdit.setText(self.org_path)<\/p>\n<p>        # \u76ee\u6807\u6570\u76ee<br \/>\n        target_nums &#061; len(self.cls_list)<br \/>\n        self.ui.label_nums.setText(str(target_nums))<\/p>\n<p>        # \u8bbe\u7f6e\u76ee\u6807\u9009\u62e9\u4e0b\u62c9\u6846<br \/>\n        choose_list &#061; [&#039;\u5168\u90e8&#039;]<br \/>\n        target_names &#061; [Config.names[id]&#043; &#039;_&#039;&#043; str(index) for index,id in enumerate(self.cls_list)]<br \/>\n        choose_list &#061; choose_list &#043; target_names<\/p>\n<p>        self.ui.comboBox.clear()<br \/>\n        self.ui.comboBox.addItems(choose_list)<\/p>\n<p>        if target_nums &gt;&#061; 1:<br \/>\n            self.ui.type_lb.setText(Config.CH_names[self.cls_list[0]])<br \/>\n            self.ui.label_conf.setText(str(self.conf_list[0]))<br \/>\n            self.ui.label_xmin.setText(str(self.location_list[0][0]))<br \/>\n            self.ui.label_ymin.setText(str(self.location_list[0][1]))<br \/>\n            self.ui.label_xmax.setText(str(self.location_list[0][2]))<br \/>\n            self.ui.label_ymax.setText(str(self.location_list[0][3]))<br \/>\n        else:<br \/>\n            self.ui.type_lb.setText(&#039;&#039;)<br \/>\n            self.ui.label_conf.setText(&#039;&#039;)<br \/>\n            self.ui.label_xmin.setText(&#039;&#039;)<br \/>\n            self.ui.label_ymin.setText(&#039;&#039;)<br \/>\n            self.ui.label_xmax.setText(&#039;&#039;)<br \/>\n            self.ui.label_ymax.setText(&#039;&#039;)<\/p>\n<p>        # # \u5220\u9664\u8868\u683c\u6240\u6709\u884c<br \/>\n        self.ui.tableWidget.setRowCount(0)<br \/>\n        self.ui.tableWidget.clearContents()<br \/>\n        self.tabel_info_show(self.location_list, self.cls_list, self.conf_list,path&#061;self.org_path)<\/p>\n<p>    def detact_batch_imgs(self):<br \/>\n        if self.cap:<br \/>\n            # \u6253\u5f00\u56fe\u7247\u524d\u5173\u95ed\u6444\u50cf\u5934<br \/>\n            self.video_stop()<br \/>\n            self.is_camera_open &#061; False<br \/>\n            self.ui.CaplineEdit.setText(&#039;\u6444\u50cf\u5934\u672a\u5f00\u542f&#039;)<br \/>\n            self.cap &#061; None<br \/>\n        directory &#061; QFileDialog.getExistingDirectory(self,<br \/>\n                                                      &#034;\u9009\u53d6\u6587\u4ef6\u5939&#034;,<br \/>\n                                                      &#034;.\/&#034;)  # \u8d77\u59cb\u8def\u5f84<br \/>\n        if not  directory:<br \/>\n            return<br \/>\n        self.org_path &#061; directory<br \/>\n        img_suffix &#061; [&#039;jpg&#039;,&#039;png&#039;,&#039;jpeg&#039;,&#039;bmp&#039;]<br \/>\n        for file_name in os.listdir(directory):<br \/>\n            full_path &#061; os.path.join(directory,file_name)<br \/>\n            if os.path.isfile(full_path) and file_name.split(&#039;.&#039;)[-1].lower() in img_suffix:<br \/>\n                # self.ui.comboBox.setDisabled(False)<br \/>\n                img_path &#061; full_path<br \/>\n                self.org_img &#061; tools.img_cvread(img_path)<br \/>\n                # \u76ee\u6807\u68c0\u6d4b<br \/>\n                t1 &#061; time.time()<br \/>\n                self.results &#061; self.model(img_path)[0]<br \/>\n                t2 &#061; time.time()<br \/>\n                take_time_str &#061; &#039;{:.3f} s&#039;.format(t2 &#8211; t1)<br \/>\n                self.ui.time_lb.setText(take_time_str)<\/p>\n<p>                location_list &#061; self.results.boxes.xyxy.tolist()<br \/>\n                self.location_list &#061; [list(map(int, e)) for e in location_list]<br \/>\n                cls_list &#061; self.results.boxes.cls.tolist()<br \/>\n                self.cls_list &#061; [int(i) for i in cls_list]<br \/>\n                self.conf_list &#061; self.results.boxes.conf.tolist()<br \/>\n                self.conf_list &#061; [&#039;%.2f %%&#039; % (each * 100) for each in self.conf_list]<\/p>\n<p>                total_nums &#061; len(location_list)<br \/>\n                cls_percents &#061; []<br \/>\n                for i in range(1):<br \/>\n                    if total_nums &#061;&#061; 0:<br \/>\n                        res &#061; 0<br \/>\n                    else:<br \/>\n                        res &#061; self.cls_list.count(i) \/ total_nums<\/p>\n<p>                    cls_percents.append(res)<br \/>\n                self.set_percent(cls_percents)<\/p>\n<p>                now_img &#061; self.results.plot()<\/p>\n<p>                self.draw_img &#061; now_img<br \/>\n                # \u83b7\u53d6\u7f29\u653e\u540e\u7684\u56fe\u7247\u5c3a\u5bf8<br \/>\n                self.img_width, self.img_height &#061; self.get_resize_size(now_img)<br \/>\n                resize_cvimg &#061; cv2.resize(now_img, (self.img_width, self.img_height))<br \/>\n                pix_img &#061; tools.cvimg_to_qpiximg(resize_cvimg)<br \/>\n                self.ui.label_show.setPixmap(pix_img)<br \/>\n                self.ui.label_show.setAlignment(Qt.AlignCenter)<br \/>\n                # \u8bbe\u7f6e\u8def\u5f84\u663e\u793a<br \/>\n                self.ui.PiclineEdit.setText(img_path)<\/p>\n<p>                # \u76ee\u6807\u6570\u76ee<br \/>\n                target_nums &#061; len(self.cls_list)<br \/>\n                self.ui.label_nums.setText(str(target_nums))<\/p>\n<p>                # \u8bbe\u7f6e\u76ee\u6807\u9009\u62e9\u4e0b\u62c9\u6846<br \/>\n                choose_list &#061; [&#039;\u5168\u90e8&#039;]<br \/>\n                target_names &#061; [Config.names[id] &#043; &#039;_&#039; &#043; str(index) for index, id in enumerate(self.cls_list)]<br \/>\n                choose_list &#061; choose_list &#043; target_names<\/p>\n<p>                self.ui.comboBox.clear()<br \/>\n                self.ui.comboBox.addItems(choose_list)<\/p>\n<p>                if target_nums &gt;&#061; 1:<br \/>\n                    self.ui.type_lb.setText(Config.CH_names[self.cls_list[0]])<br \/>\n                    self.ui.label_conf.setText(str(self.conf_list[0]))<br \/>\n                    self.ui.label_xmin.setText(str(self.location_list[0][0]))<br \/>\n                    self.ui.label_ymin.setText(str(self.location_list[0][1]))<br \/>\n                    self.ui.label_xmax.setText(str(self.location_list[0][2]))<br \/>\n                    self.ui.label_ymax.setText(str(self.location_list[0][3]))<br \/>\n                else:<br \/>\n                    self.ui.type_lb.setText(&#039;&#039;)<br \/>\n                    self.ui.label_conf.setText(&#039;&#039;)<br \/>\n                    self.ui.label_xmin.setText(&#039;&#039;)<br \/>\n                    self.ui.label_ymin.setText(&#039;&#039;)<br \/>\n                    self.ui.label_xmax.setText(&#039;&#039;)<br \/>\n                    self.ui.label_ymax.setText(&#039;&#039;)<\/p>\n<p>                # # \u5220\u9664\u8868\u683c\u6240\u6709\u884c<br \/>\n                self.tabel_info_show(self.location_list, self.cls_list, self.conf_list, path&#061;img_path)<br \/>\n                self.ui.tableWidget.scrollToBottom()<br \/>\n                QApplication.processEvents()  #\u5237\u65b0\u9875\u9762<\/p>\n<p>    def draw_rect_and_tabel(self, results, img):<br \/>\n        now_img &#061; img.copy()<br \/>\n        location_list &#061; results.boxes.xyxy.tolist()<br \/>\n        self.location_list &#061; [list(map(int, e)) for e in location_list]<br \/>\n        cls_list &#061; results.boxes.cls.tolist()<br \/>\n        self.cls_list &#061; [int(i) for i in cls_list]<br \/>\n        self.conf_list &#061; results.boxes.conf.tolist()<br \/>\n        self.conf_list &#061; [&#039;%.2f %%&#039; % (each * 100) for each in self.conf_list]<\/p>\n<p>        for loacation, type_id, conf in zip(self.location_list, self.cls_list, self.conf_list):<br \/>\n            type_id &#061; int(type_id)<br \/>\n            color &#061; self.colors(int(type_id), True)<br \/>\n            # cv2.rectangle(now_img, (int(x1), int(y1)), (int(x2), int(y2)), colors(int(type_id), True), 3)<br \/>\n            now_img &#061; tools.drawRectBox(now_img, loacation, Config.CH_names[type_id], self.fontC, color)<\/p>\n<p>        # \u83b7\u53d6\u7f29\u653e\u540e\u7684\u56fe\u7247\u5c3a\u5bf8<br \/>\n        self.img_width, self.img_height &#061; self.get_resize_size(now_img)<br \/>\n        resize_cvimg &#061; cv2.resize(now_img, (self.img_width, self.img_height))<br \/>\n        pix_img &#061; tools.cvimg_to_qpiximg(resize_cvimg)<br \/>\n        self.ui.label_show.setPixmap(pix_img)<br \/>\n        self.ui.label_show.setAlignment(Qt.AlignCenter)<br \/>\n        # \u8bbe\u7f6e\u8def\u5f84\u663e\u793a<br \/>\n        self.ui.PiclineEdit.setText(self.org_path)<\/p>\n<p>        # \u76ee\u6807\u6570\u76ee<br \/>\n        target_nums &#061; len(self.cls_list)<br \/>\n        self.ui.label_nums.setText(str(target_nums))<br \/>\n        if target_nums &gt;&#061; 1:<br \/>\n            self.ui.type_lb.setText(Config.CH_names[self.cls_list[0]])<br \/>\n            self.ui.label_conf.setText(str(self.conf_list[0]))<br \/>\n            self.ui.label_xmin.setText(str(self.location_list[0][0]))<br \/>\n            self.ui.label_ymin.setText(str(self.location_list[0][1]))<br \/>\n            self.ui.label_xmax.setText(str(self.location_list[0][2]))<br \/>\n            self.ui.label_ymax.setText(str(self.location_list[0][3]))<br \/>\n        else:<br \/>\n            self.ui.type_lb.setText(&#039;&#039;)<br \/>\n            self.ui.label_conf.setText(&#039;&#039;)<br \/>\n            self.ui.label_xmin.setText(&#039;&#039;)<br \/>\n            self.ui.label_ymin.setText(&#039;&#039;)<br \/>\n            self.ui.label_xmax.setText(&#039;&#039;)<br \/>\n            self.ui.label_ymax.setText(&#039;&#039;)<\/p>\n<p>        # \u5220\u9664\u8868\u683c\u6240\u6709\u884c<br \/>\n        self.ui.tableWidget.setRowCount(0)<br \/>\n        self.ui.tableWidget.clearContents()<br \/>\n        self.tabel_info_show(self.location_list, self.cls_list, self.conf_list, path&#061;self.org_path)<br \/>\n        return now_img<\/p>\n<p>    def combox_change(self):<br \/>\n        com_text &#061; self.ui.comboBox.currentText()<br \/>\n        if com_text &#061;&#061; &#039;\u5168\u90e8&#039;:<br \/>\n            cur_box &#061; self.location_list<br \/>\n            cur_img &#061; self.results.plot()<br \/>\n            self.ui.type_lb.setText(Config.CH_names[self.cls_list[0]])<br \/>\n            self.ui.label_conf.setText(str(self.conf_list[0]))<br \/>\n        else:<br \/>\n            index &#061; int(com_text.split(&#039;_&#039;)[-1])<br \/>\n            cur_box &#061; [self.location_list[index]]<br \/>\n            cur_img &#061; self.results[index].plot()<br \/>\n            self.ui.type_lb.setText(Config.CH_names[self.cls_list[index]])<br \/>\n            self.ui.label_conf.setText(str(self.conf_list[index]))<\/p>\n<p>        # \u8bbe\u7f6e\u5750\u6807\u4f4d\u7f6e\u503c<br \/>\n        self.ui.label_xmin.setText(str(cur_box[0][0]))<br \/>\n        self.ui.label_ymin.setText(str(cur_box[0][1]))<br \/>\n        self.ui.label_xmax.setText(str(cur_box[0][2]))<br \/>\n        self.ui.label_ymax.setText(str(cur_box[0][3]))<\/p>\n<p>        resize_cvimg &#061; cv2.resize(cur_img, (self.img_width, self.img_height))<br \/>\n        pix_img &#061; tools.cvimg_to_qpiximg(resize_cvimg)<br \/>\n        self.ui.label_show.clear()<br \/>\n        self.ui.label_show.setPixmap(pix_img)<br \/>\n        self.ui.label_show.setAlignment(Qt.AlignCenter)<\/p>\n<p>    def get_video_path(self):<br \/>\n        file_path, _ &#061; QFileDialog.getOpenFileName(None, &#039;\u6253\u5f00\u89c6\u9891&#039;, &#039;.\/&#039;, &#034;Image files (*.avi *.mp4 *.jepg *.png)&#034;)<br \/>\n        if not file_path:<br \/>\n            return None<br \/>\n        self.org_path &#061; file_path<br \/>\n        self.ui.VideolineEdit.setText(file_path)<br \/>\n        return file_path<\/p>\n<p>    def video_start(self):<br \/>\n        # \u5220\u9664\u8868\u683c\u6240\u6709\u884c<br \/>\n        self.ui.tableWidget.setRowCount(0)<br \/>\n        self.ui.tableWidget.clearContents()<\/p>\n<p>        # \u6e05\u7a7a\u4e0b\u62c9\u6846<br \/>\n        self.ui.comboBox.clear()<\/p>\n<p>        # \u5b9a\u65f6\u5668\u5f00\u542f&#xff0c;\u6bcf\u9694\u4e00\u6bb5\u65f6\u95f4&#xff0c;\u8bfb\u53d6\u4e00\u5e27<br \/>\n        self.timer_camera.start(1)<br \/>\n        self.timer_camera.timeout.connect(self.open_frame)<\/p>\n<p>    def tabel_info_show(self, locations, clses, confs, path&#061;None):<br \/>\n        path &#061; path<br \/>\n        for location, cls, conf in zip(locations, clses, confs):<br \/>\n            row_count &#061; self.ui.tableWidget.rowCount()  # \u8fd4\u56de\u5f53\u524d\u884c\u6570(\u5c3e\u90e8)<br \/>\n            self.ui.tableWidget.insertRow(row_count)  # \u5c3e\u90e8\u63d2\u5165\u4e00\u884c<br \/>\n            item_id &#061; QTableWidgetItem(str(row_count&#043;1))  # \u5e8f\u53f7<br \/>\n            item_id.setTextAlignment(Qt.AlignHCenter | Qt.AlignVCenter)  # \u8bbe\u7f6e\u6587\u672c\u5c45\u4e2d<br \/>\n            item_path &#061; QTableWidgetItem(str(path))  # \u8def\u5f84<br \/>\n            # item_path.setTextAlignment(Qt.AlignHCenter | Qt.AlignVCenter)<\/p>\n<p>            item_cls &#061; QTableWidgetItem(str(Config.CH_names[cls]))<br \/>\n            item_cls.setTextAlignment(Qt.AlignHCenter | Qt.AlignVCenter)  # \u8bbe\u7f6e\u6587\u672c\u5c45\u4e2d<\/p>\n<p>            item_conf &#061; QTableWidgetItem(str(conf))<br \/>\n            item_conf.setTextAlignment(Qt.AlignHCenter | Qt.AlignVCenter)  # \u8bbe\u7f6e\u6587\u672c\u5c45\u4e2d<\/p>\n<p>            item_location &#061; QTableWidgetItem(str(location)) # \u76ee\u6807\u6846\u4f4d\u7f6e<br \/>\n            # item_location.setTextAlignment(Qt.AlignHCenter | Qt.AlignVCenter)  # \u8bbe\u7f6e\u6587\u672c\u5c45\u4e2d<\/p>\n<p>            self.ui.tableWidget.setItem(row_count, 0, item_id)<br \/>\n            self.ui.tableWidget.setItem(row_count, 1, item_path)<br \/>\n            self.ui.tableWidget.setItem(row_count, 2, item_cls)<br \/>\n            self.ui.tableWidget.setItem(row_count, 3, item_conf)<br \/>\n            self.ui.tableWidget.setItem(row_count, 4, item_location)<br \/>\n        self.ui.tableWidget.scrollToBottom()<\/p>\n<p>    def video_stop(self):<br \/>\n        self.cap.release()<br \/>\n        self.timer_camera.stop()<br \/>\n        # self.timer_info.stop()<\/p>\n<p>    def open_frame(self):<br \/>\n        ret, now_img &#061; self.cap.read()<br \/>\n        if ret:<br \/>\n            # \u76ee\u6807\u68c0\u6d4b<br \/>\n            t1 &#061; time.time()<br \/>\n            results &#061; self.model(now_img)[0]<br \/>\n            t2 &#061; time.time()<br \/>\n            take_time_str &#061; &#039;{:.3f} s&#039;.format(t2 &#8211; t1)<br \/>\n            self.ui.time_lb.setText(take_time_str)<\/p>\n<p>            location_list &#061; results.boxes.xyxy.tolist()<br \/>\n            self.location_list &#061; [list(map(int, e)) for e in location_list]<br \/>\n            cls_list &#061; results.boxes.cls.tolist()<br \/>\n            self.cls_list &#061; [int(i) for i in cls_list]<br \/>\n            self.conf_list &#061; results.boxes.conf.tolist()<br \/>\n            self.conf_list &#061; [&#039;%.2f %%&#039; % (each * 100) for each in self.conf_list]<\/p>\n<p>            total_nums &#061; len(location_list)<br \/>\n            cls_percents &#061; []<br \/>\n            for i in range(1):<br \/>\n                if total_nums!&#061; 0 :<br \/>\n                    res &#061; self.cls_list.count(i) \/ total_nums<br \/>\n                else :<br \/>\n                    res&#061;0<br \/>\n                cls_percents.append(res)<br \/>\n            self.set_percent(cls_percents)<\/p>\n<p>            now_img &#061; results.plot()<\/p>\n<p>            # \u83b7\u53d6\u7f29\u653e\u540e\u7684\u56fe\u7247\u5c3a\u5bf8<br \/>\n            self.img_width, self.img_height &#061; self.get_resize_size(now_img)<br \/>\n            resize_cvimg &#061; cv2.resize(now_img, (self.img_width, self.img_height))<br \/>\n            pix_img &#061; tools.cvimg_to_qpiximg(resize_cvimg)<br \/>\n            self.ui.label_show.setPixmap(pix_img)<br \/>\n            self.ui.label_show.setAlignment(Qt.AlignCenter)<\/p>\n<p>            # \u76ee\u6807\u6570\u76ee<br \/>\n            target_nums &#061; len(self.cls_list)<br \/>\n            self.ui.label_nums.setText(str(target_nums))<\/p>\n<p>            # \u8bbe\u7f6e\u76ee\u6807\u9009\u62e9\u4e0b\u62c9\u6846<br \/>\n            choose_list &#061; [&#039;\u5168\u90e8&#039;]<br \/>\n            target_names &#061; [Config.names[id] &#043; &#039;_&#039; &#043; str(index) for index, id in enumerate(self.cls_list)]<\/p>\n<p>            choose_list &#061; choose_list &#043; target_names<\/p>\n<p>            self.ui.comboBox.clear()<br \/>\n            self.ui.comboBox.addItems(choose_list)<\/p>\n<p>            if target_nums &gt;&#061; 1:<br \/>\n                self.ui.type_lb.setText(Config.CH_names[self.cls_list[0]])<br \/>\n                self.ui.label_conf.setText(str(self.conf_list[0]))<br \/>\n                self.ui.label_xmin.setText(str(self.location_list[0][0]))<br \/>\n                self.ui.label_ymin.setText(str(self.location_list[0][1]))<br \/>\n                self.ui.label_xmax.setText(str(self.location_list[0][2]))<br \/>\n                self.ui.label_ymax.setText(str(self.location_list[0][3]))<br \/>\n            else:<br \/>\n                self.ui.type_lb.setText(&#039;&#039;)<br \/>\n                self.ui.label_conf.setText(&#039;&#039;)<br \/>\n                self.ui.label_xmin.setText(&#039;&#039;)<br \/>\n                self.ui.label_ymin.setText(&#039;&#039;)<br \/>\n                self.ui.label_xmax.setText(&#039;&#039;)<br \/>\n                self.ui.label_ymax.setText(&#039;&#039;)<\/p>\n<p>            self.tabel_info_show(self.location_list, self.cls_list, self.conf_list, path&#061;self.org_path)<\/p>\n<p>        else:<br \/>\n            self.cap.release()<br \/>\n            self.timer_camera.stop()<\/p>\n<p>    def vedio_show(self):<br \/>\n        if self.is_camera_open:<br \/>\n            self.is_camera_open &#061; False<br \/>\n            self.ui.CaplineEdit.setText(&#039;\u6444\u50cf\u5934\u672a\u5f00\u542f&#039;)<\/p>\n<p>        video_path &#061; self.get_video_path()<br \/>\n        if not video_path:<br \/>\n            return None<br \/>\n        self.cap &#061; cv2.VideoCapture(video_path)<br \/>\n        self.video_start()<br \/>\n        self.ui.comboBox.setDisabled(True)<\/p>\n<p>    def camera_show(self):<br \/>\n        self.is_camera_open &#061; not self.is_camera_open<br \/>\n        if self.is_camera_open:<br \/>\n            self.ui.CaplineEdit.setText(&#039;\u6444\u50cf\u5934\u5f00\u542f&#039;)<br \/>\n            self.cap &#061; cv2.VideoCapture(0)<br \/>\n            self.video_start()<br \/>\n            self.ui.comboBox.setDisabled(True)<br \/>\n        else:<br \/>\n            self.ui.CaplineEdit.setText(&#039;\u6444\u50cf\u5934\u672a\u5f00\u542f&#039;)<br \/>\n            self.ui.label_show.setText(&#039;&#039;)<br \/>\n            if self.cap:<br \/>\n                self.cap.release()<br \/>\n                cv2.destroyAllWindows()<br \/>\n            self.ui.label_show.clear()<\/p>\n<p>    def get_resize_size(self, img):<br \/>\n        _img &#061; img.copy()<br \/>\n        img_height, img_width , depth&#061; _img.shape<br \/>\n        ratio &#061; img_width \/ img_height<br \/>\n        if ratio &gt;&#061; self.show_width \/ self.show_height:<br \/>\n            self.img_width &#061; self.show_width<br \/>\n            self.img_height &#061; int(self.img_width \/ ratio)<br \/>\n        else:<br \/>\n            self.img_height &#061; self.show_height<br \/>\n            self.img_width &#061; int(self.img_height * ratio)<br \/>\n        return self.img_width, self.img_height<\/p>\n<p>    def save_detect_video(self):<br \/>\n        if self.cap is None and not self.org_path:<br \/>\n            QMessageBox.about(self, &#039;\u63d0\u793a&#039;, &#039;\u5f53\u524d\u6ca1\u6709\u53ef\u4fdd\u5b58\u4fe1\u606f&#xff0c;\u8bf7\u5148\u6253\u5f00\u56fe\u7247\u6216\u89c6\u9891&#xff01;&#039;)<br \/>\n            return<\/p>\n<p>        if self.is_camera_open:<br \/>\n            QMessageBox.about(self, &#039;\u63d0\u793a&#039;, &#039;\u6444\u50cf\u5934\u89c6\u9891\u65e0\u6cd5\u4fdd\u5b58!&#039;)<br \/>\n            return<\/p>\n<p>        if self.cap:<br \/>\n            res &#061; QMessageBox.information(self, &#039;\u63d0\u793a&#039;, &#039;\u4fdd\u5b58\u89c6\u9891\u68c0\u6d4b\u7ed3\u679c\u53ef\u80fd\u9700\u8981\u8f83\u957f\u65f6\u95f4&#xff0c;\u8bf7\u786e\u8ba4\u662f\u5426\u7ee7\u7eed\u4fdd\u5b58&#xff1f;&#039;,QMessageBox.Yes | QMessageBox.No ,  QMessageBox.Yes)<br \/>\n            if res &#061;&#061; QMessageBox.Yes:<br \/>\n                self.video_stop()<br \/>\n                com_text &#061; self.ui.comboBox.currentText()<br \/>\n                self.btn2Thread_object &#061; btn2Thread(self.org_path, self.model, com_text)<br \/>\n                self.btn2Thread_object.start()<br \/>\n                self.btn2Thread_object.update_ui_signal.connect(self.update_process_bar)<br \/>\n            else:<br \/>\n                return<br \/>\n        else:<br \/>\n            if os.path.isfile(self.org_path):<br \/>\n                fileName &#061; os.path.basename(self.org_path)<br \/>\n                name , end_name&#061; fileName.rsplit(&#034;.&#034;,1)<br \/>\n                save_name &#061; name &#043; &#039;_detect_result.&#039; &#043; end_name<br \/>\n                save_img_path &#061; os.path.join(Config.save_path, save_name)<br \/>\n                # \u4fdd\u5b58\u56fe\u7247<br \/>\n                cv2.imwrite(save_img_path, self.draw_img)<br \/>\n                QMessageBox.about(self, &#039;\u63d0\u793a&#039;, &#039;\u56fe\u7247\u4fdd\u5b58\u6210\u529f!\\\\n\u6587\u4ef6\u8def\u5f84:{}&#039;.format(save_img_path))<br \/>\n            else:<br \/>\n                img_suffix &#061; [&#039;jpg&#039;, &#039;png&#039;, &#039;jpeg&#039;, &#039;bmp&#039;]<br \/>\n                for file_name in os.listdir(self.org_path):<br \/>\n                    full_path &#061; os.path.join(self.org_path, file_name)<br \/>\n                    if os.path.isfile(full_path) and file_name.split(&#039;.&#039;)[-1].lower() in img_suffix:<br \/>\n                        name, end_name &#061; file_name.rsplit(&#034;.&#034;,1)<br \/>\n                        save_name &#061; name &#043; &#039;_detect_result.&#039; &#043; end_name<br \/>\n                        save_img_path &#061; os.path.join(Config.save_path, save_name)<br \/>\n                        results &#061; self.model(full_path)[0]<br \/>\n                        now_img &#061; results.plot()<br \/>\n                        # \u4fdd\u5b58\u56fe\u7247<br \/>\n                        cv2.imwrite(save_img_path, now_img)<\/p>\n<p>                QMessageBox.about(self, &#039;\u63d0\u793a&#039;, &#039;\u56fe\u7247\u4fdd\u5b58\u6210\u529f!\\\\n\u6587\u4ef6\u8def\u5f84:{}&#039;.format(Config.save_path))<\/p>\n<p>    def update_process_bar(self,cur_num, total):<br \/>\n        if cur_num &#061;&#061; 1:<br \/>\n            self.progress_bar &#061; ProgressBar(self)<br \/>\n            self.progress_bar.show()<br \/>\n        if cur_num &gt;&#061; total:<br \/>\n            self.progress_bar.close()<br \/>\n            QMessageBox.about(self, &#039;\u63d0\u793a&#039;, &#039;\u89c6\u9891\u4fdd\u5b58\u6210\u529f!\\\\n\u6587\u4ef6\u5728{}\u76ee\u5f55\u4e0b&#039;.format(Config.save_path))<br \/>\n            return<br \/>\n        if self.progress_bar.isVisible() is False:<br \/>\n            # \u70b9\u51fb\u53d6\u6d88\u4fdd\u5b58\u65f6&#xff0c;\u7ec8\u6b62\u8fdb\u7a0b<br \/>\n            self.btn2Thread_object.stop()<br \/>\n            return<br \/>\n        value &#061; int(cur_num \/ total *100)<br \/>\n        self.progress_bar.setValue(cur_num, total, value)<br \/>\n        QApplication.processEvents()<\/p>\n<p>    def set_percent(self, probs):<br \/>\n        pass<\/p>\n<p>class btn2Thread(QThread):<br \/>\n    update_ui_signal &#061; pyqtSignal(int,int)<\/p>\n<p>    def __init__(self, path, model, com_text):<br \/>\n        super(btn2Thread, self).__init__()<br \/>\n        self.org_path &#061; path<br \/>\n        self.model &#061; model<br \/>\n        self.com_text &#061; com_text<br \/>\n        # \u7528\u4e8e\u7ed8\u5236\u4e0d\u540c\u989c\u8272\u77e9\u5f62\u6846<br \/>\n        self.colors &#061; tools.Colors()<br \/>\n        self.is_running &#061; True  # \u6807\u5fd7\u4f4d&#xff0c;\u8868\u793a\u7ebf\u7a0b\u662f\u5426\u6b63\u5728\u8fd0\u884c<\/p>\n<p>    def run(self):<br \/>\n        # VideoCapture\u65b9\u6cd5\u662fcv2\u5e93\u63d0\u4f9b\u7684\u8bfb\u53d6\u89c6\u9891\u65b9\u6cd5<br \/>\n        cap &#061; cv2.VideoCapture(self.org_path)<br \/>\n        # \u8bbe\u7f6e\u9700\u8981\u4fdd\u5b58\u89c6\u9891\u7684\u683c\u5f0f\u201cxvid\u201d<br \/>\n        # \u8be5\u53c2\u6570\u662fMPEG-4\u7f16\u7801\u7c7b\u578b&#xff0c;\u6587\u4ef6\u540d\u540e\u7f00\u4e3a.avi<br \/>\n        fourcc &#061; cv2.VideoWriter_fourcc(*&#039;XVID&#039;)<br \/>\n        # \u8bbe\u7f6e\u89c6\u9891\u5e27\u9891<br \/>\n        fps &#061; cap.get(cv2.CAP_PROP_FPS)<br \/>\n        # \u8bbe\u7f6e\u89c6\u9891\u5927\u5c0f<br \/>\n        size &#061; (int(cap.get(cv2.CAP_PROP_FRAME_WIDTH)), int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT)))<br \/>\n        # VideoWriter\u65b9\u6cd5\u662fcv2\u5e93\u63d0\u4f9b\u7684\u4fdd\u5b58\u89c6\u9891\u65b9\u6cd5<br \/>\n        # \u6309\u7167\u8bbe\u7f6e\u7684\u683c\u5f0f\u6765out\u8f93\u51fa<br \/>\n        fileName &#061; os.path.basename(self.org_path)<br \/>\n        name, end_name &#061; fileName.split(&#039;.&#039;)<br \/>\n        save_name &#061; name &#043; &#039;_detect_result.avi&#039;<br \/>\n        save_video_path &#061; os.path.join(Config.save_path, save_name)<br \/>\n        out &#061; cv2.VideoWriter(save_video_path, fourcc, fps, size)<\/p>\n<p>        prop &#061; cv2.CAP_PROP_FRAME_COUNT<br \/>\n        total &#061; int(cap.get(prop))<br \/>\n        print(&#034;[INFO] \u89c6\u9891\u603b\u5e27\u6570&#xff1a;{}&#034;.format(total))<br \/>\n        cur_num &#061; 0<\/p>\n<p>        # \u786e\u5b9a\u89c6\u9891\u6253\u5f00\u5e76\u5faa\u73af\u8bfb\u53d6<br \/>\n        while (cap.isOpened() and self.is_running):<br \/>\n            cur_num &#043;&#061; 1<br \/>\n            print(&#039;\u5f53\u524d\u7b2c{}\u5e27&#xff0c;\u603b\u5e27\u6570{}&#039;.format(cur_num, total))<\/p>\n<p>            ret, frame &#061; cap.read()<br \/>\n            if ret &#061;&#061; True:<br \/>\n                # \u68c0\u6d4b<br \/>\n                results &#061; self.model(frame)[0]<br \/>\n                frame &#061; results.plot()<br \/>\n                out.write(frame)<br \/>\n                self.update_ui_signal.emit(cur_num, total)<br \/>\n            else:<br \/>\n                break<br \/>\n        # \u91ca\u653e\u8d44\u6e90<br \/>\n        cap.release()<br \/>\n        out.release()<\/p>\n<p>    def stop(self):<br \/>\n        self.is_running &#061; False<\/p>\n<p>if __name__ &#061;&#061; &#034;__main__&#034;:<br \/>\n    app &#061; QApplication(sys.argv)<br \/>\n    win &#061; MainWindow()<br \/>\n    win.show()<br \/>\n    sys.exit(app.exec_())<\/p>\n<h3 id=\"%E4%B8%83%E3%80%81%E9%A1%B9%E7%9B%AE%E6%BA%90%E7%A0%81%E4%B8%8B%E8%BD%BD%E9%93%BE%E6%8E%A5\">\u4e03\u3001\u9879\u76ee<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"784\" src=\"2026-02-24wxnpolietdi.png\" width=\"750\" \/><\/p>\n<p>\u6f14\u793a\u4e0e\u4ecb\u7ecd\u89c6\u9891&#xff1a;<\/p>\n<p><span>\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf&#xff08;YOLOv10&#043;YOLO\u6570\u636e\u96c6&#043;UI\u754c\u9762&#043;Python\u9879\u76ee\u6e90\u7801&#043;\u6a21\u578b&#xff09;_\u54d4\u54e9\u54d4\u54e9_bilibili<\/span><\/p>\n<p>\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf&#xff08;YOLOv10&#043;YOLO\u6570\u636e\u96c6&#043;UI\u754c\u9762&#043;Python\u9879\u76ee\u6e90\u7801&#043;\u6a21\u578b&#xff09;<\/p>\n<\/p>\n<\/p>\n<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9879\u76ee\u6e90\u7801\u6570\u636e\u96c6\u8bad\u7ec3\u6a21\u578b \u8bf7\u8ba2\u9605\u4e13\u680f\u83b7\u53d6&#xff08;\u8ba2\u9605\u540e\u79c1\u4fe1\u8ba2\u9605\u622a\u56fe\u548c\u90ae\u7bb1&#xff09;&#xff1a;<br \/>\nYOLO&#xff08;\u8ba2\u9605\u4ed8\u8d39\u4e13\u680f\u622a\u56fe\u79c1\u4fe1&#xff09;_\u658c\u64ce\u79d1\u6280\u7684\u535a\u5ba2-CSDN\u535a\u5ba2<br \/>\nYOLO&#xff08;\u8ba2\u9605\u4ed8\u8d39\u4e13\u680f\u622a\u56fe\u79c1\u4fe1&#xff09;_\u658c\u64ce\u79d1\u6280\u7684\u535a\u5ba2-CSDN\u535a\u5ba2https:\/\/lyb592.blog.csdn.net\/category_13131821_2.htmlhttps:\/\/lyb592.blog.csdn.net\/category_<\/p>\n","protected":false},"author":2,"featured_media":77320,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8491,8490,81,156,50,3267,86],"topic":[],"class_list":["post-77340","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-8491","tag-8490","tag-python","tag-yolo","tag-50","tag-3267","tag-86"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv10+YOLO\u6570\u636e\u96c6+UI\u754c\u9762+Python\u9879\u76ee\u6e90\u7801+\u6a21\u578b\uff09 - \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\/77340.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv10+YOLO\u6570\u636e\u96c6+UI\u754c\u9762+Python\u9879\u76ee\u6e90\u7801+\u6a21\u578b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u9879\u76ee\u6e90\u7801\u6570\u636e\u96c6\u8bad\u7ec3\u6a21\u578b \u8bf7\u8ba2\u9605\u4e13\u680f\u83b7\u53d6&#xff08;\u8ba2\u9605\u540e\u79c1\u4fe1\u8ba2\u9605\u622a\u56fe\u548c\u90ae\u7bb1&#xff09;&#xff1a; YOLO&#xff08;\u8ba2\u9605\u4ed8\u8d39\u4e13\u680f\u622a\u56fe\u79c1\u4fe1&#xff09;_\u658c\u64ce\u79d1\u6280\u7684\u535a\u5ba2-CSDN\u535a\u5ba2 YOLO&#xff08;\u8ba2\u9605\u4ed8\u8d39\u4e13\u680f\u622a\u56fe\u79c1\u4fe1&#xff09;_\u658c\u64ce\u79d1\u6280\u7684\u535a\u5ba2-CSDN\u535a\u5ba2https:\/\/lyb592.blog.csdn.net\/category_13131821_2.htmlhttps:\/\/lyb592.blog.csdn.net\/category_\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/77340.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-24T05:06:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050601-699d31b9c53df.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=\"16 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/77340.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/77340.html\",\"name\":\"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv10+YOLO\u6570\u636e\u96c6+UI\u754c\u9762+Python\u9879\u76ee\u6e90\u7801+\u6a21\u578b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-24T05:06:15+00:00\",\"dateModified\":\"2026-02-24T05:06:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/77340.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/77340.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/77340.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv10+YOLO\u6570\u636e\u96c6+UI\u754c\u9762+Python\u9879\u76ee\u6e90\u7801+\u6a21\u578b\uff09\"}]},{\"@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":"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv10+YOLO\u6570\u636e\u96c6+UI\u754c\u9762+Python\u9879\u76ee\u6e90\u7801+\u6a21\u578b\uff09 - \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\/77340.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv10+YOLO\u6570\u636e\u96c6+UI\u754c\u9762+Python\u9879\u76ee\u6e90\u7801+\u6a21\u578b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u9879\u76ee\u6e90\u7801\u6570\u636e\u96c6\u8bad\u7ec3\u6a21\u578b \u8bf7\u8ba2\u9605\u4e13\u680f\u83b7\u53d6&#xff08;\u8ba2\u9605\u540e\u79c1\u4fe1\u8ba2\u9605\u622a\u56fe\u548c\u90ae\u7bb1&#xff09;&#xff1a; YOLO&#xff08;\u8ba2\u9605\u4ed8\u8d39\u4e13\u680f\u622a\u56fe\u79c1\u4fe1&#xff09;_\u658c\u64ce\u79d1\u6280\u7684\u535a\u5ba2-CSDN\u535a\u5ba2 YOLO&#xff08;\u8ba2\u9605\u4ed8\u8d39\u4e13\u680f\u622a\u56fe\u79c1\u4fe1&#xff09;_\u658c\u64ce\u79d1\u6280\u7684\u535a\u5ba2-CSDN\u535a\u5ba2https:\/\/lyb592.blog.csdn.net\/category_13131821_2.htmlhttps:\/\/lyb592.blog.csdn.net\/category_","og_url":"https:\/\/www.wsisp.com\/helps\/77340.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-24T05:06:15+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260224050601-699d31b9c53df.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"16 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/77340.html","url":"https:\/\/www.wsisp.com\/helps\/77340.html","name":"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv10+YOLO\u6570\u636e\u96c6+UI\u754c\u9762+Python\u9879\u76ee\u6e90\u7801+\u6a21\u578b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-24T05:06:15+00:00","dateModified":"2026-02-24T05:06:15+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/77340.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/77340.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/77340.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60\u7684\u65e0\u4eba\u673a\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv10+YOLO\u6570\u636e\u96c6+UI\u754c\u9762+Python\u9879\u76ee\u6e90\u7801+\u6a21\u578b\uff09"}]},{"@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\/77340","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=77340"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/77340\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/77320"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=77340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=77340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=77340"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=77340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}