{"id":87177,"date":"2026-07-30T00:08:40","date_gmt":"2026-07-29T16:08:40","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/87177.html"},"modified":"2026-07-30T00:08:40","modified_gmt":"2026-07-29T16:08:40","slug":"opencv-c%e8%bd%a6%e5%9e%8b%e8%af%86%e5%88%ab1-%e5%9b%be%e5%83%8f%e9%a2%84%e5%a4%84%e7%90%86","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/87177.html","title":{"rendered":"OpenCV C++\u8f66\u578b\u8bc6\u522b1-\u56fe\u50cf\u9884\u5904\u7406"},"content":{"rendered":"<p>\u8fd9\u4e2a\u7a0b\u5e8f\u4f7f\u7528OpenCV C&#043;&#043;\u5b9e\u73b0\u7b80\u5355\u7684\u8f66\u578b\u8bc6\u522b&#xff0c;\u8fd9\u4e00\u5c0f\u8282\u8fdb\u884c\u56fe\u50cf\u9884\u5904\u7406\u3002<\/p>\n<p>\u8f93\u5165\u56fe\u7247\u662f\u6ca1\u6709\u5c0f\u6c7d\u8f66\u7684\u80cc\u666f\u56fe\u7247\u548c\u6709\u5c0f\u6c7d\u8f66\u7684\u524d\u666f\u56fe\u7247&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"248\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260729160838-6a6a25868ddd2.bmp\" width=\"330\" \/>\u00a0 \u00a0<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"248\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260729160838-6a6a25869f291.bmp\" width=\"330\" \/><\/p>\n<p>\u4e0a\u9762\u4e24\u5f20\u56fe\u7247\u505a\u5dee&#xff0c;\u63d0\u53d6\u51fa\u53ea\u6709\u5c0f\u6c7d\u8f66\u7684\u524d\u666f\u56fe\u7247\u5e76\u4e8c\u503c\u5316\u5904\u7406&#xff1a;<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"400\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260729160838-6a6a2586aa0d8.png\" width=\"731\" \/><\/p>\n<p>\u7136\u540e\u5f00\u8fd0\u7b97(\u5148\u8150\u8680\u540e\u81a8\u80c0)&#xff0c;\u53bb\u9664\u56fe\u50cf\u91cc\u7684\u566a\u70b9\u548c\u5c0f\u7269\u4f53&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"444\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260729160838-6a6a2586f2299.png\" width=\"990\" \/><\/p>\n<p>\u73b0\u5728\u53ea\u5269\u4e0b\u51e0\u4e2a\u5c0f\u566a\u70b9\u4e86&#xff0c;\u53bb\u6389\u8fd9\u51e0\u4e2a\u5c0f\u566a\u70b9\u5e76\u628a\u6574\u4e2a\u8f66\u8f86\u586b\u5145\u4e3a\u4e00\u4e2a\u6574\u4f53&#xff0c;\u5f97\u5230\u6700\u7ec8\u7684\u7ed3\u679c&#xff1a;<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"200\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260729160839-6a6a25872536b.png\" width=\"460\" \/><\/p>\n<p>\u7b2c\u4e8c\u5c0f\u8282\u662f\u5f62\u72b6\u8bc6\u522b\u300aOpenCV C&#043;&#043;\u8f66\u578b\u8bc6\u522b2-\u5f62\u72b6\u5339\u914d-CSDN\u535a\u5ba2\u300b<\/p>\n<p>\u4ee3\u7801&#xff1a;<\/p>\n<p>void Imgsub()<br \/>\n{<br \/>\nBkGray&#061;cvCreateImage(cvGetSize(BkImg),8,1);<br \/>\ncvCvtColor(BkImg,BkGray,CV_BGR2GRAY);<br \/>\nFrGray&#061;cvCreateImage(cvGetSize(BkImg),8,1);<br \/>\ncvCvtColor(FrImg,FrGray,CV_BGR2GRAY);<\/p>\n<p>cvSmooth(BkGray,BkGray,CV_GAUSSIAN,5);<br \/>\ncvSmooth(FrGray,FrGray,CV_GAUSSIAN,5);<\/p>\n<p>SubImg&#061;cvCreateImage(cvGetSize(BkImg),8,1);<br \/>\ncvAbsDiff(FrGray,BkGray,SubImg);<br \/>\n}<\/p>\n<p>void Binary()<br \/>\n{<br \/>\nBinaryImg&#061;cvCreateImage(cvGetSize(BkImg),8,1);<br \/>\ncvThreshold(SubImg,BinaryImg,0,255,CV_THRESH_OTSU);<br \/>\n}<\/p>\n<p>void Open()<br \/>\n{<br \/>\nIplConvKernel * kernel_5_5;<br \/>\nkernel_5_5&#061;cvCreateStructuringElementEx(5,5,2,2,CV_SHAPE_ELLIPSE,0);<br \/>\nIplConvKernel * kernel_7_7;<br \/>\nkernel_7_7&#061;cvCreateStructuringElementEx(7,7,3,3,CV_SHAPE_ELLIPSE,0);<\/p>\n<p>cvErode(BinaryImg,BinaryImg,kernel_5_5,1);<\/p>\n<p>cvDilate(BinaryImg,BinaryImg,kernel_7_7,1);<br \/>\n}<\/p>\n<p>void Removenoise()<br \/>\n{<br \/>\nIplImage * BinaryImg2;<br \/>\nBinaryImg2&#061;cvCloneImage(BinaryImg);<\/p>\n<p>CvMemStorage * storage&#061;cvCreateMemStorage(0);<\/p>\n<p>CvSeq * area_contour&#061;NULL;<br \/>\nint Number_contours&#061;0;<br \/>\ndouble Area&#061;0;<br \/>\nCvScalar s_fill_new;<br \/>\ns_fill_new.val[0]&#061;0;<br \/>\nCvScalar loDiff;<br \/>\nloDiff.val[0]&#061;10;<br \/>\nCvScalar upDiff;<br \/>\nupDiff.val[0]&#061;10;<br \/>\nNumber_contours&#061;cvFindContours(BinaryImg,storage,&amp;area_contour,sizeof(CvContour),CV_RETR_EXTERNAL);<br \/>\nfor(CvSeq * c&#061;area_contour;c!&#061;NULL;c&#061;c-&gt;h_next)<br \/>\n{<br \/>\nArea&#061;fabs(cvContourPerimeter(c));<br \/>\nif(Area&lt;30)<br \/>\n{<br \/>\nfor(int i&#061;0;i&lt;1;i&#043;&#043;)<br \/>\n{<br \/>\nCvPoint * seedpoint&#061;CV_GET_SEQ_ELEM(CvPoint,c,i);<br \/>\ncvFloodFill(BinaryImg2,*seedpoint,s_fill_new,loDiff,upDiff,NULL,4,0);<br \/>\n}<br \/>\n}<br \/>\n}<br \/>\nBinaryImg&#061;cvCloneImage(BinaryImg2);<br \/>\n}<\/p>\n<p>void Imgfill()<br \/>\n{<br \/>\nCvScalar s;<br \/>\nCvScalar s_new;<br \/>\ns_new.val[0]&#061;255;<br \/>\nint left_X&#061;0;<br \/>\n    int right_X&#061;0;<br \/>\nint top_Y&#061;0;<br \/>\nint bottom_Y&#061;0;<\/p>\n<p>for(int wt&#061;0;wt&lt;BinaryImg-&gt;width;wt&#043;&#043;)<br \/>\n{<br \/>\nfor(int ht&#061;0;ht&lt;BinaryImg-&gt;height;ht&#043;&#043;)<br \/>\n{<br \/>\ns&#061;cvGet2D(BinaryImg,ht,wt);<br \/>\nif(255&#061;&#061;s.val[0])<br \/>\n{<br \/>\ntop_Y&#061;ht;<br \/>\nfor(int m&#061;BinaryImg-&gt;height-1;m&gt;&#061;0;m&#8211;)<br \/>\n{<br \/>\ns&#061;cvGet2D(BinaryImg,m,wt);<br \/>\nif(255&#061;&#061;s.val[0])<br \/>\n{<br \/>\nbottom_Y&#061;m;<br \/>\nbreak;<br \/>\n}<br \/>\n}<br \/>\nfor(int i&#061;top_Y;i&lt;&#061;bottom_Y;i&#043;&#043;)<br \/>\ncvSet2D(BinaryImg,i,wt,s_new);<br \/>\nht&#061;BinaryImg-&gt;height;<br \/>\n}<br \/>\n}<br \/>\n}<\/p>\n<p>for(int ht&#061;0;ht&lt;BinaryImg-&gt;height;ht&#043;&#043;)<br \/>\n{<br \/>\nfor(int wt&#061;0;wt&lt;BinaryImg-&gt;width;wt&#043;&#043;)<br \/>\n{<br \/>\ns&#061;cvGet2D(BinaryImg,ht,wt);<br \/>\nif(255&#061;&#061;s.val[0])<br \/>\n{<br \/>\nfor(int m&#061;BinaryImg-&gt;width-1;m&gt;&#061;0;m&#8211;)<br \/>\n{<br \/>\ns&#061;cvGet2D(BinaryImg,ht,m);<br \/>\nif(255&#061;&#061;s.val[0])<br \/>\n{<br \/>\nright_X&#061;m;<br \/>\nbreak;<br \/>\n}<br \/>\n}<br \/>\nfor(int i&#061;left_X;i&lt;&#061;right_X;i&#043;&#043;)<br \/>\ncvSet2D(BinaryImg,ht,i,s_new);<br \/>\nwt&#061;BinaryImg-&gt;width;<br \/>\n}<br \/>\n}<br \/>\n}<br \/>\n}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e2a\u7a0b\u5e8f\u4f7f\u7528OpenCV C\u5b9e\u73b0\u7b80\u5355\u7684\u8f66\u578b\u8bc6\u522b&#xff0c;\u8fd9\u4e00\u5c0f\u8282\u8fdb\u884c\u56fe\u50cf\u9884\u5904\u7406\u3002<br \/>\n\u8f93\u5165\u56fe\u7247\u662f\u6ca1\u6709\u5c0f\u6c7d\u8f66\u7684\u80cc\u666f\u56fe\u7247\u548c\u6709\u5c0f\u6c7d\u8f66\u7684\u524d\u666f\u56fe\u7247&#xff1a; \u4e0a\u9762\u4e24\u5f20\u56fe\u7247\u505a\u5dee&#xff0c;\u63d0\u53d6\u51fa\u53ea\u6709\u5c0f\u6c7d\u8f66\u7684\u524d\u666f\u56fe\u7247\u5e76\u4e8c\u503c\u5316\u5904\u7406&#xff1a; \u7136\u540e\u5f00\u8fd0\u7b97(\u5148\u8150\u8680\u540e\u81a8\u80c0)&#xff0c;\u53bb\u9664\u56fe\u50cf\u91cc\u7684\u566a\u70b9\u548c\u5c0f\u7269\u4f53&#xff1a; \u73b0\u5728\u53ea\u5269\u4e0b\u51e0\u4e2a\u5c0f\u566a\u70b9\u4e86&#xff0c;\u53bb\u6389\u8fd9\u51e0\u4e2a\u5c0f\u566a\u70b9\u5e76\u628a\u6574\u4e2a\u8f66\u8f86\u586b\u5145\u4e3a\u4e00\u4e2a\u6574\u4f53&#xff0c;\u5f97\u5230\u6700\u7ec8\u7684\u7ed3\u679c&#xff1a; \u7b2c\u4e8c\u5c0f\u8282\u662f\u5f62\u72b6\u8bc6\u522b\u300aO<\/p>\n","protected":false},"author":2,"featured_media":87172,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,1460,50,523],"topic":[],"class_list":["post-87177","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-opencv","tag-50","tag-523"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>OpenCV C++\u8f66\u578b\u8bc6\u522b1-\u56fe\u50cf\u9884\u5904\u7406 - \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\/87177.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OpenCV C++\u8f66\u578b\u8bc6\u522b1-\u56fe\u50cf\u9884\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u8fd9\u4e2a\u7a0b\u5e8f\u4f7f\u7528OpenCV C\u5b9e\u73b0\u7b80\u5355\u7684\u8f66\u578b\u8bc6\u522b&#xff0c;\u8fd9\u4e00\u5c0f\u8282\u8fdb\u884c\u56fe\u50cf\u9884\u5904\u7406\u3002 \u8f93\u5165\u56fe\u7247\u662f\u6ca1\u6709\u5c0f\u6c7d\u8f66\u7684\u80cc\u666f\u56fe\u7247\u548c\u6709\u5c0f\u6c7d\u8f66\u7684\u524d\u666f\u56fe\u7247&#xff1a; \u4e0a\u9762\u4e24\u5f20\u56fe\u7247\u505a\u5dee&#xff0c;\u63d0\u53d6\u51fa\u53ea\u6709\u5c0f\u6c7d\u8f66\u7684\u524d\u666f\u56fe\u7247\u5e76\u4e8c\u503c\u5316\u5904\u7406&#xff1a; \u7136\u540e\u5f00\u8fd0\u7b97(\u5148\u8150\u8680\u540e\u81a8\u80c0)&#xff0c;\u53bb\u9664\u56fe\u50cf\u91cc\u7684\u566a\u70b9\u548c\u5c0f\u7269\u4f53&#xff1a; \u73b0\u5728\u53ea\u5269\u4e0b\u51e0\u4e2a\u5c0f\u566a\u70b9\u4e86&#xff0c;\u53bb\u6389\u8fd9\u51e0\u4e2a\u5c0f\u566a\u70b9\u5e76\u628a\u6574\u4e2a\u8f66\u8f86\u586b\u5145\u4e3a\u4e00\u4e2a\u6574\u4f53&#xff0c;\u5f97\u5230\u6700\u7ec8\u7684\u7ed3\u679c&#xff1a; \u7b2c\u4e8c\u5c0f\u8282\u662f\u5f62\u72b6\u8bc6\u522b\u300aO\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/87177.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-29T16:08:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260729160838-6a6a25868ddd2.bmp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/87177.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/87177.html\",\"name\":\"OpenCV C++\u8f66\u578b\u8bc6\u522b1-\u56fe\u50cf\u9884\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-29T16:08:40+00:00\",\"dateModified\":\"2026-07-29T16:08:40+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/87177.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/87177.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/87177.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenCV C++\u8f66\u578b\u8bc6\u522b1-\u56fe\u50cf\u9884\u5904\u7406\"}]},{\"@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":"OpenCV C++\u8f66\u578b\u8bc6\u522b1-\u56fe\u50cf\u9884\u5904\u7406 - \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\/87177.html","og_locale":"zh_CN","og_type":"article","og_title":"OpenCV C++\u8f66\u578b\u8bc6\u522b1-\u56fe\u50cf\u9884\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u8fd9\u4e2a\u7a0b\u5e8f\u4f7f\u7528OpenCV C\u5b9e\u73b0\u7b80\u5355\u7684\u8f66\u578b\u8bc6\u522b&#xff0c;\u8fd9\u4e00\u5c0f\u8282\u8fdb\u884c\u56fe\u50cf\u9884\u5904\u7406\u3002 \u8f93\u5165\u56fe\u7247\u662f\u6ca1\u6709\u5c0f\u6c7d\u8f66\u7684\u80cc\u666f\u56fe\u7247\u548c\u6709\u5c0f\u6c7d\u8f66\u7684\u524d\u666f\u56fe\u7247&#xff1a; \u4e0a\u9762\u4e24\u5f20\u56fe\u7247\u505a\u5dee&#xff0c;\u63d0\u53d6\u51fa\u53ea\u6709\u5c0f\u6c7d\u8f66\u7684\u524d\u666f\u56fe\u7247\u5e76\u4e8c\u503c\u5316\u5904\u7406&#xff1a; \u7136\u540e\u5f00\u8fd0\u7b97(\u5148\u8150\u8680\u540e\u81a8\u80c0)&#xff0c;\u53bb\u9664\u56fe\u50cf\u91cc\u7684\u566a\u70b9\u548c\u5c0f\u7269\u4f53&#xff1a; \u73b0\u5728\u53ea\u5269\u4e0b\u51e0\u4e2a\u5c0f\u566a\u70b9\u4e86&#xff0c;\u53bb\u6389\u8fd9\u51e0\u4e2a\u5c0f\u566a\u70b9\u5e76\u628a\u6574\u4e2a\u8f66\u8f86\u586b\u5145\u4e3a\u4e00\u4e2a\u6574\u4f53&#xff0c;\u5f97\u5230\u6700\u7ec8\u7684\u7ed3\u679c&#xff1a; \u7b2c\u4e8c\u5c0f\u8282\u662f\u5f62\u72b6\u8bc6\u522b\u300aO","og_url":"https:\/\/www.wsisp.com\/helps\/87177.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-29T16:08:40+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260729160838-6a6a25868ddd2.bmp"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/87177.html","url":"https:\/\/www.wsisp.com\/helps\/87177.html","name":"OpenCV C++\u8f66\u578b\u8bc6\u522b1-\u56fe\u50cf\u9884\u5904\u7406 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-29T16:08:40+00:00","dateModified":"2026-07-29T16:08:40+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/87177.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/87177.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/87177.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"OpenCV C++\u8f66\u578b\u8bc6\u522b1-\u56fe\u50cf\u9884\u5904\u7406"}]},{"@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\/87177","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=87177"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/87177\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/87172"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=87177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=87177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=87177"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=87177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}