{"id":91383,"date":"2026-08-07T19:56:41","date_gmt":"2026-08-07T11:56:41","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/91383.html"},"modified":"2026-08-07T19:56:41","modified_gmt":"2026-08-07T11:56:41","slug":"01-%e8%ae%a1%e7%ae%97%e6%9c%ba%e8%a7%86%e8%a7%89%e6%95%b4%e4%bd%93%e9%93%be%e8%b7%af%e8%a7%a3%e6%9e%90%ef%bc%9a%e5%9b%be%e5%83%8f%e9%87%87%e9%9b%86%e3%80%81%e9%a2%84%e5%a4%84%e7%90%86%e3%80%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/91383.html","title":{"rendered":"01-\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790\uff1a\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b"},"content":{"rendered":"<h2>\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790&#xff1a;\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b<\/h2>\n<p>\u4f5c\u8005&#xff1a;\u9ed2\u6f02\u6280\u672f\u4f6c<br \/>\n\u9002\u7528\u4eba\u7fa4&#xff1a;\u96f6\u57fa\u7840\u5c0f\u767d&#xff0c;\u5bf9\u8ba1\u7b97\u673a\u89c6\u89c9\u611f\u5174\u8da3\u4f46\u4e0d\u77e5\u9053\u4ece\u4f55\u5165\u624b\u7684\u540c\u5b66<\/p>\n<h3>\u4e00\u3001\u8ba1\u7b97\u673a\u89c6\u89c9\u5230\u5e95\u662f\u4e2a\u5565&#xff1f;<\/h3>\n<p>\u4f60\u5237\u8138\u89e3\u9501\u624b\u673a\u7684\u65f6\u5019&#xff0c;\u8d85\u5e02\u81ea\u52a9\u7ed3\u8d26\u8bc6\u522b\u5546\u54c1\u7684\u65f6\u5019&#xff0c;\u5de5\u5382\u673a\u68b0\u81c2\u6293\u53d6\u96f6\u4ef6\u7684\u65f6\u5019\u2014\u2014\u80cc\u540e\u90fd\u6709\u540c\u4e00\u4e2a\u4e1c\u897f\u5728\u5e72\u6d3b&#xff1a;\u8ba1\u7b97\u673a\u89c6\u89c9&#xff08;Computer Vision&#xff0c;\u7b80\u79f0CV&#xff09;\u3002<\/p>\n<p>\u8bf4\u767d\u4e86&#xff0c;\u8ba1\u7b97\u673a\u89c6\u89c9\u5c31\u662f\u8ba9\u8ba1\u7b97\u673a&#034;\u770b\u61c2&#034;\u56fe\u7247\u548c\u89c6\u9891\u3002\u4eba\u773c\u770b\u5230\u4e00\u74f6\u53ef\u4e50&#xff0c;\u77ac\u95f4\u77e5\u9053&#034;\u8fd9\u662f\u53ef\u4e50&#034;&#xff1b;\u8ba1\u7b97\u673a\u770b\u5230\u7684\u662f\u4e00\u5806\u6570\u5b57&#xff08;\u50cf\u7d20\u503c&#xff09;&#xff0c;\u5b83\u9700\u8981\u4e00\u5957\u6d41\u7a0b\u628a\u8fd9\u4e9b\u6570\u5b57\u53d8\u6210&#034;\u8fd9\u662f\u4e00\u74f6\u53ef\u4e50&#034;\u8fd9\u4e2a\u7ed3\u8bba\u3002<\/p>\n<p>\u8fd9\u5957\u6d41\u7a0b&#xff0c;\u5c31\u662f\u6211\u4eec\u4eca\u5929\u8981\u804a\u7684\u5b8c\u6574\u94fe\u8def\u3002<\/p>\n<h3>\u4e8c\u3001\u5b8c\u6574\u94fe\u8def\u5168\u666f\u56fe<\/h3>\n<p>\u4e00\u4e2a\u5de5\u4e1a\u7ea7\u8ba1\u7b97\u673a\u89c6\u89c9\u7cfb\u7edf&#xff0c;\u4ece\u56fe\u50cf\u8f93\u5165\u5230\u6700\u7ec8\u843d\u5730&#xff0c;\u901a\u5e38\u7ecf\u8fc7\u4ee5\u4e0b\u51e0\u4e2a\u73af\u8282&#xff1a;<\/p>\n<p>\u56fe\u50cf\u91c7\u96c6 \u2192 \u9884\u5904\u7406 \u2192 \u6a21\u578b\u63a8\u7406 \u2192 \u540e\u5904\u7406 \u2192 \u4e1a\u52a1\u903b\u8f91\u843d\u5730<\/p>\n<p>\u522b\u770b\u53ea\u6709\u4e94\u6b65&#xff0c;\u6bcf\u4e00\u6b65\u90fd\u6709\u5751\u3002\u4e0b\u9762\u9010\u4e2a\u62c6\u89e3\u3002<\/p>\n<h3>\u4e09\u3001\u7b2c\u4e00\u6b65&#xff1a;\u56fe\u50cf\u91c7\u96c6<\/h3>\n<p>\u56fe\u50cf\u91c7\u96c6\u662f\u6574\u4e2a\u94fe\u8def\u7684\u8d77\u70b9&#xff0c;\u8bf4\u767d\u4e86\u5c31\u662f\u600e\u4e48\u628a\u73b0\u5b9e\u4e16\u754c\u7684\u753b\u9762\u53d8\u6210\u8ba1\u7b97\u673a\u80fd\u5904\u7406\u7684\u6570\u5b57\u56fe\u50cf\u3002<\/p>\n<h4>\u91c7\u96c6\u8bbe\u5907\u6709\u54ea\u4e9b&#xff1f;<\/h4>\n<table>\n<tr>\u8bbe\u5907\u7c7b\u578b\u7279\u70b9\u5178\u578b\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>USB\u6444\u50cf\u5934<\/td>\n<td>\u4fbf\u5b9c\u3001\u5373\u63d2\u5373\u7528\u3001\u5206\u8fa8\u7387\u4e00\u822c<\/td>\n<td>\u5b9e\u9a8c\u5ba4\u539f\u578b\u3001\u65e0\u4eba\u552e\u8d27\u67dc<\/td>\n<\/tr>\n<tr>\n<td>\u5de5\u4e1a\u76f8\u673a&#xff08;GigE\/USB3.0&#xff09;<\/td>\n<td>\u9ad8\u5e27\u7387\u3001\u9ad8\u5206\u8fa8\u7387\u3001\u53ef\u89e6\u53d1<\/td>\n<td>\u4ea7\u7ebf\u68c0\u6d4b\u3001\u673a\u68b0\u81c2\u89c6\u89c9<\/td>\n<\/tr>\n<tr>\n<td>\u6df1\u5ea6\u76f8\u673a&#xff08;RGB-D&#xff09;<\/td>\n<td>\u540c\u65f6\u83b7\u53d6\u5f69\u8272\u56fe&#043;\u6df1\u5ea6\u4fe1\u606f<\/td>\n<td>\u673a\u5668\u4eba\u907f\u969c\u30013D\u6293\u53d6<\/td>\n<\/tr>\n<tr>\n<td>\u7f51\u7edc\u6444\u50cf\u5934&#xff08;IP Camera&#xff09;<\/td>\n<td>\u8fdc\u7a0b\u4f20\u8f93\u3001\u5e03\u7ebf\u7075\u6d3b<\/td>\n<td>\u667a\u6167\u519c\u4e1a\u5927\u68da\u76d1\u63a7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u5173\u952e\u53c2\u6570<\/h4>\n<ul>\n<li>\u5206\u8fa8\u7387&#xff1a;\u56fe\u50cf\u7684\u50cf\u7d20\u5c3a\u5bf8&#xff0c;\u59821920\u00d71080\u3002\u5206\u8fa8\u7387\u8d8a\u9ad8&#xff0c;\u7ec6\u8282\u8d8a\u4e30\u5bcc&#xff0c;\u4f46\u8ba1\u7b97\u91cf\u4e5f\u8d8a\u5927\u3002<\/li>\n<li>\u5e27\u7387&#xff08;FPS&#xff09;&#xff1a;\u6bcf\u79d2\u91c7\u96c6\u591a\u5c11\u5e27\u56fe\u50cf\u3002\u65e0\u4eba\u552e\u8d27\u67dc\u4e00\u822c15-30fps\u5c31\u591f\u4e86&#xff0c;\u5de5\u4e1a\u68c0\u6d4b\u53ef\u80fd\u9700\u898160fps\u4ee5\u4e0a\u3002<\/li>\n<li>\u66dd\u5149\u65f6\u95f4&#xff1a;\u51b3\u5b9a\u56fe\u50cf\u4eae\u4e0d\u4eae\u3002\u592a\u6697\u770b\u4e0d\u6e05&#xff0c;\u592a\u4eae\u4f1a\u8fc7\u66dd\u3002<\/li>\n<\/ul>\n<p>\u5b9e\u6218\u63d0\u9192&#xff1a;\u5f88\u591a\u65b0\u624b\u4ee5\u4e3a\u6a21\u578b\u4e0d\u884c&#xff0c;\u5176\u5b9e\u662f\u56fe\u50cf\u91c7\u96c6\u73af\u8282\u51fa\u4e86\u95ee\u9898\u2014\u2014\u5149\u7ebf\u4e0d\u8db3\u3001\u6444\u50cf\u5934\u6296\u52a8\u3001\u5206\u8fa8\u7387\u592a\u4f4e&#xff0c;\u518d\u597d\u7684\u6a21\u578b\u4e5f\u767d\u642d\u3002\u5783\u573e\u8fdb&#xff0c;\u5783\u573e\u51fa&#xff08;Garbage In, Garbage Out&#xff09;&#xff0c;\u8fd9\u662fCV\u9886\u57df\u7684\u94c1\u5f8b\u3002<\/p>\n<h3>\u56db\u3001\u7b2c\u4e8c\u6b65&#xff1a;\u56fe\u50cf\u9884\u5904\u7406<\/h3>\n<p>\u91c7\u96c6\u5230\u7684\u539f\u59cb\u56fe\u50cf&#xff0c;\u901a\u5e38\u4e0d\u80fd\u76f4\u63a5\u4e22\u7ed9\u6a21\u578b&#xff0c;\u9700\u8981\u5148&#034;\u6536\u62fe\u4e00\u4e0b&#034;\u3002<\/p>\n<h4>\u5e38\u89c1\u9884\u5904\u7406\u64cd\u4f5c<\/h4>\n<p>1. \u7f29\u653e&#xff08;Resize&#xff09;<\/p>\n<p>\u6a21\u578b\u901a\u5e38\u8981\u6c42\u56fa\u5b9a\u5c3a\u5bf8\u7684\u8f93\u5165&#xff0c;\u6bd4\u5982640\u00d7640\u3002\u4f46\u6444\u50cf\u5934\u62cd\u51fa\u6765\u7684\u662f1920\u00d71080&#xff0c;\u600e\u4e48\u529e&#xff1f;\u7f29\u653e\u3002<\/p>\n<p><span class=\"token keyword\">import<\/span> cv2<\/p>\n<p><span class=\"token comment\"># \u8bfb\u53d6\u539f\u56fe<\/span><br \/>\nimg <span class=\"token operator\">&#061;<\/span> cv2<span class=\"token punctuation\">.<\/span>imread<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;product.jpg&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n<span class=\"token comment\"># \u7f29\u653e\u5230\u6a21\u578b\u9700\u8981\u7684\u5c3a\u5bf8<\/span><br \/>\nimg_resized <span class=\"token operator\">&#061;<\/span> cv2<span class=\"token punctuation\">.<\/span>resize<span class=\"token punctuation\">(<\/span>img<span class=\"token punctuation\">,<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token number\">640<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token number\">640<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>2. \u5f52\u4e00\u5316&#xff08;Normalization&#xff09;<\/p>\n<p>\u50cf\u7d20\u503c\u8303\u56f4\u662f0-255&#xff0c;\u4f46\u6a21\u578b\u559c\u6b220-1\u6216\u8005-1\u52301\u4e4b\u95f4\u7684\u5c0f\u6570\u3002\u5f52\u4e00\u5316\u5c31\u662f\u628a\u50cf\u7d20\u503c\u9664\u4ee5255&#xff08;\u6216\u505a\u66f4\u590d\u6742\u7684\u6807\u51c6\u5316&#xff09;&#xff0c;\u8ba9\u6570\u503c\u8303\u56f4\u53d8\u5c0f&#xff0c;\u6a21\u578b\u8bad\u7ec3\u66f4\u7a33\u5b9a\u3002<\/p>\n<p><span class=\"token comment\"># \u5f52\u4e00\u5316\u5230 0~1<\/span><br \/>\nimg_normalized <span class=\"token operator\">&#061;<\/span> img_resized <span class=\"token operator\">\/<\/span> <span class=\"token number\">255.0<\/span><\/p>\n<p>3. \u989c\u8272\u7a7a\u95f4\u8f6c\u6362<\/p>\n<p>OpenCV\u9ed8\u8ba4\u8bfb\u53d6\u662fBGR\u987a\u5e8f&#xff0c;\u4f46\u5f88\u591a\u6a21\u578b\u8bad\u7ec3\u65f6\u7528\u7684\u662fRGB&#xff0c;\u4e0d\u8f6c\u6362\u7684\u8bdd\u989c\u8272\u5c31\u4e71\u4e86\u3002<\/p>\n<p>img_rgb <span class=\"token operator\">&#061;<\/span> cv2<span class=\"token punctuation\">.<\/span>cvtColor<span class=\"token punctuation\">(<\/span>img_resized<span class=\"token punctuation\">,<\/span> cv2<span class=\"token punctuation\">.<\/span>COLOR_BGR2RGB<span class=\"token punctuation\">)<\/span><\/p>\n<p>4. \u5176\u4ed6\u589e\u5f3a\u64cd\u4f5c<\/p>\n<p>\u5728\u8bad\u7ec3\u9636\u6bb5\u8fd8\u4f1a\u7528\u5230&#xff1a;\u7ffb\u8f6c\u3001\u65cb\u8f6c\u3001\u88c1\u526a\u3001\u8272\u5f69\u6296\u52a8\u7b49\u6570\u636e\u589e\u5f3a\u624b\u6bb5&#xff0c;\u76ee\u7684\u662f\u8ba9\u6a21\u578b\u89c1\u591a\u8bc6\u5e7f&#xff0c;\u63d0\u9ad8\u6cdb\u5316\u80fd\u529b\u3002\u4e0d\u8fc7\u63a8\u7406\u9636\u6bb5\u4e00\u822c\u4e0d\u505a\u8fd9\u4e9b\u3002<\/p>\n<h3>\u4e94\u3001\u7b2c\u4e09\u6b65&#xff1a;\u6a21\u578b\u63a8\u7406<\/h3>\n<p>\u8fd9\u662f\u6574\u4e2a\u94fe\u8def\u7684\u6838\u5fc3\u73af\u8282\u2014\u2014\u628a\u9884\u5904\u7406\u540e\u7684\u56fe\u50cf\u5582\u7ed9\u8bad\u7ec3\u597d\u7684\u6a21\u578b&#xff0c;\u8ba9\u6a21\u578b\u8f93\u51fa\u68c0\u6d4b\u7ed3\u679c\u3002<\/p>\n<h4>\u63a8\u7406\u8fc7\u7a0b\u53d1\u751f\u4e86\u4ec0\u4e48&#xff1f;<\/h4>\n<p>\u6a21\u578b\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u8d85\u590d\u6742\u7684\u6570\u5b66\u51fd\u6570\u3002\u8f93\u5165\u662f\u4e00\u5f20\u56fe\u50cf&#xff08;\u591a\u7ef4\u6570\u7ec4&#xff09;&#xff0c;\u8f93\u51fa\u662f\u68c0\u6d4b\u7ed3\u679c\u2014\u2014\u901a\u5e38\u5305\u62ec\u6bcf\u4e2a\u76ee\u6807\u7684\u7c7b\u522b\u3001\u4f4d\u7f6e\u5750\u6807\u3001\u7f6e\u4fe1\u5ea6\u3002<\/p>\n<p>\u8f93\u5165\u56fe\u50cf (1, 3, 640, 640)<br \/>\n        \u2193<br \/>\n   \u795e\u7ecf\u7f51\u7edc\u6a21\u578b<br \/>\n        \u2193<br \/>\n\u8f93\u51fa: [\u7c7b\u522b&#061;\u53ef\u4e50, \u5750\u6807&#061;(100,50,200,300), \u7f6e\u4fe1\u5ea6&#061;0.92]<br \/>\n      [\u7c7b\u522b&#061;\u85af\u7247, \u5750\u6807&#061;(300,50,450,280), \u7f6e\u4fe1\u5ea6&#061;0.87]<\/p>\n<h4>\u63a8\u7406\u6846\u67b6\u9009\u62e9<\/h4>\n<table>\n<tr>\u6846\u67b6\u7279\u70b9\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>PyTorch<\/td>\n<td>\u7075\u6d3b\u3001\u6613\u8c03\u8bd5<\/td>\n<td>\u7814\u53d1\u3001\u8bad\u7ec3<\/td>\n<\/tr>\n<tr>\n<td>ONNX Runtime<\/td>\n<td>\u8de8\u5e73\u53f0\u3001\u90e8\u7f72\u53cb\u597d<\/td>\n<td>\u670d\u52a1\u7aef\u63a8\u7406<\/td>\n<\/tr>\n<tr>\n<td>TensorRT<\/td>\n<td>NVIDIA GPU\u6781\u901f\u63a8\u7406<\/td>\n<td>\u9ad8\u6027\u80fd\u670d\u52a1\u7aef<\/td>\n<\/tr>\n<tr>\n<td>NCNN\/MNN<\/td>\n<td>\u79fb\u52a8\u7aef\u8f7b\u91cf<\/td>\n<td>\u5d4c\u5165\u5f0f\u3001\u624b\u673a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u65e0\u4eba\u552e\u8d27\u67dc\u573a\u666f\u4e3e\u4f8b&#xff1a;\u67dc\u5b50\u91cc\u901a\u5e38\u90e8\u7f72\u4e00\u4e2a\u8fb9\u7f18\u8ba1\u7b97\u76d2\u5b50&#xff08;\u5982RK3588&#xff09;&#xff0c;\u672c\u5730\u8fd0\u884cYOLO\u6a21\u578b&#xff0c;\u5b9e\u65f6\u8bc6\u522b\u987e\u5ba2\u62ff\u53d6\u7684\u5546\u54c1\u3002\u4e0d\u9700\u8981\u4e0a\u4f20\u4e91\u7aef&#xff0c;\u5ef6\u8fdf\u4f4e\u3001\u9690\u79c1\u597d\u3002<\/p>\n<h3>\u516d\u3001\u7b2c\u56db\u6b65&#xff1a;\u540e\u5904\u7406<\/h3>\n<p>\u6a21\u578b\u76f4\u63a5\u5410\u51fa\u6765\u7684\u7ed3\u679c\u901a\u5e38\u662f&#034;\u7c97\u7cd9&#034;\u7684\u2014\u2014\u540c\u4e00\u4e2a\u5546\u54c1\u53ef\u80fd\u88ab\u68c0\u6d4b\u51fa\u597d\u51e0\u4e2a\u91cd\u53e0\u7684\u6846&#xff0c;\u8fd8\u6709\u4e9b\u4f4e\u7f6e\u4fe1\u5ea6\u7684\u8bef\u68c0\u3002\u540e\u5904\u7406\u5c31\u662f\u628a\u8fd9\u4e9b\u7c97\u7cd9\u7ed3\u679c\u53d8\u6210\u5e72\u51c0\u53ef\u7528\u7684\u7ed3\u679c\u3002<\/p>\n<h4>\u6700\u6838\u5fc3\u7684\u540e\u5904\u7406&#xff1a;NMS&#xff08;\u975e\u6781\u5927\u503c\u6291\u5236&#xff09;<\/h4>\n<p>\u5f53\u6a21\u578b\u5bf9\u540c\u4e00\u4e2a\u5546\u54c1\u9884\u6d4b\u4e863\u4e2a\u91cd\u53e0\u7684\u6846\u65f6&#xff0c;NMS\u4f1a\u4fdd\u7559\u7f6e\u4fe1\u5ea6\u6700\u9ad8\u7684\u90a3\u4e2a&#xff0c;\u628a\u5176\u4f59\u91cd\u53e0\u5ea6\u9ad8\u7684\u6846\u5e72\u6389\u3002<\/p>\n<p>NMS\u524d: 3\u4e2a\u6846\u90fd\u6846\u7740\u540c\u4e00\u74f6\u53ef\u4e50<br \/>\n        \u2193 NMS\u5904\u7406<br \/>\nNMS\u540e: \u53ea\u4fdd\u75591\u4e2a\u6700\u9760\u8c31\u7684\u6846<\/p>\n<p>NMS\u7684\u539f\u7406\u7ec6\u8282\u6211\u4eec\u4f1a\u5728\u540e\u7eed\u6587\u7ae0\u4e2d\u4e13\u95e8\u8bb2\u89e3&#xff0c;\u8fd9\u91cc\u5148\u77e5\u9053\u5b83\u7684\u4f5c\u7528\u5c31\u884c\u3002<\/p>\n<h4>\u5176\u4ed6\u540e\u5904\u7406<\/h4>\n<ul>\n<li>\u7f6e\u4fe1\u5ea6\u8fc7\u6ee4&#xff1a;\u628a\u7f6e\u4fe1\u5ea6\u4f4e\u4e8e\u9608\u503c&#xff08;\u59820.5&#xff09;\u7684\u68c0\u6d4b\u7ed3\u679c\u76f4\u63a5\u4e22\u5f03\u3002<\/li>\n<li>\u5750\u6807\u8f6c\u6362&#xff1a;\u628a\u6a21\u578b\u8f93\u51fa\u7684\u5f52\u4e00\u5316\u5750\u6807\u8f6c\u56de\u539f\u56fe\u50cf\u7d20\u5750\u6807\u3002<\/li>\n<li>\u4e1a\u52a1\u8fc7\u6ee4&#xff1a;\u6bd4\u5982\u65e0\u4eba\u552e\u8d27\u67dc\u53ea\u5173\u5fc3\u5546\u54c1\u7c7b\u522b&#xff0c;\u68c0\u6d4b\u5230&#034;\u4eba\u624b&#034;\u53ef\u4ee5\u5ffd\u7565\u3002<\/li>\n<\/ul>\n<h3>\u4e03\u3001\u7b2c\u4e94\u6b65&#xff1a;\u4e1a\u52a1\u903b\u8f91\u843d\u5730<\/h3>\n<p>\u68c0\u6d4b\u7ed3\u679c\u6700\u7ec8\u8981\u670d\u52a1\u4e8e\u5177\u4f53\u7684\u4e1a\u52a1\u9700\u6c42\u3002\u5149\u68c0\u6d4b\u51fa&#034;\u8fd9\u91cc\u6709\u74f6\u53ef\u4e50&#034;\u4e0d\u591f&#xff0c;\u8fd8\u5f97\u544a\u8bc9\u7cfb\u7edf\u8be5\u505a\u4ec0\u4e48\u3002<\/p>\n<h4>\u65e0\u4eba\u552e\u8d27\u67dc\u5168\u94fe\u8def\u5b9e\u4f8b<\/h4>\n<p>\u4ee5\u4e00\u4e2a\u5178\u578b\u7684\u65e0\u4eba\u552e\u8d27\u67dc\u4e3a\u4f8b&#xff0c;\u5b8c\u6574\u94fe\u8def\u662f\u8fd9\u6837\u8dd1\u7684&#xff1a;<\/p>\n<p>1. \u987e\u5ba2\u6253\u5f00\u67dc\u95e8 \u2192 \u6444\u50cf\u5934\u5f00\u59cb\u91c7\u96c6\u89c6\u9891\u5e27<br \/>\n2. \u6bcf\u5e27\u56fe\u50cf\u7f29\u653e\u5230640\u00d7640&#xff0c;\u5f52\u4e00\u5316<br \/>\n3. YOLO\u6a21\u578b\u63a8\u7406&#xff0c;\u8f93\u51fa\u6240\u6709\u5546\u54c1\u7684\u68c0\u6d4b\u6846<br \/>\n4. NMS\u53bb\u91cd&#xff0c;\u8fc7\u6ee4\u4f4e\u7f6e\u4fe1\u5ea6\u7ed3\u679c<br \/>\n5. \u5bf9\u6bd4\u5f00\u95e8\u524d\u540e\u7684\u5546\u54c1\u5217\u8868&#xff0c;\u8ba1\u7b97\u5dee\u96c6<br \/>\n6. \u5dee\u96c6\u5c31\u662f\u987e\u5ba2\u62ff\u8d70\u7684\u5546\u54c1 \u2192 \u751f\u6210\u8ba2\u5355 \u2192 \u81ea\u52a8\u6263\u6b3e<\/p>\n<p>\u8fd9\u91cc\u9762&#xff0c;\u6b65\u9aa41-4\u662f\u6807\u51c6CV\u94fe\u8def&#xff0c;\u6b65\u9aa45-6\u662f\u4e1a\u52a1\u903b\u8f91\u3002\u6280\u672f\u4e3a\u4e1a\u52a1\u670d\u52a1&#xff0c;\u522b\u672c\u672b\u5012\u7f6e\u3002<\/p>\n<h3>\u516b\u3001\u94fe\u8def\u4f18\u5316\u601d\u8def<\/h3>\n<p>\u5b9e\u9645\u843d\u5730\u4e2d&#xff0c;\u94fe\u8def\u7684\u6bcf\u4e00\u6b65\u90fd\u53ef\u4ee5\u4f18\u5316&#xff1a;<\/p>\n<ul>\n<li>\u91c7\u96c6\u7aef&#xff1a;\u8865\u5149\u3001\u8c03\u6574\u6444\u50cf\u5934\u89d2\u5ea6&#xff0c;\u4ece\u6e90\u5934\u63d0\u9ad8\u56fe\u50cf\u8d28\u91cf<\/li>\n<li>\u9884\u5904\u7406\u7aef&#xff1a;\u6839\u636e\u6a21\u578b\u9700\u6c42\u9009\u62e9\u6700\u4f18\u7684\u7f29\u653e\u7b56\u7565&#xff08;letterbox\u6bd4\u76f4\u63a5resize\u66f4\u4fdd\u6bd4\u4f8b&#xff09;<\/li>\n<li>\u63a8\u7406\u7aef&#xff1a;\u6a21\u578b\u91cf\u5316&#xff08;FP32\u2192INT8&#xff09;\u3001\u526a\u679d\u3001\u4f7f\u7528\u63a8\u7406\u52a0\u901f\u6846\u67b6<\/li>\n<li>\u540e\u5904\u7406\u7aef&#xff1a;\u8c03\u4f18NMS\u7684IOU\u9608\u503c\u548c\u7f6e\u4fe1\u5ea6\u9608\u503c<\/li>\n<li>\u4e1a\u52a1\u7aef&#xff1a;\u591a\u5e27\u6295\u7968&#xff08;\u8fde\u7eed\u591a\u5e27\u68c0\u6d4b\u5230\u540c\u4e00\u5546\u54c1\u624d\u786e\u8ba4&#xff09;&#xff0c;\u964d\u4f4e\u8bef\u5224\u7387<\/li>\n<\/ul>\n<h3>\u5c0f\u7ed3<\/h3>\n<p>\u8ba1\u7b97\u673a\u89c6\u89c9\u4e0d\u662f\u53ea\u6709&#034;\u6a21\u578b&#034;\u8fd9\u4e00\u4e2a\u73af\u8282&#xff0c;\u800c\u662f\u4e00\u6761\u5b8c\u6574\u7684\u94fe\u8def&#xff1a;\u91c7\u96c6\u2192\u9884\u5904\u7406\u2192\u63a8\u7406\u2192\u540e\u5904\u7406\u2192\u843d\u5730\u3002\u4efb\u4f55\u4e00\u73af\u62c9\u80ef&#xff0c;\u6574\u4e2a\u7cfb\u7edf\u5c31\u5e9f\u3002\u65b0\u624b\u5165\u95e8&#xff0c;\u522b\u4e0a\u6765\u5c31\u94bb\u8fdb\u6a21\u578b\u7ec6\u8282\u51fa\u4e0d\u6765&#xff0c;\u5148\u628a\u5168\u94fe\u8def\u641e\u6e05\u695a&#xff0c;\u77e5\u9053\u6bcf\u4e2a\u73af\u8282\u7684\u4f5c\u7528\u548c\u5751\u70b9&#xff0c;\u624d\u80fd\u5728\u5b9e\u9645\u9879\u76ee\u4e2d\u6e38\u5203\u6709\u4f59\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790&#xff1a;\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b\u4f5c\u8005&#xff1a;\u9ed2\u6f02\u6280\u672f\u4f6c<br \/>\n\u9002\u7528\u4eba\u7fa4&#xff1a;\u96f6\u57fa\u7840\u5c0f\u767d&#xff0c;\u5bf9\u8ba1\u7b97\u673a\u89c6\u89c9\u611f\u5174\u8da3\u4f46\u4e0d\u77e5\u9053\u4ece\u4f55\u5165\u624b\u7684\u540c\u5b66\u4e00\u3001\u8ba1\u7b97\u673a\u89c6\u89c9\u5230\u5e95\u662f\u4e2a\u5565&#xff1f;<br \/>\n\u4f60\u5237\u8138\u89e3\u9501\u624b\u673a\u7684\u65f6\u5019&#xff0c;\u8d85\u5e02\u81ea\u52a9\u7ed3\u8d26\u8bc6\u522b\u5546\u54c1\u7684\u65f6\u5019&#xff0c;\u5de5\u5382\u673a\u68b0\u81c2\u6293\u53d6\u96f6\u4ef6\u7684\u65f6\u5019\u2014\u2014\u80cc\u540e\u90fd\u6709\u540c\u4e00\u4e2a\u4e1c\u897f\u5728\u5e72\u6d3b&#xff1a;\u8ba1\u7b97\u673a\u89c6\u89c9&#xff08;Computer Vision&#xff0c;\u7b80\u79f0CV&#xff09;\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[156,50,207,523],"topic":[],"class_list":["post-91383","post","type-post","status-publish","format-standard","hentry","category-server","tag-yolo","tag-50","tag-207","tag-523"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>01-\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790\uff1a\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b - \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\/91383.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"01-\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790\uff1a\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790&#xff1a;\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b\u4f5c\u8005&#xff1a;\u9ed2\u6f02\u6280\u672f\u4f6c \u9002\u7528\u4eba\u7fa4&#xff1a;\u96f6\u57fa\u7840\u5c0f\u767d&#xff0c;\u5bf9\u8ba1\u7b97\u673a\u89c6\u89c9\u611f\u5174\u8da3\u4f46\u4e0d\u77e5\u9053\u4ece\u4f55\u5165\u624b\u7684\u540c\u5b66\u4e00\u3001\u8ba1\u7b97\u673a\u89c6\u89c9\u5230\u5e95\u662f\u4e2a\u5565&#xff1f; \u4f60\u5237\u8138\u89e3\u9501\u624b\u673a\u7684\u65f6\u5019&#xff0c;\u8d85\u5e02\u81ea\u52a9\u7ed3\u8d26\u8bc6\u522b\u5546\u54c1\u7684\u65f6\u5019&#xff0c;\u5de5\u5382\u673a\u68b0\u81c2\u6293\u53d6\u96f6\u4ef6\u7684\u65f6\u5019\u2014\u2014\u80cc\u540e\u90fd\u6709\u540c\u4e00\u4e2a\u4e1c\u897f\u5728\u5e72\u6d3b&#xff1a;\u8ba1\u7b97\u673a\u89c6\u89c9&#xff08;Computer Vision&#xff0c;\u7b80\u79f0CV&#xff09;\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/91383.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-07T11:56:41+00:00\" \/>\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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/91383.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/91383.html\",\"name\":\"01-\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790\uff1a\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-07T11:56:41+00:00\",\"dateModified\":\"2026-08-07T11:56:41+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/91383.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/91383.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/91383.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"01-\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790\uff1a\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b\"}]},{\"@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":"01-\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790\uff1a\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b - \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\/91383.html","og_locale":"zh_CN","og_type":"article","og_title":"01-\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790\uff1a\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790&#xff1a;\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b\u4f5c\u8005&#xff1a;\u9ed2\u6f02\u6280\u672f\u4f6c \u9002\u7528\u4eba\u7fa4&#xff1a;\u96f6\u57fa\u7840\u5c0f\u767d&#xff0c;\u5bf9\u8ba1\u7b97\u673a\u89c6\u89c9\u611f\u5174\u8da3\u4f46\u4e0d\u77e5\u9053\u4ece\u4f55\u5165\u624b\u7684\u540c\u5b66\u4e00\u3001\u8ba1\u7b97\u673a\u89c6\u89c9\u5230\u5e95\u662f\u4e2a\u5565&#xff1f; \u4f60\u5237\u8138\u89e3\u9501\u624b\u673a\u7684\u65f6\u5019&#xff0c;\u8d85\u5e02\u81ea\u52a9\u7ed3\u8d26\u8bc6\u522b\u5546\u54c1\u7684\u65f6\u5019&#xff0c;\u5de5\u5382\u673a\u68b0\u81c2\u6293\u53d6\u96f6\u4ef6\u7684\u65f6\u5019\u2014\u2014\u80cc\u540e\u90fd\u6709\u540c\u4e00\u4e2a\u4e1c\u897f\u5728\u5e72\u6d3b&#xff1a;\u8ba1\u7b97\u673a\u89c6\u89c9&#xff08;Computer Vision&#xff0c;\u7b80\u79f0CV&#xff09;\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/91383.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-07T11:56:41+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/91383.html","url":"https:\/\/www.wsisp.com\/helps\/91383.html","name":"01-\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790\uff1a\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-07T11:56:41+00:00","dateModified":"2026-08-07T11:56:41+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/91383.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/91383.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/91383.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"01-\u8ba1\u7b97\u673a\u89c6\u89c9\u6574\u4f53\u94fe\u8def\u89e3\u6790\uff1a\u56fe\u50cf\u91c7\u96c6\u3001\u9884\u5904\u7406\u3001\u63a8\u7406\u3001\u843d\u5730\u5168\u6d41\u7a0b"}]},{"@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\/91383","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=91383"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/91383\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=91383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=91383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=91383"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=91383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}