{"id":1122,"date":"2025-04-26T23:52:57","date_gmt":"2025-04-26T15:52:57","guid":{"rendered":"https:\/\/hali.life\/?p=1122"},"modified":"2025-04-27T02:18:23","modified_gmt":"2025-04-26T18:18:23","slug":"%e3%80%90%e9%98%bf%e9%87%8c%e4%ba%91%e5%a4%8d%e4%bb%87%e8%ae%b04%e3%80%91%e8%87%aa%e5%8a%a8%e8%af%86%e5%88%ab%e8%ba%ab%e4%bb%bd%e8%af%81%e5%86%85%e5%ae%b9-%e8%ba%ab%e4%bb%bd%e8%af%81ocr%e8%af%86","status":"publish","type":"post","link":"https:\/\/hali.life\/?p=1122","title":{"rendered":"\u3010\u963f\u91cc\u4e91\u590d\u4ec7\u8bb04\u3011\u81ea\u52a8\u8bc6\u522b\u8eab\u4efd\u8bc1\u5185\u5bb9 \u8eab\u4efd\u8bc1OCR\u8bc6\u522b"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">\u7b80\u4ecb<\/h1>\n\n\n\n<p>\u672c\u671f\u963f\u91cc\u4e91\u590d\u4ec7\u8bb0\u5462\u6765\u8bb2\u8bb2 ocr\u8bc6\u522b \u3002\u5927\u5bb6\u5728\u4f7f\u7528\u9700\u8981\u5b9e\u540d\u7684app\u7684\u65f6\u5019\uff0c\u90fd\u6709\u4e00\u4e2a\u529f\u80fd\uff0c\u62cd\u4e00\u4e0b\u81ea\u5df1\u7684\u8eab\u4efd\u8bc1\u7167\u7247\uff0c\u5c31\u4f1a\u81ea\u52a8\u8bc6\u522b\u59d3\u540d\u751f\u65e5\u8eab\u4efd\u8bc1\u53f7\uff0c\u5e2e\u4f60\u586b\u597d\u3002\u4e5f\u6709\u62a4\u7167\uff0c\u9a7e\u7167 \u4e5f\u662f\u7c7b\u4f3c\u3002\u5c31\u8fd9\u4e48\u4e00\u4e2a\u5c0f\u529f\u80fd\uff0c\u963f\u91cc\u4e91\u7684\u6536\u8d39\u6807\u51c6\uff0c45\u5757\u94b15000\u70b9\uff0c\u8bc6\u522b\u4e00\u6b21\u6d88\u801710\u70b9\uff0c\u4e5f\u5c31\u662f\u5dee\u591a<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">0.1\u5143\/\u6b21<\/mark><\/strong>\u3002\u8fd9\u4e2a\u529f\u80fd\u6211\u4eec\u5b8c\u5168\u53ef\u4ee5\u81ea\u5df1\u5f00\u53d1<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u4e0b\u8f7d<\/h1>\n\n\n\n<p>\u535a\u4e3b\u51c6\u5907\u672c\u671f\u89c6\u9891\u6240\u9700\u6587\u4ef6\uff1a<a href=\"https:\/\/pan.quark.cn\/s\/ea8f90f8a24d\" target=\"_blank\" rel=\"noreferrer noopener\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">\u3010\u963f\u91cc\u4e91\u590d\u4ec7\u8bb04\u3011\u535a\u4e3b\u4ee3\u7801\u53ca\u5de5\u5177<\/mark><\/strong><\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u5b89\u88c5\u53ca\u8fd0\u884c<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u5b89\u88c5\u73af\u5883<\/h2>\n\n\n\n<p>\u9996\u5148\u5b89\u88c5python\u73af\u58833.11\uff0c\u5b89\u88c5\u5305\u5728\u4e0a\u8ff0\u94fe\u63a5\u4e2d\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u865a\u62df\u73af\u5883\uff08\u53ef\u9009\uff09\npython -m venv myenv\nmyenv\\Scripts\\activate\n \n\n# \u5b89\u88c5paddlepaddle\n# cpu\u7248\npip install paddlepaddle==2.6.2\n\n# gpu\u7248  \u9700\u8981\u5b89\u88c5\u4e0b\u8f7d\u5305\u4e2d\u7684cuda\npip install paddlepaddle-gpu==2.6.2.post117\n\n\n# \u5b89\u88c5 paddleocr\npip install paddleocr\n\n# \u5b89\u88c5 paddlenlp\npip install paddlenlp<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u8fd0\u884c<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>python .\\test.py<\/code><\/pre>\n\n\n\n<p>\u5e76\u586b\u5165\u8eab\u4efd\u8bc1\u56fe\u7247\u7684\u8def\u5f84\u5373\u53ef\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u89c6\u9891\u6559\u7a0b<\/h1>\n\n\n\n<iframe src=\"\/\/player.bilibili.com\/player.html?bvid=BV1UCLZzAEJL&#038;page=1\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\" style=\"width:100%; height:500px; max-width: 100%\uff1balign:center; margin-left: 60px; \"> <\/iframe>\n","protected":false},"excerpt":{"rendered":"<p>\u7b80\u4ecb \u672c\u671f\u963f\u91cc\u4e91\u590d\u4ec7\u8bb0\u5462\u6765\u8bb2\u8bb2 ocr\u8bc6\u522b \u3002\u5927\u5bb6\u5728\u4f7f\u7528\u9700\u8981\u5b9e\u540d\u7684app\u7684\u65f6\u5019\uff0c\u90fd\u6709\u4e00\u4e2a\u529f\u80fd\uff0c\u62cd\u4e00\u4e0b\u81ea\u5df1\u7684\u8eab\u4efd&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":1123,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"views":3408,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts\/1122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1122"}],"version-history":[{"count":3,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts\/1122\/revisions"}],"predecessor-version":[{"id":1126,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/posts\/1122\/revisions\/1126"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=\/wp\/v2\/media\/1123"}],"wp:attachment":[{"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hali.life\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}