{"id":76614,"date":"2026-02-22T22:18:05","date_gmt":"2026-02-22T14:18:05","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/76614.html"},"modified":"2026-02-22T22:18:05","modified_gmt":"2026-02-22T14:18:05","slug":"%e5%9f%ba%e4%ba%8e%e6%b7%b1%e5%ba%a6%e5%ad%a6%e4%b9%a0yolov8%e7%9a%84%e7%99%bd%e7%bb%86%e8%83%9e%e7%b1%bb%e5%9e%8b%e6%a3%80%e6%b5%8b%e7%b3%bb%e7%bb%9f%ef%bc%88yolov8yolo%e6%95%b0%e6%8d%ae%e9%9b%86ui","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/76614.html","title":{"rendered":"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv8+YOLO\u6570\u636e\u96c6+UI\u754c\u9762+Python\u9879\u76ee\u6e90\u7801+\u6a21\u578b\uff09"},"content":{"rendered":"<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>\u672c\u9879\u76ee\u57fa\u4e8eYOLOv8\u76ee\u6807\u68c0\u6d4b\u7b97\u6cd5\u6784\u5efa\u4e86\u4e00\u4e2a\u4e13\u4e1a\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u8bc6\u522b\u7cfb\u7edf&#xff0c;\u65e8\u5728\u5b9e\u73b0\u8840\u6db2\u663e\u5fae\u56fe\u50cf\u4e2d\u4e94\u7c7b\u767d\u7ec6\u80de\u7684\u81ea\u52a8\u5316\u68c0\u6d4b\u4e0e\u5206\u7c7b\u3002\u7cfb\u7edf\u4ee5YOLOv8\u6a21\u578b\u4e3a\u6838\u5fc3\u67b6\u6784&#xff0c;\u8bbe\u5b9anc&#xff08;\u7c7b\u522b\u6570&#xff09;\u53c2\u6570\u4e3a5&#xff0c;\u5bf9\u5e94\u8bc6\u522b\u55dc\u78b1\u6027\u7c92\u7ec6\u80de&#xff08;Basophil&#xff09;\u3001\u55dc\u9178\u6027\u7c92\u7ec6\u80de&#xff08;Eosinophil&#xff09;\u3001\u6dcb\u5df4\u7ec6\u80de&#xff08;Lymphocyte&#xff09;\u3001\u5355\u6838\u7ec6\u80de&#xff08;Monocyte&#xff09;\u548c\u4e2d\u6027\u7c92\u7ec6\u80de&#xff08;Neutrophil&#xff09;\u8fd9\u4e9b\u5173\u952e\u767d\u7ec6\u80de\u7c7b\u578b\u3002\u9879\u76ee\u901a\u8fc7\u6df1\u5ea6\u5b66\u4e60\u6280\u672f\u4f18\u5316\u68c0\u6d4b\u7cbe\u5ea6\u4e0e\u63a8\u7406\u901f\u5ea6&#xff0c;\u53ef\u5e94\u7528\u4e8e\u533b\u7597\u8f85\u52a9\u8bca\u65ad\u573a\u666f&#xff0c;\u4e3a\u8840\u6db2\u75c5\u7406\u5206\u6790\u63d0\u4f9b\u81ea\u52a8\u5316\u5de5\u5177&#xff0c;\u663e\u8457\u63d0\u5347\u7ec6\u80de\u8bc6\u522b\u7684\u6807\u51c6\u5316\u6c34\u5e73\u548c\u6548\u7387\u3002<\/p>\n<h4 id=\"%E6%95%B0%E6%8D%AE%E9%9B%86%E4%BB%8B%E7%BB%8D\">\u6570\u636e\u96c6\u4ecb\u7ecd<\/h4>\n<p>\u672c\u9879\u76ee\u91c7\u7528\u4e13\u95e8\u6536\u96c6\u548c\u6807\u6ce8\u7684\u767d\u7ec6\u80de\u663e\u5fae\u56fe\u50cf\u6570\u636e\u96c6&#xff0c;\u603b\u8ba1\u5305\u542b9900\u5f20\u6837\u672c\u56fe\u50cf&#xff0c;\u6309\u7ea67:3\u7684\u6bd4\u4f8b\u5212\u5206\u4e3a\u8bad\u7ec3\u96c6&#xff08;6930\u5f20&#xff09;\u548c\u9a8c\u8bc1\u96c6&#xff08;2970\u5f20&#xff09;\u3002\u6bcf\u5f20\u56fe\u50cf\u5747\u5305\u542b\u7cbe\u7ec6\u6807\u6ce8\u7684\u8fb9\u754c\u6846\u53ca\u7c7b\u522b\u6807\u7b7e&#xff0c;\u8986\u76d6\u4e0a\u8ff0\u4e94\u7c7b\u767d\u7ec6\u80de\u3002\u6570\u636e\u96c6\u6ce8\u91cd\u591a\u6837\u6027\u548c\u4ee3\u8868\u6027&#xff0c;\u6db5\u76d6\u4e0d\u540c\u67d3\u8272\u6761\u4ef6\u3001\u7ec6\u80de\u5f62\u6001\u548c\u663e\u5fae\u6210\u50cf\u89d2\u5ea6&#xff0c;\u4ee5\u786e\u4fdd\u6a21\u578b\u6cdb\u5316\u80fd\u529b\u3002\u8bad\u7ec3\u96c6\u7528\u4e8e\u6a21\u578b\u53c2\u6570\u5b66\u4e60&#xff0c;\u9a8c\u8bc1\u96c6\u7528\u4e8e\u8d85\u53c2\u6570\u8c03\u4f18\u548c\u6027\u80fd\u8bc4\u4f30&#xff0c;\u8be5\u6570\u636e\u89c4\u6a21\u548c\u8d28\u91cf\u4e3a\u6a21\u578b\u5b9e\u73b0\u9ad8\u7cbe\u5ea6\u5206\u7c7b\u63d0\u4f9b\u4e86\u53ef\u9760\u7684\u57fa\u7840\u3002<\/p>\n<\/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=\"%E6%95%B0%E6%8D%AE%E9%9B%86%E4%BB%8B%E7%BB%8D-toc\" style=\"margin-left:80px\">\u6570\u636e\u96c6\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=\"%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%95%B0%E6%8D%AE%E9%9B%86%E6%A6%82%E8%BF%B0-toc\" style=\"margin-left:80px\">\u6570\u636e\u96c6\u6982\u8ff0<\/p>\n<p id=\"%E6%95%B0%E6%8D%AE%E9%9B%86%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6-toc\" style=\"margin-left:80px\">\u6570\u636e\u96c6\u914d\u7f6e\u6587\u4ef6<\/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\u200b\u7f16\u8f91<\/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\u6e90\u7801(\u89c6\u9891\u7b80\u4ecb\u5185)<\/p>\n<hr id=\"hr-toc\" \/>\n<\/p>\n<p><span>\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf&#xff08;YOLOv8&#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\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf&#xff08;YOLOv8&#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<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\u56fe\u7247\u8fdb\u884c\u68c0\u6d4b&#xff0c;\u8fd4\u56de\u68c0\u6d4b\u6846\u53ca\u7c7b\u522b\u4fe1\u606f\u3002<\/p>\n<p>\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<\/p>\n<p>\u2705 \u6444\u50cf\u5934\u5b9e\u65f6\u68c0\u6d4b&#xff1a;\u8fde\u63a5USB \u6444\u50cf\u5934&#xff0c;\u5b9e\u73b0\u5b9e\u65f6\u76d1\u6d4b\u3002<\/p>\n<p>\u2705\u53c2\u6570\u5b9e\u65f6\u8c03\u8282&#xff08;\u7f6e\u4fe1\u5ea6\u548cIoU\u9608\u503c&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1296\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141752-699b101057e76.png\" width=\"2652\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"888\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141754-699b101233227.png\" width=\"1202\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"888\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141754-699b1012ada0a.png\" width=\"1202\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"888\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141755-699b101333bf3.png\" width=\"1202\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"888\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141755-699b1013b18df.png\" width=\"1202\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"888\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141756-699b101437938.png\" width=\"1202\" \/><\/p>\n<\/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<\/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<h4 id=\"%E6%95%B0%E6%8D%AE%E9%9B%86%E6%A6%82%E8%BF%B0\">\u6570\u636e\u96c6\u6982\u8ff0<\/h4>\n<p>\u672c\u9879\u76ee\u91c7\u7528\u4e13\u95e8\u6536\u96c6\u548c\u6807\u6ce8\u7684\u767d\u7ec6\u80de\u663e\u5fae\u56fe\u50cf\u6570\u636e\u96c6&#xff0c;\u603b\u8ba1\u5305\u542b9900\u5f20\u6837\u672c\u56fe\u50cf&#xff0c;\u6309\u7ea67:3\u7684\u6bd4\u4f8b\u5212\u5206\u4e3a\u8bad\u7ec3\u96c6&#xff08;6930\u5f20&#xff09;\u548c\u9a8c\u8bc1\u96c6&#xff08;2970\u5f20&#xff09;\u3002\u6bcf\u5f20\u56fe\u50cf\u5747\u5305\u542b\u7cbe\u7ec6\u6807\u6ce8\u7684\u8fb9\u754c\u6846\u53ca\u7c7b\u522b\u6807\u7b7e&#xff0c;\u8986\u76d6\u4e0a\u8ff0\u4e94\u7c7b\u767d\u7ec6\u80de\u3002\u6570\u636e\u96c6\u6ce8\u91cd\u591a\u6837\u6027\u548c\u4ee3\u8868\u6027&#xff0c;\u6db5\u76d6\u4e0d\u540c\u67d3\u8272\u6761\u4ef6\u3001\u7ec6\u80de\u5f62\u6001\u548c\u663e\u5fae\u6210\u50cf\u89d2\u5ea6&#xff0c;\u4ee5\u786e\u4fdd\u6a21\u578b\u6cdb\u5316\u80fd\u529b\u3002\u8bad\u7ec3\u96c6\u7528\u4e8e\u6a21\u578b\u53c2\u6570\u5b66\u4e60&#xff0c;\u9a8c\u8bc1\u96c6\u7528\u4e8e\u8d85\u53c2\u6570\u8c03\u4f18\u548c\u6027\u80fd\u8bc4\u4f30&#xff0c;\u8be5\u6570\u636e\u89c4\u6a21\u548c\u8d28\u91cf\u4e3a\u6a21\u578b\u5b9e\u73b0\u9ad8\u7cbe\u5ea6\u5206\u7c7b\u63d0\u4f9b\u4e86\u53ef\u9760\u7684\u57fa\u7840\u3002<\/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%B6\">\u6570\u636e\u96c6\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u6570\u636e\u96c6\u91c7\u7528YOLO\u683c\u5f0f\u7684\u914d\u7f6e\u6587\u4ef6&#xff0c;\u4e3b\u8981\u5305\u542b\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p>train: ..\\\\images\\\\train<br \/>\nval: ..\\\\images\\\\val<br \/>\ntest:<\/p>\n<p>nc: 5<br \/>\nnames: [&#039;Basophil&#039;, &#039;Eosinophil&#039;, &#039;Lymphocyte&#039;, &#039;Monocyte&#039;, &#039;Neutrophil&#039;] <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"713\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141756-699b1014b0278.png\" width=\"1246\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"700\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141757-699b10153a81d.png\" width=\"731\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"161\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141757-699b10155a7af.png\" width=\"527\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1600\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141757-699b10156bfda.jpg\" width=\"1600\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"2000\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141758-699b101651233.jpg\" width=\"2000\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141759-699b101761d04.jpg\" width=\"1920\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141800-699b10188e00b.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 yolov8 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\/20260222141801-699b1019957f2.png\" width=\"979\" \/><\/p>\n<\/p>\n<p>\u6fc0\u6d3b\u865a\u62df\u73af\u5883<\/p>\n<p>conda activate yolov8 \u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"90\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141802-699b101a12ef7.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\/20260222141802-699b101a22eb2.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\/20260222141802-699b101a5424c.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\/20260222141803-699b101b0f035.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\/20260222141803-699b101b3f367.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 YOLO<\/p>\n<p>model_path &#061; &#039;yolov8s.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; YOLO(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 \/>\nyolov8n.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 \/>\nyolov8s.yaml (small)&#xff1a;\u5c0f\u6a21\u578b&#xff0c;\u9002\u5408\u5b9e\u65f6\u4efb\u52a1\u3002<br \/>\nyolov8m.yaml (medium)&#xff1a;\u4e2d\u7b49\u5927\u5c0f\u6a21\u578b&#xff0c;\u517c\u987e\u901f\u5ea6\u548c\u7cbe\u5ea6\u3002<br \/>\nyolov8b.yaml (base)&#xff1a;\u57fa\u672c\u7248\u6a21\u578b&#xff0c;\u9002\u5408\u5927\u90e8\u5206\u5e94\u7528\u573a\u666f\u3002<br \/>\nyolov8l.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 yolov8s.pt&#xff1a;\u521d\u59cb\u5316\u6a21\u578b\u6743\u91cd&#xff0c;yolov8s.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=\"769\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141803-699b101bb4d05.png\" width=\"1266\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1500\" src=\"2026-02-221lbudqxitrs.png\" width=\"2250\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1200\" src=\"2026-02-22xqgxkwvud2q.png\" width=\"2400\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1500\" src=\"2026-02-22hfmdihuk5xv.png\" width=\"2250\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"2250\" src=\"2026-02-22u5x2oubc3ju.png\" width=\"3000\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"2250\" src=\"2026-02-22g3ndzczyzjw.png\" width=\"3000\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1500\" src=\"2026-02-22f1snx3gojj0.png\" width=\"2250\" \/><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1500\" src=\"2026-02-224qmw2ulu0la.png\" width=\"2250\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"2026-02-22ns0qiwoduzu.jpg\" width=\"1920\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"2026-02-22tsvgvqjyjbc.jpg\" width=\"1920\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"2026-02-22bnzbnh5kxii.jpg\" width=\"1920\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1920\" src=\"2026-02-22uyjmgnn5k13.jpg\" width=\"1920\" \/><\/p>\n<\/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<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"864\" src=\"2026-02-22ugxtjmmggbx.png\" width=\"1375\" \/><\/h3>\n<p>from PyQt5 import QtCore, QtGui, QtWidgets<br \/>\nfrom PyQt5.QtCore import Qt, QTimer<br \/>\nfrom PyQt5.QtGui import QImage, QPixmap, QIcon<br \/>\nfrom PyQt5.QtWidgets import (QFileDialog, QMessageBox, QTableWidgetItem,<br \/>\n                             QStyledItemDelegate, QHeaderView)<br \/>\nimport cv2<br \/>\nimport numpy as np<br \/>\nfrom ultralytics import YOLO<br \/>\nimport os<br \/>\nimport datetime<br \/>\nimport sys<\/p>\n<p>class CenteredDelegate(QStyledItemDelegate):<br \/>\n    def initStyleOption(self, option, index):<br \/>\n        super().initStyleOption(option, index)<br \/>\n        option.displayAlignment &#061; Qt.AlignCenter<\/p>\n<p>class Ui_MainWindow(object):<br \/>\n    def setupUi(self, MainWindow):<br \/>\n        MainWindow.setObjectName(&#034;MainWindow&#034;)<br \/>\n        MainWindow.resize(1400, 900)<br \/>\n        MainWindow.setWindowTitle(&#034;YOLOv8 \u76ee\u6807\u68c0\u6d4b\u7cfb\u7edf&#034;)<\/p>\n<p>        # \u8bbe\u7f6e\u7a97\u53e3\u56fe\u6807<br \/>\n        if hasattr(sys, &#039;_MEIPASS&#039;):<br \/>\n            icon_path &#061; os.path.join(sys._MEIPASS, &#039;icon.ico&#039;)<br \/>\n        else:<br \/>\n            icon_path &#061; &#039;icon.ico&#039;<br \/>\n        if os.path.exists(icon_path):<br \/>\n            MainWindow.setWindowIcon(QIcon(icon_path))<\/p>\n<p>        self.centralwidget &#061; QtWidgets.QWidget(MainWindow)<br \/>\n        self.centralwidget.setObjectName(&#034;centralwidget&#034;)<\/p>\n<p>        # \u4e3b\u5e03\u5c40<br \/>\n        self.main_layout &#061; QtWidgets.QHBoxLayout(self.centralwidget)<br \/>\n        self.main_layout.setContentsMargins(10, 10, 10, 10)<br \/>\n        self.main_layout.setSpacing(15)<\/p>\n<p>        # \u5de6\u4fa7\u5e03\u5c40 (\u56fe\u50cf\u663e\u793a)<br \/>\n        self.left_layout &#061; QtWidgets.QVBoxLayout()<br \/>\n        self.left_layout.setSpacing(15)<\/p>\n<p>        # \u539f\u59cb\u56fe\u50cf\u7ec4<br \/>\n        self.original_group &#061; QtWidgets.QGroupBox(&#034;\u539f\u59cb\u56fe\u50cf&#034;)<br \/>\n        self.original_group.setMinimumHeight(400)<br \/>\n        self.original_img_label &#061; QtWidgets.QLabel()<br \/>\n        self.original_img_label.setAlignment(QtCore.Qt.AlignCenter)<br \/>\n        self.original_img_label.setText(&#034;\u7b49\u5f85\u52a0\u8f7d\u56fe\u50cf&#8230;&#034;)<br \/>\n        self.original_img_label.setStyleSheet(&#034;background-color: #F0F0F0; border: 1px solid #CCCCCC;&#034;)<\/p>\n<p>        original_layout &#061; QtWidgets.QVBoxLayout()<br \/>\n        original_layout.addWidget(self.original_img_label)<br \/>\n        self.original_group.setLayout(original_layout)<br \/>\n        self.left_layout.addWidget(self.original_group)<\/p>\n<p>        # \u68c0\u6d4b\u7ed3\u679c\u56fe\u50cf\u7ec4<br \/>\n        self.result_group &#061; QtWidgets.QGroupBox(&#034;\u68c0\u6d4b\u7ed3\u679c&#034;)<br \/>\n        self.result_group.setMinimumHeight(400)<br \/>\n        self.result_img_label &#061; QtWidgets.QLabel()<br \/>\n        self.result_img_label.setAlignment(QtCore.Qt.AlignCenter)<br \/>\n        self.result_img_label.setText(&#034;\u68c0\u6d4b\u7ed3\u679c\u5c06\u663e\u793a\u5728\u8fd9\u91cc&#034;)<br \/>\n        self.result_img_label.setStyleSheet(&#034;background-color: #F0F0F0; border: 1px solid #CCCCCC;&#034;)<\/p>\n<p>        result_layout &#061; QtWidgets.QVBoxLayout()<br \/>\n        result_layout.addWidget(self.result_img_label)<br \/>\n        self.result_group.setLayout(result_layout)<br \/>\n        self.left_layout.addWidget(self.result_group)<\/p>\n<p>        self.main_layout.addLayout(self.left_layout, stretch&#061;3)<\/p>\n<p>        # \u53f3\u4fa7\u5e03\u5c40 (\u63a7\u5236\u9762\u677f)<br \/>\n        self.right_layout &#061; QtWidgets.QVBoxLayout()<br \/>\n        self.right_layout.setSpacing(15)<\/p>\n<p>        # \u6a21\u578b\u9009\u62e9\u7ec4<br \/>\n        self.model_group &#061; QtWidgets.QGroupBox(&#034;\u6a21\u578b\u8bbe\u7f6e&#034;)<br \/>\n        self.model_group.setStyleSheet(&#034;QGroupBox { font-weight: bold; }&#034;)<br \/>\n        self.model_layout &#061; QtWidgets.QVBoxLayout()<\/p>\n<p>        # \u6a21\u578b\u9009\u62e9<br \/>\n        self.model_combo &#061; QtWidgets.QComboBox()<br \/>\n        self.model_combo.addItems([&#034;best.pt&#034;])<br \/>\n        self.model_combo.setCurrentIndex(0)<\/p>\n<p>        # \u52a0\u8f7d\u6a21\u578b\u6309\u94ae<br \/>\n        self.load_model_btn &#061; QtWidgets.QPushButton(&#034; \u52a0\u8f7d\u6a21\u578b&#034;)<br \/>\n        self.load_model_btn.setIcon(QIcon.fromTheme(&#034;document-open&#034;))<br \/>\n        self.load_model_btn.setStyleSheet(<br \/>\n            &#034;QPushButton { padding: 8px; background-color: #4CAF50; color: white; border-radius: 4px; }&#034;<br \/>\n            &#034;QPushButton:hover { background-color: #45a049; }&#034;<br \/>\n        )<\/p>\n<p>        self.model_layout.addWidget(self.model_combo)<br \/>\n        self.model_layout.addWidget(self.load_model_btn)<br \/>\n        self.model_group.setLayout(self.model_layout)<br \/>\n        self.right_layout.addWidget(self.model_group)<\/p>\n<p>        # \u53c2\u6570\u8bbe\u7f6e\u7ec4<br \/>\n        self.param_group &#061; QtWidgets.QGroupBox(&#034;\u68c0\u6d4b\u53c2\u6570&#034;)<br \/>\n        self.param_group.setStyleSheet(&#034;QGroupBox { font-weight: bold; }&#034;)<br \/>\n        self.param_layout &#061; QtWidgets.QFormLayout()<br \/>\n        self.param_layout.setLabelAlignment(Qt.AlignLeft)<br \/>\n        self.param_layout.setFormAlignment(Qt.AlignLeft)<br \/>\n        self.param_layout.setVerticalSpacing(15)<\/p>\n<p>        # \u7f6e\u4fe1\u5ea6\u6ed1\u5757<br \/>\n        self.conf_slider &#061; QtWidgets.QSlider(Qt.Horizontal)<br \/>\n        self.conf_slider.setRange(1, 99)<br \/>\n        self.conf_slider.setValue(25)<br \/>\n        self.conf_value &#061; QtWidgets.QLabel(&#034;0.25&#034;)<br \/>\n        self.conf_value.setAlignment(Qt.AlignCenter)<br \/>\n        self.conf_value.setStyleSheet(&#034;font-weight: bold; color: #2196F3;&#034;)<\/p>\n<p>        # IoU\u6ed1\u5757<br \/>\n        self.iou_slider &#061; QtWidgets.QSlider(Qt.Horizontal)<br \/>\n        self.iou_slider.setRange(1, 99)<br \/>\n        self.iou_slider.setValue(45)<br \/>\n        self.iou_value &#061; QtWidgets.QLabel(&#034;0.45&#034;)<br \/>\n        self.iou_value.setAlignment(Qt.AlignCenter)<br \/>\n        self.iou_value.setStyleSheet(&#034;font-weight: bold; color: #2196F3;&#034;)<\/p>\n<p>        self.param_layout.addRow(&#034;\u7f6e\u4fe1\u5ea6\u9608\u503c:&#034;, self.conf_slider)<br \/>\n        self.param_layout.addRow(&#034;\u5f53\u524d\u503c:&#034;, self.conf_value)<br \/>\n        self.param_layout.addRow(QtWidgets.QLabel(&#034;&#034;))  # \u7a7a\u884c<br \/>\n        self.param_layout.addRow(&#034;IoU\u9608\u503c:&#034;, self.iou_slider)<br \/>\n        self.param_layout.addRow(&#034;\u5f53\u524d\u503c:&#034;, self.iou_value)<\/p>\n<p>        self.param_group.setLayout(self.param_layout)<br \/>\n        self.right_layout.addWidget(self.param_group)<\/p>\n<p>        # \u529f\u80fd\u6309\u94ae\u7ec4<br \/>\n        self.func_group &#061; QtWidgets.QGroupBox(&#034;\u68c0\u6d4b\u529f\u80fd&#034;)<br \/>\n        self.func_group.setStyleSheet(&#034;QGroupBox { font-weight: bold; }&#034;)<br \/>\n        self.func_layout &#061; QtWidgets.QVBoxLayout()<br \/>\n        self.func_layout.setSpacing(10)<\/p>\n<p>        # \u56fe\u7247\u68c0\u6d4b\u6309\u94ae<br \/>\n        self.image_btn &#061; QtWidgets.QPushButton(&#034; \u56fe\u7247\u68c0\u6d4b&#034;)<br \/>\n        self.image_btn.setIcon(QIcon.fromTheme(&#034;image-x-generic&#034;))<\/p>\n<p>        # \u89c6\u9891\u68c0\u6d4b\u6309\u94ae<br \/>\n        self.video_btn &#061; QtWidgets.QPushButton(&#034; \u89c6\u9891\u68c0\u6d4b&#034;)<br \/>\n        self.video_btn.setIcon(QIcon.fromTheme(&#034;video-x-generic&#034;))<\/p>\n<p>        # \u6444\u50cf\u5934\u68c0\u6d4b\u6309\u94ae<br \/>\n        self.camera_btn &#061; QtWidgets.QPushButton(&#034; \u6444\u50cf\u5934\u68c0\u6d4b&#034;)<br \/>\n        self.camera_btn.setIcon(QIcon.fromTheme(&#034;camera-web&#034;))<\/p>\n<p>        # \u505c\u6b62\u68c0\u6d4b\u6309\u94ae<br \/>\n        self.stop_btn &#061; QtWidgets.QPushButton(&#034; \u505c\u6b62\u68c0\u6d4b&#034;)<br \/>\n        self.stop_btn.setIcon(QIcon.fromTheme(&#034;process-stop&#034;))<br \/>\n        self.stop_btn.setEnabled(False)<\/p>\n<p>        # \u4fdd\u5b58\u7ed3\u679c\u6309\u94ae<br \/>\n        self.save_btn &#061; QtWidgets.QPushButton(&#034; \u4fdd\u5b58\u7ed3\u679c&#034;)<br \/>\n        self.save_btn.setIcon(QIcon.fromTheme(&#034;document-save&#034;))<br \/>\n        self.save_btn.setEnabled(False)<\/p>\n<p>        # \u8bbe\u7f6e\u6309\u94ae\u6837\u5f0f<br \/>\n        button_style &#061; &#034;&#034;&#034;<br \/>\n        QPushButton {<br \/>\n            padding: 10px;<br \/>\n            background-color: #2196F3;<br \/>\n            color: white;<br \/>\n            border: none;<br \/>\n            border-radius: 4px;<br \/>\n            text-align: left;<br \/>\n        }<br \/>\n        QPushButton:hover {<br \/>\n            background-color: #0b7dda;<br \/>\n        }<br \/>\n        QPushButton:disabled {<br \/>\n            background-color: #cccccc;<br \/>\n        }<br \/>\n        &#034;&#034;&#034;<\/p>\n<p>        for btn in [self.image_btn, self.video_btn, self.camera_btn,<br \/>\n                    self.stop_btn, self.save_btn]:<br \/>\n            btn.setStyleSheet(button_style)<br \/>\n            self.func_layout.addWidget(btn)<\/p>\n<p>        self.func_group.setLayout(self.func_layout)<br \/>\n        self.right_layout.addWidget(self.func_group)<\/p>\n<p>        # \u68c0\u6d4b\u7ed3\u679c\u8868\u683c\u7ec4<br \/>\n        self.table_group &#061; QtWidgets.QGroupBox(&#034;\u68c0\u6d4b\u7ed3\u679c\u8be6\u60c5&#034;)<br \/>\n        self.table_group.setStyleSheet(&#034;QGroupBox { font-weight: bold; }&#034;)<br \/>\n        self.table_layout &#061; QtWidgets.QVBoxLayout()<\/p>\n<p>        self.result_table &#061; QtWidgets.QTableWidget()<br \/>\n        self.result_table.setColumnCount(4)<br \/>\n        self.result_table.setHorizontalHeaderLabels([&#034;\u7c7b\u522b&#034;, &#034;\u7f6e\u4fe1\u5ea6&#034;, &#034;\u5de6\u4e0a\u5750\u6807&#034;, &#034;\u53f3\u4e0b\u5750\u6807&#034;])<br \/>\n        self.result_table.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch)<br \/>\n        self.result_table.verticalHeader().setVisible(False)<br \/>\n        self.result_table.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)<br \/>\n        self.result_table.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)<\/p>\n<p>        # \u8bbe\u7f6e\u8868\u683c\u6837\u5f0f<br \/>\n        self.result_table.setStyleSheet(&#034;&#034;&#034;<br \/>\n            QTableWidget {<br \/>\n                border: 1px solid #e0e0e0;<br \/>\n                alternate-background-color: #f5f5f5;<br \/>\n            }<br \/>\n            QHeaderView::section {<br \/>\n                background-color: #2196F3;<br \/>\n                color: white;<br \/>\n                padding: 5px;<br \/>\n                border: none;<br \/>\n            }<br \/>\n            QTableWidget::item {<br \/>\n                padding: 5px;<br \/>\n            }<br \/>\n        &#034;&#034;&#034;)<\/p>\n<p>        # \u8bbe\u7f6e\u5c45\u4e2d\u4ee3\u7406<br \/>\n        delegate &#061; CenteredDelegate(self.result_table)<br \/>\n        self.result_table.setItemDelegate(delegate)<\/p>\n<p>        self.table_layout.addWidget(self.result_table)<br \/>\n        self.table_group.setLayout(self.table_layout)<br \/>\n        self.right_layout.addWidget(self.table_group, stretch&#061;1)<\/p>\n<p>        self.main_layout.addLayout(self.right_layout, stretch&#061;1)<\/p>\n<p>        MainWindow.setCentralWidget(self.centralwidget)<\/p>\n<p>        # \u72b6\u6001\u680f<br \/>\n        self.statusbar &#061; QtWidgets.QStatusBar(MainWindow)<br \/>\n        self.statusbar.setStyleSheet(&#034;QStatusBar { border-top: 1px solid #c0c0c0; }&#034;)<br \/>\n        MainWindow.setStatusBar(self.statusbar)<\/p>\n<p>        # \u521d\u59cb\u5316\u53d8\u91cf<br \/>\n        self.model &#061; None<br \/>\n        self.cap &#061; None<br \/>\n        self.timer &#061; QTimer()<br \/>\n        self.is_camera_running &#061; False<br \/>\n        self.current_image &#061; None<br \/>\n        self.current_result &#061; None<br \/>\n        self.video_writer &#061; None<br \/>\n        self.output_path &#061; &#034;output&#034;<\/p>\n<p>        # \u521b\u5efa\u8f93\u51fa\u76ee\u5f55<br \/>\n        if not os.path.exists(self.output_path):<br \/>\n            os.makedirs(self.output_path)<\/p>\n<p>        # \u8fde\u63a5\u4fe1\u53f7\u69fd<br \/>\n        self.load_model_btn.clicked.connect(self.load_model)<br \/>\n        self.image_btn.clicked.connect(self.detect_image)<br \/>\n        self.video_btn.clicked.connect(self.detect_video)<br \/>\n        self.camera_btn.clicked.connect(self.detect_camera)<br \/>\n        self.stop_btn.clicked.connect(self.stop_detection)<br \/>\n        self.save_btn.clicked.connect(self.save_result)<br \/>\n        self.conf_slider.valueChanged.connect(self.update_conf_value)<br \/>\n        self.iou_slider.valueChanged.connect(self.update_iou_value)<br \/>\n        self.timer.timeout.connect(self.update_camera_frame)<\/p>\n<p>        # \u8bbe\u7f6e\u5168\u5c40\u6837\u5f0f<br \/>\n        self.set_style()<\/p>\n<p>    def set_style(self):<br \/>\n        style &#061; &#034;&#034;&#034;<br \/>\n        QMainWindow {<br \/>\n            background-color: #f5f5f5;<br \/>\n        }<br \/>\n        QGroupBox {<br \/>\n            border: 1px solid #e0e0e0;<br \/>\n            border-radius: 5px;<br \/>\n            margin-top: 10px;<br \/>\n            padding-top: 15px;<br \/>\n        }<br \/>\n        QGroupBox::title {<br \/>\n            subcontrol-origin: margin;<br \/>\n            left: 10px;<br \/>\n            padding: 0 3px;<br \/>\n        }<br \/>\n        QLabel {<br \/>\n            color: #333333;<br \/>\n        }<br \/>\n        QComboBox {<br \/>\n            padding: 5px;<br \/>\n            border: 1px solid #cccccc;<br \/>\n            border-radius: 3px;<br \/>\n        }<br \/>\n        QSlider::groove:horizontal {<br \/>\n            height: 6px;<br \/>\n            background: #e0e0e0;<br \/>\n            border-radius: 3px;<br \/>\n        }<br \/>\n        QSlider::handle:horizontal {<br \/>\n            width: 16px;<br \/>\n            height: 16px;<br \/>\n            margin: -5px 0;<br \/>\n            background: #2196F3;<br \/>\n            border-radius: 8px;<br \/>\n        }<br \/>\n        QSlider::sub-page:horizontal {<br \/>\n            background: #2196F3;<br \/>\n            border-radius: 3px;<br \/>\n        }<br \/>\n        &#034;&#034;&#034;<br \/>\n        self.centralwidget.setStyleSheet(style)<\/p>\n<p>    def load_model(self):<br \/>\n        model_name &#061; self.model_combo.currentText().split(&#034; &#034;)[0]<br \/>\n        try:<br \/>\n            self.model &#061; YOLO(model_name)<br \/>\n            self.statusbar.showMessage(f&#034;\u6a21\u578b {model_name} \u52a0\u8f7d\u6210\u529f&#034;, 3000)<br \/>\n            self.image_btn.setEnabled(True)<br \/>\n            self.video_btn.setEnabled(True)<br \/>\n            self.camera_btn.setEnabled(True)<br \/>\n        except Exception as e:<br \/>\n            QMessageBox.critical(None, &#034;\u9519\u8bef&#034;, f&#034;\u6a21\u578b\u52a0\u8f7d\u5931\u8d25: {str(e)}&#034;)<\/p>\n<p>    def update_conf_value(self):<br \/>\n        conf &#061; self.conf_slider.value() \/ 100<br \/>\n        self.conf_value.setText(f&#034;{conf:.2f}&#034;)<\/p>\n<p>    def update_iou_value(self):<br \/>\n        iou &#061; self.iou_slider.value() \/ 100<br \/>\n        self.iou_value.setText(f&#034;{iou:.2f}&#034;)<\/p>\n<p>    def detect_image(self):<br \/>\n        if self.model is None:<br \/>\n            QMessageBox.warning(None, &#034;\u8b66\u544a&#034;, &#034;\u8bf7\u5148\u52a0\u8f7d\u6a21\u578b&#034;)<br \/>\n            return<\/p>\n<p>        file_path, _ &#061; QFileDialog.getOpenFileName(<br \/>\n            None, &#034;\u9009\u62e9\u56fe\u7247&#034;, &#034;&#034;,<br \/>\n            &#034;\u56fe\u7247\u6587\u4ef6 (*.jpg *.jpeg *.png *.bmp);;\u6240\u6709\u6587\u4ef6 (*)&#034;<br \/>\n        )<br \/>\n        if file_path:<br \/>\n            try:<br \/>\n                # \u8bfb\u53d6\u56fe\u7247<br \/>\n                img &#061; cv2.imread(file_path)<br \/>\n                img &#061; cv2.cvtColor(img, cv2.COLOR_BGR2RGB)<\/p>\n<p>                # \u663e\u793a\u539f\u59cb\u56fe\u7247<br \/>\n                self.display_image(img, self.original_img_label)<br \/>\n                self.current_image &#061; img.copy()<\/p>\n<p>                # \u68c0\u6d4b\u56fe\u7247<br \/>\n                conf &#061; self.conf_slider.value() \/ 100<br \/>\n                iou &#061; self.iou_slider.value() \/ 100<\/p>\n<p>                self.statusbar.showMessage(&#034;\u6b63\u5728\u68c0\u6d4b\u56fe\u7247&#8230;&#034;)<br \/>\n                QtWidgets.QApplication.processEvents()  # \u66f4\u65b0UI<\/p>\n<p>                results &#061; self.model.predict(img, conf&#061;conf, iou&#061;iou)<br \/>\n                result_img &#061; results[0].plot()<\/p>\n<p>                # \u663e\u793a\u68c0\u6d4b\u7ed3\u679c<br \/>\n                self.display_image(result_img, self.result_img_label)<br \/>\n                self.current_result &#061; result_img.copy()<\/p>\n<p>                # \u66f4\u65b0\u7ed3\u679c\u8868\u683c<br \/>\n                self.update_result_table(results[0])<\/p>\n<p>                self.save_btn.setEnabled(True)<br \/>\n                self.statusbar.showMessage(f&#034;\u56fe\u7247\u68c0\u6d4b\u5b8c\u6210: {os.path.basename(file_path)}&#034;, 3000)<\/p>\n<p>            except Exception as e:<br \/>\n                QMessageBox.critical(None, &#034;\u9519\u8bef&#034;, f&#034;\u56fe\u7247\u68c0\u6d4b\u5931\u8d25: {str(e)}&#034;)<br \/>\n                self.statusbar.showMessage(&#034;\u56fe\u7247\u68c0\u6d4b\u5931\u8d25&#034;, 3000)<\/p>\n<p>    def detect_video(self):<br \/>\n        if self.model is None:<br \/>\n            QMessageBox.warning(None, &#034;\u8b66\u544a&#034;, &#034;\u8bf7\u5148\u52a0\u8f7d\u6a21\u578b&#034;)<br \/>\n            return<\/p>\n<p>        file_path, _ &#061; QFileDialog.getOpenFileName(<br \/>\n            None, &#034;\u9009\u62e9\u89c6\u9891&#034;, &#034;&#034;,<br \/>\n            &#034;\u89c6\u9891\u6587\u4ef6 (*.mp4 *.avi *.mov *.mkv);;\u6240\u6709\u6587\u4ef6 (*)&#034;<br \/>\n        )<br \/>\n        if file_path:<br \/>\n            try:<br \/>\n                self.cap &#061; cv2.VideoCapture(file_path)<br \/>\n                if not self.cap.isOpened():<br \/>\n                    raise Exception(&#034;\u65e0\u6cd5\u6253\u5f00\u89c6\u9891\u6587\u4ef6&#034;)<\/p>\n<p>                # \u83b7\u53d6\u89c6\u9891\u4fe1\u606f<br \/>\n                fps &#061; self.cap.get(cv2.CAP_PROP_FPS)<br \/>\n                width &#061; int(self.cap.get(cv2.CAP_PROP_FRAME_WIDTH))<br \/>\n                height &#061; int(self.cap.get(cv2.CAP_PROP_FRAME_HEIGHT))<\/p>\n<p>                # \u521b\u5efa\u89c6\u9891\u5199\u5165\u5668<br \/>\n                timestamp &#061; datetime.datetime.now().strftime(&#034;%Y%m%d_%H%M%S&#034;)<br \/>\n                output_file &#061; os.path.join(self.output_path, f&#034;output_{timestamp}.mp4&#034;)<br \/>\n                fourcc &#061; cv2.VideoWriter_fourcc(*&#039;mp4v&#039;)<br \/>\n                self.video_writer &#061; cv2.VideoWriter(output_file, fourcc, fps, (width, height))<\/p>\n<p>                # \u542f\u7528\u505c\u6b62\u6309\u94ae&#xff0c;\u7981\u7528\u5176\u4ed6\u6309\u94ae<br \/>\n                self.stop_btn.setEnabled(True)<br \/>\n                self.save_btn.setEnabled(True)<br \/>\n                self.image_btn.setEnabled(False)<br \/>\n                self.video_btn.setEnabled(False)<br \/>\n                self.camera_btn.setEnabled(False)<\/p>\n<p>                # \u5f00\u59cb\u5904\u7406\u89c6\u9891<br \/>\n                self.timer.start(30)  # 30ms\u95f4\u9694<br \/>\n                self.statusbar.showMessage(f&#034;\u6b63\u5728\u5904\u7406\u89c6\u9891: {os.path.basename(file_path)}&#8230;&#034;)<\/p>\n<p>            except Exception as e:<br \/>\n                QMessageBox.critical(None, &#034;\u9519\u8bef&#034;, f&#034;\u89c6\u9891\u68c0\u6d4b\u5931\u8d25: {str(e)}&#034;)<br \/>\n                self.statusbar.showMessage(&#034;\u89c6\u9891\u68c0\u6d4b\u5931\u8d25&#034;, 3000)<\/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\u6e90\u7801(\u89c6\u9891\u7b80\u4ecb\u5185)<\/h3>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"923\" src=\"2026-02-22uo1hqy0wz1h.png\" width=\"598\" \/><\/p>\n<p>\u6f14\u793a\u4e0e\u4ecb\u7ecd\u89c6\u9891&#xff1a;<\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"2160\" src=\"2026-02-22dfdoy1u33p4.jpg\" width=\"3544\" \/><\/p>\n<p><span>\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf&#xff08;YOLOv8&#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>\n<p>\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf&#xff08;YOLOv8&#043;YOLO\u6570\u636e\u96c6&#043;UI\u754c\u9762&#043;Python\u9879\u76ee\u6e90\u7801&#043;\u6a21\u578b&#xff09;<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u9879\u76ee\u4ecb\u7ecd<br \/>\n\u672c\u9879\u76ee\u57fa\u4e8eYOLOv8\u76ee\u6807\u68c0\u6d4b\u7b97\u6cd5\u6784\u5efa\u4e86\u4e00\u4e2a\u4e13\u4e1a\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u8bc6\u522b\u7cfb\u7edf&#xff0c;\u65e8\u5728\u5b9e\u73b0\u8840\u6db2\u663e\u5fae\u56fe\u50cf\u4e2d\u4e94\u7c7b\u767d\u7ec6\u80de\u7684\u81ea\u52a8\u5316\u68c0\u6d4b\u4e0e\u5206\u7c7b\u3002\u7cfb\u7edf\u4ee5YOLOv8\u6a21\u578b\u4e3a\u6838\u5fc3\u67b6\u6784&#xff0c;\u8bbe\u5b9anc&#xff08;\u7c7b\u522b\u6570&#xff09;\u53c2\u6570\u4e3a5&#xff0c;\u5bf9\u5e94\u8bc6\u522b\u55dc\u78b1\u6027\u7c92\u7ec6\u80de&#xff08;Basophil&#xff09;\u3001\u55dc\u9178\u6027\u7c92\u7ec6\u80de&#xff08;Eosinophil&#xff09;\u3001\u6dcb\u5df4\u7ec6\u80de&#xff08;Lymphocyte&#xff09;\u3001\u5355\u6838\u7ec6\u80de&amp;#<\/p>\n","protected":false},"author":2,"featured_media":76594,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,780,156,50,86,1665],"topic":[],"class_list":["post-76614","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-python","tag-ui","tag-yolo","tag-50","tag-86","tag-1665"],"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\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv8+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\/76614.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\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv8+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=\"\u4e00\u3001\u9879\u76ee\u4ecb\u7ecd \u672c\u9879\u76ee\u57fa\u4e8eYOLOv8\u76ee\u6807\u68c0\u6d4b\u7b97\u6cd5\u6784\u5efa\u4e86\u4e00\u4e2a\u4e13\u4e1a\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u8bc6\u522b\u7cfb\u7edf&#xff0c;\u65e8\u5728\u5b9e\u73b0\u8840\u6db2\u663e\u5fae\u56fe\u50cf\u4e2d\u4e94\u7c7b\u767d\u7ec6\u80de\u7684\u81ea\u52a8\u5316\u68c0\u6d4b\u4e0e\u5206\u7c7b\u3002\u7cfb\u7edf\u4ee5YOLOv8\u6a21\u578b\u4e3a\u6838\u5fc3\u67b6\u6784&#xff0c;\u8bbe\u5b9anc&#xff08;\u7c7b\u522b\u6570&#xff09;\u53c2\u6570\u4e3a5&#xff0c;\u5bf9\u5e94\u8bc6\u522b\u55dc\u78b1\u6027\u7c92\u7ec6\u80de&#xff08;Basophil&#xff09;\u3001\u55dc\u9178\u6027\u7c92\u7ec6\u80de&#xff08;Eosinophil&#xff09;\u3001\u6dcb\u5df4\u7ec6\u80de&#xff08;Lymphocyte&#xff09;\u3001\u5355\u6838\u7ec6\u80de&amp;#\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/76614.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-22T14:18:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141752-699b101057e76.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=\"9 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/76614.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/76614.html\",\"name\":\"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv8+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-22T14:18:05+00:00\",\"dateModified\":\"2026-02-22T14:18:05+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/76614.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/76614.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/76614.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\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv8+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\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv8+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\/76614.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv8+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":"\u4e00\u3001\u9879\u76ee\u4ecb\u7ecd \u672c\u9879\u76ee\u57fa\u4e8eYOLOv8\u76ee\u6807\u68c0\u6d4b\u7b97\u6cd5\u6784\u5efa\u4e86\u4e00\u4e2a\u4e13\u4e1a\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u8bc6\u522b\u7cfb\u7edf&#xff0c;\u65e8\u5728\u5b9e\u73b0\u8840\u6db2\u663e\u5fae\u56fe\u50cf\u4e2d\u4e94\u7c7b\u767d\u7ec6\u80de\u7684\u81ea\u52a8\u5316\u68c0\u6d4b\u4e0e\u5206\u7c7b\u3002\u7cfb\u7edf\u4ee5YOLOv8\u6a21\u578b\u4e3a\u6838\u5fc3\u67b6\u6784&#xff0c;\u8bbe\u5b9anc&#xff08;\u7c7b\u522b\u6570&#xff09;\u53c2\u6570\u4e3a5&#xff0c;\u5bf9\u5e94\u8bc6\u522b\u55dc\u78b1\u6027\u7c92\u7ec6\u80de&#xff08;Basophil&#xff09;\u3001\u55dc\u9178\u6027\u7c92\u7ec6\u80de&#xff08;Eosinophil&#xff09;\u3001\u6dcb\u5df4\u7ec6\u80de&#xff08;Lymphocyte&#xff09;\u3001\u5355\u6838\u7ec6\u80de&amp;#","og_url":"https:\/\/www.wsisp.com\/helps\/76614.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-22T14:18:05+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260222141752-699b101057e76.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"9 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/76614.html","url":"https:\/\/www.wsisp.com\/helps\/76614.html","name":"\u57fa\u4e8e\u6df1\u5ea6\u5b66\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv8+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-22T14:18:05+00:00","dateModified":"2026-02-22T14:18:05+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/76614.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/76614.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/76614.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\u4e60YOLOv8\u7684\u767d\u7ec6\u80de\u7c7b\u578b\u68c0\u6d4b\u7cfb\u7edf\uff08YOLOv8+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\/76614","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=76614"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/76614\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/76594"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=76614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=76614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=76614"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=76614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}