{"id":121254,"date":"2026-11-02T11:25:42","date_gmt":"2026-11-02T03:25:42","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/121254.html"},"modified":"2026-11-02T11:25:42","modified_gmt":"2026-11-02T03:25:42","slug":"%e5%9f%ba%e4%ba%8epython-opencv%e5%ae%9e%e7%8e%b0%e6%95%b0%e5%ad%97%e5%9b%be%e5%83%8f%e5%a4%84%e7%90%86%ef%bc%88%e6%89%8b%e5%8a%bf%e6%95%b0%e5%ad%97%e8%af%86%e5%88%ab%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/121254.html","title":{"rendered":"\u57fa\u4e8ePython OpenCV\u5b9e\u73b0\u6570\u5b57\u56fe\u50cf\u5904\u7406\uff08\u624b\u52bf\u6570\u5b57\u8bc6\u522b\uff09"},"content":{"rendered":"<h2 id=\"ZBZ5t\">\u267b\ufe0f \u8d44\u6e90<\/h2>\n<p id=\"uc741ef98\">\u5927\u5c0f&#xff1a; 10.0MB<\/p>\n<p id=\"u0f9d9304\">\u27a1\ufe0f \u8d44\u6e90\u4e0b\u8f7d&#xff1a;<span class=\"link-card-box\"><span class=\"link-title\">https:\/\/download.csdn.net\/download\/s1t16\/87490654<\/span><span class=\"link-link\"><img decoding=\"async\" class=\"link-link-icon\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b4235d3.png\" \/>https:\/\/download.csdn.net\/download\/s1t16\/87490654<\/span><\/span><\/p>\n<p id=\"ua75435b6\">\n<h3 id=\"IUKEF\">\u6570\u5b57\u56fe\u50cf\u5904\u7406<\/h3>\n<h3 id=\"OPDuC\">\u4e00\u3001\u603b\u8ff0<\/h3>\n<p id=\"ua207ada9\">\u624b\u52bf\u8bc6\u522b\u662f\u5728\u8ba1\u7b97\u673a\u89c6\u89c9\u9886\u57df\u4e2d\u53d7\u5230\u5e7f\u6cdb\u5173\u6ce8\u7684\u95ee\u9898&#xff0c;\u65e9\u5728\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u5d1b\u8d77\u524d&#xff0c;\u7814\u7a76\u8005\u548c\u7a0b\u5e8f\u5458\u4eec\u5c31\u5bf9\u8be5\u95ee\u9898\u8fdb\u884c\u4e86\u4e00\u5b9a\u7684\u63a2\u7d22&#xff0c;\u4f46\u4f20\u7edf\u7684\u7b97\u6cd5\u6bd4\u8f83\u590d\u6742&#xff0c;\u800c\u4e14\u968f\u7740\u9488\u5bf9\u76ee\u6807\u7684\u53d8\u5316&#xff0c;\u7b97\u6cd5\u4e5f\u4f1a\u968f\u4e4b\u6539\u53d8\u3002<\/p>\n<p id=\"u68d0f3c1\">\u6211\u5728\u672c\u6b21\u5927\u4f5c\u4e1a\u4e2d\u7528\u4f20\u7edf\u7684\u65b9\u6cd5\u5b9e\u73b0\u4e86\u624b\u52bf\u6570\u5b57 0 \u5230 5 \u7684\u8bc6\u522b&#xff0c;\u4e0d\u4ec5\u80fd\u5e94\u7528\u4e8e\u9759\u6001\u56fe\u7247&#xff0c;\u800c\u4e14\u80fd\u5728\u89c6\u9891\u6d41\u4e2d\u5b9e\u73b0\u5b9e\u65f6\u7684\u8bc6\u522b\u3002 \u8fd1\u5e74\u6765&#xff0c;\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u5f97\u5230\u5e7f\u6cdb\u5e94\u7528&#xff0c;\u5728\u8ba1\u7b97\u673a\u89c6\u89c9\u9886\u57df\u66f4\u662f\u5982\u6b64&#xff0c;\u5176\u7279\u70b9\u662f\u4e0d\u9700\u8981\u4eba\u5de5\u8bbe\u8ba1\u7b97\u6cd5\u8fdb\u884c\u7279\u5f81\u63d0\u53d6&#xff0c;\u4e14\u5bf9\u4e0d\u540c\u79cd\u7c7b\u7684\u624b\u52bf\u6709\u666e\u9002\u6027\u3002\u56e0\u6b64&#xff0c;\u6211\u8bad\u7ec3\u4e86\u4e00\u4e2a\u5377\u79ef\u795e\u7ecf\u7f51\u7edc\u8fdb\u884c\u624b\u52bf\u6570\u5b57\u7684\u8bc6\u522b\u3002<\/p>\n<p id=\"u47191206\">\u672c\u9879\u76ee\u7684\u4f20\u7edf\u7b97\u6cd5\u57fa\u4e8e python \u7684 OpenCV&#xff0c;\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u65b9\u6cd5\u57fa\u4e8e python \u7684 TensorFlow\u3002<\/p>\n<h3 id=\"zTCeN\">\u4e8c\u3001\u9759\u6001\u56fe\u7247\u624b\u90e8\u63d0\u53d6<\/h3>\n<p id=\"u7d944dd5\">\u9759\u6001\u56fe\u7247\u63d0\u53d6\u624b\u90e8\u5f62\u72b6\u5176\u5b9e\u662f\u4e00\u4e2a\u56fe\u50cf\u5206\u5272\u95ee\u9898&#xff0c;\u53ef\u4ee5\u4f7f\u7528\u533a\u57df\u751f\u957f\u7b97\u6cd5\u3001\u5206\u6c34\u5cad\u7b97\u6cd5\u7b49\u3002\u7136\u800c&#xff0c;\u8be5\u95ee\u9898\u7684\u96be\u5ea6\u5728\u4e8e&#xff1a;\u6ca1\u6709\u8fdb\u884c\u533a\u57df\u751f\u957f\u7684\u79cd\u5b50\u70b9\u4fe1\u606f&#xff0c;\u4e14\u56fe\u7247\u7684\u80cc\u666f\u53ef\u80fd\u5f88\u590d\u6742\u3002\u56e0\u6b64&#xff0c;\u6211\u4eec\u5fc5\u987b\u9488\u5bf9\u7279\u5b9a\u95ee\u9898\u8bbe\u8ba1\u7279\u6b8a\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h4 id=\"k8j5L\">2.1 \u5f69\u8272\u7a7a\u95f4\u8f6c\u6362<\/h4>\n<p id=\"uaa57b28e\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"434\" id=\"nth2b\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b439fa8.jpg\" width=\"772\" \/><\/p>\n<p id=\"uaba8298e\">\u89c2\u5bdf\u4e0a\u9762\u7684\u56fe\u7247&#xff0c;\u53ef\u4ee5\u770b\u51fa\u624b\u90e8\u7684\u989c\u8272\u504f\u7ea2&#xff0c;\u4e8e\u662f\u6211\u4eec\u60f3\u5230\u53ef\u4ee5\u5c06\u56fe\u50cf\u4ece rgb \u7a7a\u95f4\u8f6c\u5316\u5230 YUV \u7a7a\u95f4\u6765\u8fdb\u884c\u5206\u5272(Liu, You, Jain, &amp; Wang\u3002<\/p>\n<p id=\"u0dc9b48f\">YUV \u7a7a\u95f4\u4e2d&#xff0c;\u201cY\u201d\u8868\u793a\u660e\u4eae\u5ea6&#xff08;Luminance \u6216 Luma&#xff09;&#xff0c;\u4e5f\u5c31\u662f\u7070\u5ea6\u503c&#xff1b;\u800c\u201cU\u201d\u548c\u201cV\u201d \u8868\u793a\u7684\u5219\u662f\u8272\u5ea6&#xff08;Chrominance \u6216 Chroma&#xff09;&#xff0c;\u4f5c\u7528\u662f\u63cf\u8ff0\u5f71\u50cf\u8272\u5f69\u53ca\u9971\u548c\u5ea6\u3002\u4e0b\u9762\u5206\u522b\u662f\u56fe\u7247\u7684 YUV \u5206\u91cf\u3002<\/p>\n<p id=\"u5469966c\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"304\" id=\"Vhezr\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b455798.jpg\" width=\"542\" \/><\/p>\n<p id=\"u33fc0900\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"301\" id=\"WYGsj\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b46319e.jpg\" width=\"536\" \/><\/p>\n<p id=\"ud3058bf7\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"278\" id=\"pKZ4D\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b47029d.jpg\" width=\"496\" \/><\/p>\n<p id=\"u65b9f5c8\">\u53ef\u4ee5\u770b\u51fa\u5728\u56fe\u7247\u7684 U \u5206\u91cf\u4e2d&#xff0c;\u624b\u90e8\u7684\u8272\u5ea6\u6bd4\u8f83\u7a81\u51fa&#xff0c;\u4e8e\u662f\u6211\u4eec\u9009\u62e9\u5206\u91cf\u6765\u8fdb\u884c\u4e0b\u4e00\u6b65\u7684\u5206\u5272\u3002<\/p>\n<p id=\"u9e9f9b08\">\u4e3a\u4e86\u51cf\u5c0f\u566a\u58f0\u5e72\u6270&#xff0c;\u6211\u4eec\u5728\u5206\u5272\u524d\u5bf9 U \u5206\u91cf\u8fdb\u884c\u4e86\u9ad8\u65af\u6a21\u7cca&#xff0c;\u5377\u79ef\u6838\u5927\u5c0f\u4e3a 5 \u00d7 5<\/p>\n<h4 id=\"VduZq\">2.2 OTSU \u9600\u503c\u5206\u5272<\/h4>\n<p id=\"u11a8d8a5\">\u7531\u4e8e\u56fe\u50cf\u6ca1\u6709\u4eba\u5de5\u6807\u8bb0\u7684\u79cd\u5b50\u70b9&#xff0c;\u65e0\u6cd5\u4f7f\u7528\u533a\u57df\u751f\u957f\u3001\u5206\u6c34\u5cad\u7b97\u6cd5\u7b49\u3002\u56e0\u6b64\u6211\u4eec\u51b3\u5b9a\u4f7f\u7528\u7b80\u5355\u7684\u9600\u503c\u5206\u5272&#xff0c;\u9600\u503c\u7684\u9009\u62e9\u4f7f\u7528\u81ea\u9002\u5e94\u7684 OTSU \u7b97\u6cd5\u3002<\/p>\n<p id=\"uc8f5487e\">OTSU \u7b97\u6cd5\u8ba4\u4e3a\u4f7f\u5f97\u76ee\u6807\u548c\u524d\u666f\u7684\u65b9\u5dee\u548c\u6700\u5c0f\u7684\u7684\u9600\u503c\u4e3a\u6700\u4f73\u9600\u503c<\/p>\n<p id=\"u6308ce23\">(Otsu &amp; cybernetics, 1979)&#xff0c;\u65b9\u5dee\u548c\u4e3a&#xff1a;<\/p>\n<p id=\"u126d8bd5\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"73\" id=\"f6mBm\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b47d248.jpg\" width=\"503\" \/><\/p>\n<p id=\"u13a03d72\">\u56fe\u50cf\u7684\u603b\u65b9\u5dee&#xff1a;<\/p>\n<p id=\"u1ad04918\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"181\" id=\"lrDyz\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b48661f.jpg\" width=\"552\" \/><\/p>\n<p id=\"u92ef9a27\">\u53ef\u4ee5\u770b\u5230&#xff0c;\u56fe\u50cf\u7684\u603b\u65b9\u5dee\u7b49\u4e8e\u7ec4\u5185\u65b9\u5dee\u548c\u52a0\u4e0a\u7ec4\u9645\u65b9\u5dee\u548c&#xff0c;\u4e14\u603b\u65b9\u5dee\u4e0d\u53d8\u3002\u8981\u4f7f\u7ec4\u5185\u65b9\u5dee\u6700\u5c0f&#xff0c;\u5c31\u662f\u8981\u4f7f\u7ec4\u9645\u65b9\u5dee\u6700\u5927&#xff0c;\u5373\u627e\u5230\u4f7f\u5f97\u4e0b\u5f0f\u6700\u5927\u7684\u9600\u503c&#xff0c;\u4f5c\u4e3a\u6700\u4f18\u9600\u503c\u3002<\/p>\n<p id=\"u0fa872d2\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"64\" id=\"gSfyP\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b4938ea.jpg\" width=\"441\" \/><\/p>\n<p id=\"u3d6565f7\">\u4f7f\u7528 OTSU \u7b97\u6cd5\u5f97\u5230\u7684\u5206\u5272\u7ed3\u679c\u5982\u4e0b&#xff1a;<\/p>\n<p id=\"ud210e8a2\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"362\" id=\"XAT5e\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b49d24f.jpg\" width=\"645\" \/><\/p>\n<h4 id=\"rK4re\">2.3 \u83b7\u53d6\u624b\u90e8\u533a\u57df<\/h4>\n<p id=\"u11f272df\">\u5728\u5206\u5272\u540e&#xff0c;\u9996\u5148\u4f7f\u7528\u5f62\u6001\u5b66\u5f00\u8fd0\u7b97\u53bb\u9664\u5c0f\u7684\u566a\u70b9&#xff0c;\u5f00\u8fd0\u7b97\u7b97\u5b50\u4e3a 5 \u00d7<\/p>\n<p id=\"u74158c89\">5 \u5927\u5c0f\u7684\u77e9\u5f62&#xff0c;\u7ed3\u679c\u5982\u4e0b&#xff1a;<\/p>\n<p id=\"u62d69b1d\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"427\" id=\"qgTqX\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b4abaad.jpg\" width=\"760\" \/><\/p>\n<p id=\"u6db7a22b\">\u5f00\u8fd0\u7b97\u540e&#xff0c;\u9664\u4e86\u624b\u90e8\u533a\u57df\u8fd8\u6709\u4e00\u4e9b\u5e72\u6270\u90e8\u5206\u4e5f\u88ab\u8bc6\u522b\u6210\u524d\u666f&#xff0c;\u4e3a\u4e86\u53bb\u9664\u8fd9\u4e9b\u533a\u57df&#xff0c;\u6211\u4eec\u627e\u51fa\u5176\u4e2d\u7684\u6700\u5927\u8fde\u901a\u533a&#xff08;\u5177\u4f53\u6d41\u7a0b\u5728\u4e0b\u4e00\u90e8\u5206\u8be6\u8ff0&#xff09;&#xff0c;\u5c06\u5176\u4f5c\u4e3a\u63d0\u53d6\u7ed3\u679c\u3002<\/p>\n<p id=\"ue5a2aeba\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"304\" id=\"z0SGa\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b4bb97c.jpg\" width=\"284\" \/><\/p>\n<h3 id=\"ZsLN7\">\u4e09\u3001\u89c6\u9891\u6d41\u624b\u90e8\u63d0\u53d6<\/h3>\n<p id=\"u313e21c7\">\u5728\u89c6\u9891\u6d41\u4e2d\u8fdb\u884c\u624b\u90e8\u63d0\u53d6\u65f6&#xff0c;\u7b2c\u4e8c\u90e8\u5206\u7684\u7b97\u6cd5\u4ecd\u7136\u662f\u9002\u7528\u7684&#xff0c;\u4f46\u662f\u89c6\u9891\u6d41\u624b\u90e8\u63d0\u53d6\u8981\u6c42\u5b9e\u65f6\u8ba1\u7b97&#xff0c;\u7b97\u6cd5\u7684\u8ba1\u7b97\u901f\u5ea6\u81f3\u5c11\u8981\u5feb\u4e8e\u5e27\u7387\u3002\u800c\u4e14\u7b2c\u4e8c\u90e8\u5206\u7684\u7b97\u6cd5\u5bf9\u6bcf\u4e00\u5e27\u5355\u72ec\u8fdb\u884c\u8ba1\u7b97&#xff0c;\u6ca1\u6709\u8003\u8651\u89c6\u9891\u4e2d\u5e27\u4e0e\u5e27\u4e4b\u95f4\u7684\u76f8\u5173\u6027&#xff0c;\u8fd9\u663e\u7136\u662f\u4e0d\u5408\u7406\u7684&#xff0c;\u56e0\u6b64&#xff0c;\u6211\u4eec\u5bf9\u89c6\u9891\u6d41\u4f7f\u7528\u7279\u522b\u7684\u7b97\u6cd5\u8fdb\u884c\u624b\u90e8\u63d0\u53d6\u3002<\/p>\n<h4 id=\"oxsDh\">3.1 \u6df7\u5408\u9ad8\u65af\u6a21\u578b<\/h4>\n<p id=\"uebe83759\">\u89c6\u9891\u6d41\u4e2d\u7684\u624b\u90e8\u63d0\u53d6\u4ecd\u7136\u662f\u4e00\u4e2a\u56fe\u50cf\u5206\u5272\u95ee\u9898&#xff0c;\u6211\u4eec\u9700\u8981\u51b3\u5b9a\u6bcf\u4e00\u4e2a\u50cf\u7d20\u70b9\u5c5e\u4e8e\u524d\u666f\u8fd8\u662f\u80cc\u666f\u3002\u6211\u4eec\u7528\u6982\u7387\u6a21\u578b\u5bf9\u6bcf\u4e2a\u50cf\u7d20\u70b9\u5efa\u6a21&#xff0c;\u8bbe\u50cf\u7d20\u70b9 x \u4e3a\u524d\u666f\u7684\u6982\u7387\u4e3a(),\u9ad8\u65af\u6df7\u5408\u6a21\u578b\u57fa\u4e8e\u8fd9\u6837\u7684\u5047\u8bbe(Zivkovic &amp; Van<\/p>\n<p id=\"ua65a5131\">Der Heijden, 2006)&#xff1a;<\/p>\n<p id=\"u73bc754f\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"151\" id=\"A6muh\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b4c9ece.png\" width=\"496\" \/><\/p>\n<h4 id=\"e1FHf\">3.1.1 \u5373\u6574\u5e45\u56fe\u50cf\u53ef\u7531 M \u4e2a\u9ad8\u65af\u5206\u5e03\u76f8\u52a0\u62df\u5408&#xff0c;\u4e3a\u6bcf\u4e2a\u9ad8\u65af\u5206\u5e03\u7684\u6743<\/h4>\n<p id=\"u1af37bd6\">\u91cd&#xff0c;\u6ee1\u8db3 \u2211 &#061; 1&#xff0c;, \u4e3a\u9ad8\u65af\u5206\u5e03\u7684\u5747\u503c\u548c\u65b9\u5dee\u3002\u8981\u8ba1\u7b97()&#xff0c;\u6211\u4eec\u9700\u8981\u786e\u5b9a\u5408\u9002\u7684 M&#xff0c;, , \u3002<\/p>\n<p id=\"u4c7efe58\">\u4e3a\u4e86\u786e\u5b9a\u6a21\u578b\u7684\u53c2\u6570&#xff0c;\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u6700\u5927\u4f3c\u7136\u4f30\u8ba1&#xff0c;\u4f3c\u7136\u51fd\u6570\u5982\u4e0b&#xff1a;<\/p>\n<p id=\"ud38c95b6\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"151\" id=\"csttH\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b4d55a6.png\" width=\"771\" \/><\/p>\n<p id=\"ud1c138ea\">\u4e3a\u4e86\u4f7f\u4f3c\u7136\u51fd\u6570\u6700\u5927&#xff0c;\u6211\u4eec\u53ef\u4ee5\u6c42\u5bfc\u5f97\u5230\u53c2\u6570\u7684\u6781\u503c\u70b9\u3002\u4f46\u7531\u4e8e\u4f3c\u7136\u51fd\u6570\u7684\u5bf9\u6570\u7b26\u53f7\u4e2d\u6709\u6c42\u548c\u53f7&#xff0c;\u6c42\u6781\u503c\u5e76\u4e0d\u65b9\u4fbf\u3002\u56e0\u6b64\u6211\u4eec\u8f6c\u800c\u4f7f\u7528 EM \u7b97\u6cd5\u3002<\/p>\n<p id=\"u68c40a34\">EM \u7b97\u6cd5\u9002\u7528\u4e8e\u4e0d\u77e5\u9053\u91c7\u6837\u6570\u636e\u6765\u6e90\u4e8e\u54ea\u4e00\u7c7b\u7684\u60c5\u51b5&#xff0c;\u9996\u5148\u7ed9\u4e00\u7ec4\u8d77\u59cb\u53c2\u6570<\/p>\n<p id=\"u28135a4e\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"50\" id=\"Rn2dy\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b4e68b5.png\" width=\"217\" \/><\/p>\n<p id=\"u547d18dd\">&#xff0c;\u6bcf\u4e00\u6b65\u5bf9 Q \u51fd\u6570\u8fdb\u884c\u4f18\u5316&#xff1a;<\/p>\n<p id=\"udf7c0adc\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"53\" id=\"i3P3o\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b4ebdf9.png\" width=\"884\" \/><\/p>\n<p id=\"u8fc35e16\">\u4e0d\u65ad\u8fed\u4ee3&#xff0c;\u6700\u7ec8\u5f97\u5230\u6700\u4f18\u7684\u53c2\u6570\u3002\u5b9e\u9645\u8fd0\u7b97\u65f6&#xff0c;\u6837\u672c\u6765\u81ea\u4e8e\u6700\u8fd1\u591a\u4e2a\u5e27\u7684\u6570\u636e&#xff0c;\u5229\u7528\u5230\u4e86\u89c6\u9891\u6d41\u5e27\u4e0e\u5e27\u76f8\u5173\u8054\u7684\u7279\u6027\u3002\u8fd9\u6837\u5c31\u53ef\u4ee5\u5f97\u5230\u4e00\u4e2a\u5206\u5272\u7ed3\u679c\u4e86\u3002<\/p>\n<h4 id=\"Bmm66\">3.2 \u5f62\u6001\u5b66\u8fd0\u7b97<\/h4>\n<p id=\"ud0cf594e\">\u7528 GMM \u7b97\u6cd5\u5f97\u5230\u7684\u624b\u90e8 mask \u6bd4\u8f83\u7c97\u7cd9&#xff0c;\u5982\u4e0b\u56fe<\/p>\n<p id=\"ub65aad80\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"461\" id=\"VEm3q\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032541-6ae802b5030dd.jpg\" width=\"665\" \/><\/p>\n<p id=\"uefb2d832\">\u53ef\u4ee5\u770b\u51fa\u624b\u90e8\u4e4b\u5916\u7684\u4e00\u4e9b\u566a\u70b9\u4e5f\u88ab\u8bc6\u522b\u4e3a\u524d\u666f&#xff0c;\u4e3a\u4e86\u53bb\u9664\u8fd9\u4e9b\u566a\u70b9&#xff0c;\u6211\u4eec\u4f7f\u7528\u5f00\u8fd0\u7b97&#xff1a;<\/p>\n<p id=\"udea5299d\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"453\" id=\"EafcF\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032541-6ae802b513c18.jpg\" width=\"664\" \/><\/p>\n<p id=\"u5d455922\">\u5f00\u8fd0\u7b97\u540e&#xff0c;\u624b\u90e8\u5185\u6709\u4e00\u4e9b\u5c0f\u6d1e&#xff0c;\u53ef\u4ee5\u4f7f\u7528\u95ed\u8fd0\u7b97\u586b\u8865:<\/p>\n<p id=\"u019421c2\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"464\" id=\"fe3cp\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032541-6ae802b524451.jpg\" width=\"684\" \/><\/p>\n<p id=\"u98e7b1c6\">\u7ecf\u8fc7\u4e24\u6b65\u8fd0\u7b97\u540e&#xff0c;\u624b\u90e8\u533a\u57df\u5df2\u7ecf\u6bd4\u8f83\u5b8c\u6574\u4e86&#xff0c;\u566a\u58f0\u70b9\u4e5f\u6bd4\u8f83\u5c11&#xff0c;\u4e8e\u662f\u6211\u4eec\u5bf9\u7070\u5ea6\u56fe\u8fdb\u884c\u4e8c\u503c\u5316&#xff0c;\u5f97\u5230\u7ed3\u679c&#xff1a;<\/p>\n<p id=\"u191e4cd8\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"440\" id=\"Xff8j\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032541-6ae802b53561e.jpg\" width=\"637\" \/><\/p>\n<h3 id=\"nGHSS\">\u56db\u3001\u624b\u52bf\u8bc6\u522b<\/h3>\n<p id=\"u2a297c34\">\u5728\u63d0\u53d6\u51fa\u624b\u90e8\u5f62\u72b6\u7684\u4e8c\u503c\u56fe\u540e&#xff0c;\u63a5\u4e0b\u6765\u5c31\u662f\u5bf9\u624b\u52bf\u7684\u8bc6\u522b\u3002\u6211\u4eec\u9700\u8981\u8bc6\u522b\u7684\u624b\u52bf\u5305\u62ec\u5982\u4e0b 6 \u79cd\u3002<\/p>\n<p id=\"u98775891\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"276\" id=\"g8IjB\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032541-6ae802b5457b9.jpg\" width=\"274\" \/><\/p>\n<p id=\"u1dcbba3f\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"279\" id=\"epACp\" src=\"2026-11-02wrcmwmlvqiy.png\" width=\"279\" \/><\/p>\n<p id=\"u2b75e5bd\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"217\" id=\"w2hbf\" src=\"2026-11-02w2tdb2rkplb.png\" width=\"216\" \/><\/p>\n<p id=\"u83880743\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"215\" id=\"N9r6M\" src=\"2026-11-02qek0cqnk0vg.png\" width=\"212\" \/><\/p>\n<p id=\"uf4959b1b\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"222\" id=\"WJMAt\" src=\"2026-11-020bnycwfxyd2.png\" width=\"222\" \/><\/p>\n<p id=\"u8fb03686\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"391\" id=\"rKFbs\" src=\"2026-11-02ogjd5y5hyne.png\" width=\"391\" \/><\/p>\n<h4 id=\"hctA2\">4.1 \u5229\u7528\u6700\u5c0f\u51f8\u96c6\u7b97\u6cd5\u7684\u8bc6\u522b<\/h4>\n<ul>\n<li id=\"u567c6ef4\">\u4ece\u4e0a\u9762\u7684\u56fe\u7247\u4e2d\u6211\u4eec\u53ef\u4ee5\u770b\u51fa&#xff0c;\u6570\u5b57\u624b\u52bf\u7684\u4e00\u4e2a\u660e\u663e\u7279\u5f81\u662f\u4e24\u6307\u95f4\u6307\u7f1d\u7684\u6570\u91cf&#xff1a;5 \u7684\u624b\u52bf\u6709 4 \u4e2a\u6307\u7f1d&#xff0c;4 \u7684\u624b\u52bf\u6709 3 \u4e2a\u6307\u7f1d&#xff0c;\u4ee5\u6b64\u7c7b\u63a8\u3002<\/li>\n<li id=\"u994df952\">\u548c 1 \u7684\u624b\u52bf\u90fd\u6ca1\u6709\u6307\u7f1d&#xff0c;\u8fd9\u4e24\u8005\u7684\u533a\u5206\u6211\u4eec\u4f1a\u7528\u53e6\u5916\u7684\u7b97\u6cd5\u3002\u9996\u5148\u8ba8\u8bba\u5982\u4f55\u8bc6\u522b\u51fa\u6307\u7f1d\u7684\u6570\u91cf\u3002<\/li>\n<li id=\"u85bb14b5\">\u4e0a\u9762\u7684\u56fe\u7247\u4e2d&#xff0c;\u624b\u7684\u5916\u90e8\u6709\u4e00\u5708\u7eff\u8272\u7684\u7ebf&#xff0c;\u8fd9\u662f\u624b\u90e8\u5f62\u72b6\u7684\u5916\u8f6e\u5ed3\u3002\u6c42\u5916\u8f6e\u5ed3\u53ef\u4ee5\u4f7f\u7528\u5f62\u6001\u5b66\u7684\u81a8\u80c0\u8fd0\u7b97&#xff0c;\u4f7f\u7528\u516b\u9886\u57df\u77e9\u5f62\u7b97\u5b50\u8fdb\u884c\u81a8\u80c0&#xff0c;\u4e4b\u540e\u51cf\u53bb\u539f\u56fe&#xff0c;\u5c31\u53ef\u4ee5\u5f97\u5230\u8f6e\u5ed3\u3002<\/li>\n<\/ul>\n<p id=\"ue545ee2e\">\u53ef\u5230\u8f6e\u5ed3\u540e\u53ef\u8ba1\u7b97\u8f6e\u5ed3\u5185\u7684\u9762\u79ef&#xff0c;\u627e\u51fa\u6700\u5927\u9762\u79ef\u7684\u8f6e\u5ed3\u3002\u8fd9\u6837\u53ef\u4ee5\u53bb\u9664\u4e00\u4e9b\u5e72\u6270\u80cc\u666f\u7684\u5f71\u54cd\u3002\u8981\u8bc6\u522b\u6307\u7f1d\u7684\u6570\u91cf&#xff0c;\u6211\u4eec\u8981\u7528\u5230\u6700\u5c0f\u51f8\u96c6\u7b97\u6cd5&#xff0c;\u7ed9\u51fa\u6700\u5c0f\u95ed\u5305\u7684\u5b9a\u4e49&#xff1a;\u5728\u4e00\u4e2a\u5411\u91cf\u7a7a\u95f4 V \u4e2d&#xff0c;\u5bf9\u4e8e\u7ed9\u5b9a\u96c6\u5408 X&#xff0c;\u6240\u6709\u5305\u542b X \u7684\u51f8\u96c6\u7684\u4ea4\u96c6 S \u88ab\u79f0\u4e3a X \u7684\u6700\u5c0f\u51f8\u96c6(Eddy, 1977)<\/p>\n<p id=\"u69e0adc7\">\u8ba1\u7b97\u6700\u5c0f\u51f8\u96c6\u7684\u7b97\u6cd5\u6bd4\u8f83\u7b80\u5355&#xff0c;\u6309\u626b\u63cf\u65b9\u5411\u78b0\u5230\u7684\u7b2c\u4e00\u4e2a\u9876\u70b9&#xff0c;\u4f8b\u5982\u6700\u5de6\u3001\u6700\u4e0b\u4e4b\u70b9&#xff0c;\u4e3a\u8d77\u70b9 A\u3002\u6cbf\u9006\u65f6\u9488\u65b9\u5411\u627e\u5230\u8fb9\u754c\u4e0a\u7684\u7b2c\u4e8c\u70b9 B\u3002\u770b\u770b\u662f\u5426\u6240\u6709\u9876\u70b9\u90fd\u5728 AB \u7684\u4e00\u4fa7&#xff1f;\u5982\u679c\u4e0d\u662f&#xff0c;\u53d6\u4e0b\u4e00\u70b9 C \u4e3a\u9876\u70b9&#xff0c;\u518d\u770b\u662f\u5426\u591a\u8fb9\u5f62\u7684\u6240\u6709\u9876\u70b9\u90fd\u5728 AC \u7684\u4e00\u4fa7\u3002\u5982\u679c\u662f\u5219\u4fdd\u7559 AC \u5e76\u5c06\u5206\u6790\u79fb\u81f3 C \u70b9&#xff1b;\u7ee7\u7eed\u540c\u6837\u7684\u5206\u6790&#xff0c;\u76f4\u5230\u53c8\u56de\u5230\u8d77\u70b9\u3002\u7531\u8fd9\u4e9b\u4fdd\u7559\u70b9\u6784\u6210\u4e86\u6700\u5c0f\u51f8\u96c6<\/p>\n<p id=\"ueebe67fc\">(Eddy, 1977)\u3002<\/p>\n<p id=\"u8160c059\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"370\" id=\"Iu0uk\" src=\"2026-11-02s5umyf13pfh.png\" width=\"644\" \/><\/p>\n<p id=\"u5175d6fc\">\u5982\u56fe&#xff0c;\u662f\u5bf9\u624b\u7684\u8f6e\u5ed3\u6c42\u53d6\u6700\u5c0f\u51f8\u96c6\u7684\u7ed3\u679c\u3002<\/p>\n<p id=\"u7b8082f6\">\u5f97\u5230\u6700\u5c0f\u51f8\u96c6\u540e&#xff0c;\u6c42\u51f8\u7f3a\u9677&#xff0c;\u5373\u539f\u56fe\u5f62\u4e0d\u5728\u6700\u5c0f\u51f8\u96c6\u4e0a\u7684\u6700\u5927\u89d2\u3002\u6307\u7f1d\u4e5f\u5728\u8fd9\u4e9b\u89d2\u4e2d&#xff0c;\u5176\u7279\u70b9\u662f\u5939\u89d2\u8f83\u5c0f&#xff0c;\u4e8e\u662f\u6211\u4eec\u6311\u51fa\u5176\u4e2d\u5939\u89d2\u5c0f\u4e8e\u67d0\u4e2a\u9600\u503c\u7684\u7f3a\u9677&#xff0c;\u5176\u4e2a\u6570\u52a0\u4e00\u5c31\u662f\u4f38\u51fa\u7684\u624b\u6307\u4e2a\u6570\u3002\u4f8b\u5982\u4e0b\u56fe\u4e2d\u68c0\u6d4b\u5230 4 \u4e2a\u7f3a\u9677\u89d2&#xff08;\u84dd\u8272\u70b9\u4e3a\u89d2\u9876\u70b9&#xff09;&#xff0c;\u68c0\u6d4b\u7ed3\u679c\u4e3a\u4f38\u51fa 5 \u4e2a\u624b\u6307\u3002<\/p>\n<p id=\"ua8a47cdf\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"391\" id=\"TnymL\" src=\"2026-11-02tbd50aesef4.png\" width=\"391\" \/><\/p>\n<h4 id=\"uIyDP\">4.2 \u5229\u7528\u533a\u57df\u7d27\u6027\u7279\u5f81\u533a\u5206\u96f6\u4e00<\/h4>\n<p id=\"u4d2c730f\">\u4f7f\u7528 1 \u4e2d\u7684\u65b9\u6cd5\u53ef\u4ee5\u533a\u5206\u624b\u52bf 2&#xff0c;3&#xff0c;4&#xff0c;5.\u7136\u800c\u624b\u52bf 0 \u548c\u624b\u52bf 1 \u7684\u7f3a\u9677\u89d2\u4e2a\u6570\u90fd\u4e3a 0&#xff0c;\u8981\u5982\u4f55\u533a\u5206\u4e8c\u8005\u5462&#xff1f;<\/p>\n<p id=\"uac9b9fee\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"276\" id=\"isMZW\" src=\"2026-11-02s4skmb21fpc.png\" width=\"274\" \/><\/p>\n<p id=\"u1f46fb79\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"279\" id=\"x9jZX\" src=\"2026-11-02djxnqoopfko.png\" width=\"279\" \/><\/p>\n<p id=\"u57f0f74d\">\u6211\u4eec\u6ce8\u610f\u5230\u624b\u52bf 0 \u4e0e\u624b\u52bf 1 \u76f8\u6bd4\u66f4\u63a5\u8fd1\u5706&#xff0c;\u4e8e\u662f\u60f3\u5230\u7528\u533a\u57df\u7d27\u6027<\/p>\n<p id=\"uc98b322d\">&#xff08;Compactness&#xff09;\u6765\u533a\u5206&#xff0c;\u7d27\u6027\u7684\u5b9a\u4e49\u5982\u4e0b<\/p>\n<p id=\"u1f356ad4\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"107\" id=\"LRI8L\" src=\"2026-11-02zsff2m5slpb.png\" width=\"138\" \/><\/p>\n<p id=\"uedfad8f2\">\u5176\u4e2d&#xff0c;P \u4ee3\u8868\u5468\u957f&#xff0c;A \u4ee3\u8868\u9762\u79ef\u3002C \u8d8a\u5c0f&#xff0c;\u8868\u793a\u56fe\u5f62\u8d8a\u63a5\u8fd1\u5706\u3002\u4e8e\u662f\u6211\u4eec\u7528\u7d27\u6027\u7684\u4e00\u4e2a\u9600\u503c\u6765\u533a\u5206\u624b\u52bf 0 \u548c 1.<\/p>\n<h3 id=\"aB6Au\">\u4e94\u3001\u57fa\u4e8e\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u7684\u624b\u52bf\u8bc6\u522b<\/h3>\n<p id=\"u9cf41416\">\u8fd1\u5e74\u6765&#xff0c;\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u5f97\u5230\u5e7f\u6cdb\u5e94\u7528&#xff0c;\u5728\u8ba1\u7b97\u673a\u89c6\u89c9\u9886\u57df\u66f4\u662f\u5982\u6b64&#xff0c;\u5176\u7279\u70b9\u662f\u4e0d\u9700\u8981\u4eba\u5de5\u8bbe\u8ba1\u7b97\u6cd5\u8fdb\u884c\u7279\u5f81\u63d0\u53d6&#xff0c;\u4e14\u5bf9\u4e0d\u540c\u79cd\u7c7b\u7684\u624b\u52bf\u6709\u666e\u9002\u6027\u3002\u56e0\u6b64&#xff0c;\u6211\u8bad\u7ec3\u4e86\u4e00\u4e2a\u5377\u79ef\u795e\u7ecf\u7f51\u7edc\u8fdb\u884c\u624b\u52bf\u6570\u5b57\u7684\u8bc6\u522b\u3002<\/p>\n<h4 id=\"HEWND\">5.1 \u7f51\u7edc\u7ed3\u6784<\/h4>\n<p id=\"ue8d4171b\">\u4f7f\u7528 9 \u5c42\u7684\u5377\u79ef\u795e\u7ecf\u7f51\u7edc&#xff0c;\u5377\u79ef\u6838\u5927\u5c0f\u4e3a 2&#xff0c;\u6fc0\u6d3b\u5c42\u4e3a relu&#xff0c;\u6bcf\u4e00\u4e2a\u5377\u79ef\u5c42\u540e\u9762\u63a5\u4e00\u5c42 maxpooling&#xff0c;\u6700\u540e\u8bbe\u7f6e\u4e24\u5c42\u5168\u8fde\u63a5\u5c42\u3002<\/p>\n<h4 id=\"POT1z\">5.2 \u6536\u96c6\u8bad\u7ec3\u6570\u636e<\/h4>\n<p id=\"u1b3991cd\">\u4f7f\u7528\u6444\u50cf\u5934\u6536\u96c6\u8bad\u7ec3\u6570\u636e&#xff0c;\u7528\u7b2c\u4e09\u90e8\u5206\u7684\u65b9\u6cd5\u5206\u79bb\u524d\u666f\u4e0e\u80cc\u666f&#xff0c;\u63d0\u53d6\u624b\u90e8\u5f62\u72b6&#xff0c;\u4fdd\u5b58\u4e3a\u56fe\u7247\u3002\u6bcf\u4e2a\u624b\u52bf\u6536\u96c6 1000 \u5f20\u8bad\u7ec3\u6570\u636e&#xff0c;100 \u5f20\u6d4b\u8bd5\u6570\u636e\u3002<\/p>\n<p id=\"u0597bb0f\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"361\" id=\"aPi0W\" src=\"2026-11-02aiazwzg4dlt.png\" width=\"754\" \/><\/p>\n<h4 id=\"iS1k0\">5.3 \u8bad\u7ec3\u4e0e\u9884\u6d4b<\/h4>\n<p id=\"u31d2c010\">\u4f7f\u7528\u6536\u96c6\u5230\u7684\u6570\u636e\u8fdb\u884c\u8bad\u7ec3&#xff0c;\u5728\u9884\u6d4b\u65f6\u5206\u79bb\u524d\u80cc\u666f\u7684\u65b9\u6cd5\u4e0e\u7b2c\u4e09\u90e8\u5206\u76f8\u540c\u3002\u666e\u904d\u6765\u8bf4\u9884\u6d4b\u7ed3\u679c\u6bd4\u8f83\u53ef\u9760<\/p>\n<p id=\"u1b0b1187\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"281\" id=\"W4qmV\" src=\"2026-11-02vpgfbdvbdt5.png\" width=\"578\" \/><\/p>\n<p id=\"u818b0a8e\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"307\" id=\"DfcIh\" src=\"2026-11-022zchqoxy513.png\" width=\"554\" \/><\/p>\n<h3 id=\"OpwhV\">\u516d\u3001\u7ed3\u679c<\/h3>\n<p id=\"u02bde768\">\u4f20\u7edf\u65b9\u6cd5\u548c\u57fa\u4e8e\u795e\u7ecf\u7f51\u7edc\u7684\u65b9\u6cd5\u90fd\u80fd\u5f97\u5230\u57fa\u672c\u51c6\u786e\u7684\u8bc6\u522b\u7ed3\u679c&#xff0c;\u7136\u800c\u57fa\u4e8e\u795e\u7ecf\u7f51\u7edc\u7684\u65b9\u6cd5\u9c81\u68d2\u6027\u8f83\u5f3a\u3002\u4f20\u7edf\u65b9\u6cd5\u7684\u7ed3\u679c\u5982\u4e0b&#xff0c;\u4e24\u79cd\u65b9\u6cd5\u6211\u90fd\u62cd\u6444\u4e86\u6f14\u793a\u89c6\u9891\u3002<\/p>\n<p id=\"u6c6aed8d\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"410\" id=\"EJjsH\" src=\"2026-11-022n45ly5psz1.png\" width=\"669\" \/><\/p>\n<p id=\"uf360d310\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"412\" id=\"PHIwB\" src=\"2026-11-02kfbkabmzehm.png\" width=\"671\" \/><\/p>\n<p id=\"u29203ca4\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"423\" id=\"ZvyQR\" src=\"2026-11-02ibuuzt1befr.png\" width=\"690\" \/><\/p>\n<p id=\"u1d082a30\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"414\" id=\"Lu69T\" src=\"2026-11-02513pqhvf5e1.png\" width=\"675\" \/><\/p>\n<p id=\"u7fcaee6f\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"415\" id=\"zQU0w\" src=\"2026-11-02kdlkafxesjf.png\" width=\"677\" \/><\/p>\n<p id=\"u763858a9\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"411\" id=\"bSiJs\" src=\"2026-11-02bq4iu54pgb4.png\" width=\"671\" \/><\/p>\n<h3 id=\"D1zci\">\u4e03\u3001\u603b\u7ed3<\/h3>\n<p id=\"ub7e9eae3\">\u672c\u6b21\u5927\u4f5c\u4e1a\u5b8c\u6210\u4e86\u4e00\u4e2a\u6bd4\u8f83\u5b8c\u6574\u7684\u9879\u76ee&#xff0c;\u89e3\u51b3\u95ee\u9898\u65f6\u5145\u5206\u5229\u7528\u5230\u4e86\u95ee\u9898\u7684\u7279\u6027&#xff0c;\u5e76\u7ed3\u5408\u4e86\u8bfe\u5802\u4e0a\u5f88\u591a\u5b66\u8fc7\u7684\u77e5\u8bc6&#xff0c;\u6bd4\u5982 OTUS \u9600\u503c\u5206\u5272\u3001\u56fe\u50cf\u5f62\u6001\u5b66\u3001\u533a\u57df\u7d27\u6027\u3001\u6700\u5c0f\u51f8\u5305\u7b49\u7b49&#xff0c;\u4f53\u4f1a\u5230\u4e86\u77e5\u8bc6\u7684\u529b\u91cf&#xff0c;\u63d0\u9ad8\u4e86\u52a8\u624b\u80fd\u529b\u548c\u7075\u6d3b\u8fd0\u7528\u77e5\u8bc6\u7684\u80fd\u529b&#xff0c;\u4e5f\u7b97\u662f\u5bf9\u8fd9\u95e8\u8bfe\u7684\u4e00\u4e2a\u4ea4\u4ee3\u3002<\/p>\n<p id=\"ua766d67e\">\u5377\u79ef\u795e\u7ecf\u7f51\u7edc\u7684\u5b9e\u73b0\u8ba9\u6211\u611f\u53d7\u5230\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u7684\u795e\u5947\u4e4b\u5904&#xff0c;\u65e0\u9700\u4eba\u5de5\u7f16\u5199\u590d\u6742\u7684\u7b97\u6cd5&#xff0c;\u4e5f\u4e0d\u7528\u4eba\u5de5\u63d0\u53d6\u7279\u5f81&#xff0c;\u795e\u7ecf\u7f51\u7edc\u5c31\u80fd\u4ee5\u4e0d\u9519\u7684\u6027\u80fd\u5b8c\u6210\u4efb\u52a1\u3002\u603b\u4e4b&#xff0c;\u7ecf\u8fc7\u672c\u6b21\u5927\u4f5c\u4e1a\u7684\u63a8\u8fdb&#xff0c;\u6211\u5bf9\u624b\u52bf\u8bc6\u522b\u9886\u57df\u6709\u4e86\u4e00\u5b9a\u7684\u4e86<\/p>\n<p id=\"ub2506359\">\u89e3&#xff0c;\u5b8c\u6210\u5927\u4f5c\u4e1a\u7684\u8fc7\u7a0b\u4e2d\u4e5f\u63d0\u9ad8\u4e86\u6211\u53d1\u73b0\u95ee\u9898\u3001\u89e3\u51b3\u95ee\u9898\u7684\u80fd\u529b&#xff0c;\u53d7\u76ca\u532a\u6d45\u3002<\/p>\n<h3 id=\"YYy0M\">\u516b\u3001\u53c2\u8003\u8d44\u6599<\/h3>\n<p>Eddy, W. F. J. A. T. M. S. (1977). A new convex hull algorithm for planar sets. 3(4), 398-403.<br \/>\n    Liu, Z.-f., You, Z.-s., Jain, A. K., &amp; Wang, Y.-q. (2003, 27-30 Sept. 2003). Face detection and facial feature extraction in color image. Paper presented at the Proceedings Fifth International Conference on Computational Intelligence and Multimedia Applications. ICCIMA 2003.<br \/>\n    Otsu, N. J. I. t. o. s., man,, &amp; cybernetics. (1979). A threshold selection method from gray-level histograms. 9(1), 62-66.<br \/>\n    Zivkovic, Z., &amp; Van Der Heijden, F. J. P. r. l. (2006). Efficient adaptive density estimation per image pixel for the task of background subtraction.<br \/>\n    , 773-780.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u267b\ufe0f \u8d44\u6e90<br \/>\n\u5927\u5c0f&#xff1a; 10.0MB<br \/>\n\u27a1\ufe0f \u8d44\u6e90\u4e0b\u8f7d&#xff1a;https:\/\/download.csdn.net\/download\/s1t16\/87490654https:\/\/download.csdn.net\/download\/s1t16\/87490654 \u6570\u5b57\u56fe\u50cf\u5904\u7406<br \/>\n\u4e00\u3001\u603b\u8ff0<br \/>\n\u624b\u52bf\u8bc6\u522b\u662f\u5728\u8ba1\u7b97\u673a\u89c6\u89c9\u9886\u57df\u4e2d\u53d7\u5230\u5e7f\u6cdb\u5173\u6ce8\u7684\u95ee\u9898&#xff0c;\u65e9\u5728\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u5d1b\u8d77\u524d&#xff0c;\u7814\u7a76\u8005\u548c\u7a0b\u5e8f\u5458\u4eec\u5c31\u5bf9\u8be5\u95ee\u9898\u8fdb\u884c\u4e86\u4e00\u5b9a\u7684\u63a2\u7d22&#xff0c;\u4f46\u4f20\u7edf\u7684\u7b97\u6cd5\u6bd4<\/p>\n","protected":false},"author":2,"featured_media":121234,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1460,81,190],"topic":[],"class_list":["post-121254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-opencv","tag-python","tag-190"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u57fa\u4e8ePython OpenCV\u5b9e\u73b0\u6570\u5b57\u56fe\u50cf\u5904\u7406\uff08\u624b\u52bf\u6570\u5b57\u8bc6\u522b\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\/121254.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u57fa\u4e8ePython OpenCV\u5b9e\u73b0\u6570\u5b57\u56fe\u50cf\u5904\u7406\uff08\u624b\u52bf\u6570\u5b57\u8bc6\u522b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u267b\ufe0f \u8d44\u6e90 \u5927\u5c0f&#xff1a; 10.0MB \u27a1\ufe0f \u8d44\u6e90\u4e0b\u8f7d&#xff1a;https:\/\/download.csdn.net\/download\/s1t16\/87490654https:\/\/download.csdn.net\/download\/s1t16\/87490654 \u6570\u5b57\u56fe\u50cf\u5904\u7406 \u4e00\u3001\u603b\u8ff0 \u624b\u52bf\u8bc6\u522b\u662f\u5728\u8ba1\u7b97\u673a\u89c6\u89c9\u9886\u57df\u4e2d\u53d7\u5230\u5e7f\u6cdb\u5173\u6ce8\u7684\u95ee\u9898&#xff0c;\u65e9\u5728\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u5d1b\u8d77\u524d&#xff0c;\u7814\u7a76\u8005\u548c\u7a0b\u5e8f\u5458\u4eec\u5c31\u5bf9\u8be5\u95ee\u9898\u8fdb\u884c\u4e86\u4e00\u5b9a\u7684\u63a2\u7d22&#xff0c;\u4f46\u4f20\u7edf\u7684\u7b97\u6cd5\u6bd4\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/121254.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-02T03:25:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b4235d3.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/121254.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/121254.html\",\"name\":\"\u57fa\u4e8ePython OpenCV\u5b9e\u73b0\u6570\u5b57\u56fe\u50cf\u5904\u7406\uff08\u624b\u52bf\u6570\u5b57\u8bc6\u522b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-02T03:25:42+00:00\",\"dateModified\":\"2026-11-02T03:25:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/121254.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/121254.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/121254.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u57fa\u4e8ePython OpenCV\u5b9e\u73b0\u6570\u5b57\u56fe\u50cf\u5904\u7406\uff08\u624b\u52bf\u6570\u5b57\u8bc6\u522b\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\u4e8ePython OpenCV\u5b9e\u73b0\u6570\u5b57\u56fe\u50cf\u5904\u7406\uff08\u624b\u52bf\u6570\u5b57\u8bc6\u522b\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\/121254.html","og_locale":"zh_CN","og_type":"article","og_title":"\u57fa\u4e8ePython OpenCV\u5b9e\u73b0\u6570\u5b57\u56fe\u50cf\u5904\u7406\uff08\u624b\u52bf\u6570\u5b57\u8bc6\u522b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u267b\ufe0f \u8d44\u6e90 \u5927\u5c0f&#xff1a; 10.0MB \u27a1\ufe0f \u8d44\u6e90\u4e0b\u8f7d&#xff1a;https:\/\/download.csdn.net\/download\/s1t16\/87490654https:\/\/download.csdn.net\/download\/s1t16\/87490654 \u6570\u5b57\u56fe\u50cf\u5904\u7406 \u4e00\u3001\u603b\u8ff0 \u624b\u52bf\u8bc6\u522b\u662f\u5728\u8ba1\u7b97\u673a\u89c6\u89c9\u9886\u57df\u4e2d\u53d7\u5230\u5e7f\u6cdb\u5173\u6ce8\u7684\u95ee\u9898&#xff0c;\u65e9\u5728\u6df1\u5ea6\u795e\u7ecf\u7f51\u7edc\u5d1b\u8d77\u524d&#xff0c;\u7814\u7a76\u8005\u548c\u7a0b\u5e8f\u5458\u4eec\u5c31\u5bf9\u8be5\u95ee\u9898\u8fdb\u884c\u4e86\u4e00\u5b9a\u7684\u63a2\u7d22&#xff0c;\u4f46\u4f20\u7edf\u7684\u7b97\u6cd5\u6bd4","og_url":"https:\/\/www.wsisp.com\/helps\/121254.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-02T03:25:42+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261102032540-6ae802b4235d3.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/121254.html","url":"https:\/\/www.wsisp.com\/helps\/121254.html","name":"\u57fa\u4e8ePython OpenCV\u5b9e\u73b0\u6570\u5b57\u56fe\u50cf\u5904\u7406\uff08\u624b\u52bf\u6570\u5b57\u8bc6\u522b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-02T03:25:42+00:00","dateModified":"2026-11-02T03:25:42+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/121254.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/121254.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/121254.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u57fa\u4e8ePython OpenCV\u5b9e\u73b0\u6570\u5b57\u56fe\u50cf\u5904\u7406\uff08\u624b\u52bf\u6570\u5b57\u8bc6\u522b\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\/121254","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=121254"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/121254\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/121234"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=121254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=121254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=121254"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=121254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}