{"id":312037,"date":"2024-05-20T22:28:54","date_gmt":"2024-05-20T14:28:54","guid":{"rendered":""},"modified":"2024-05-20T22:29:03","modified_gmt":"2024-05-20T14:29:03","slug":"python-%e7%bc%96%e7%a8%8b%e7%9a%84-pytesseract-%e5%ba%93%e6%80%8e%e4%b9%88%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/312037.html","title":{"rendered":"python \u7f16\u7a0b\u7684 pytesseract \u5e93\u600e\u4e48\u4f7f\u7528"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26232649\/d45051d0-20f5-4018-a0cf-65abb257eb29.webp\" alt=\"python \u7f16\u7a0b\u7684 pytesseract \u5e93\u600e\u4e48\u4f7f\u7528\" \/><\/p>\n<p><p>Pytesseract\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u5f00\u6e90OCR\uff08\u5149\u5b66\u5b57\u7b26\u8bc6\u522b\uff09\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u4ece\u56fe\u7247\u4e2d\u63d0\u53d6\u6587\u5b57\u3002<strong>\u4f7f\u7528Pytesseract\u5e93\u9700\u8981\u5b89\u88c5Python\u73af\u5883\u3001Pytesseract\u5e93\u4ee5\u53caTesseract-OCR\u5f15\u64ce<\/strong>\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u786e\u4fdd\u5728\u4f60\u7684\u7cfb\u7edf\u4e0a\u5b89\u88c5\u4e86Tesseract-OCR\u5f15\u64ce\uff0c\u7136\u540e\u901a\u8fc7pip\u5b89\u88c5Pytesseract\u5e93\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5bfc\u5165\u5e93\u5e76\u4f7f\u7528<code>image_to_string<\/code>\u65b9\u6cd5\u6765\u63d0\u53d6\u56fe\u7247\u4e2d\u7684\u6587\u5b57\u3002\u4f7f\u7528Pytesseract\u7684\u5173\u952e\u5728\u4e8e\u9009\u62e9\u5408\u9002\u7684\u9884\u5904\u7406\u6280\u672f\u6765\u4f18\u5316\u8bc6\u522b\u7387\uff0c<strong>\u5982\u8c03\u6574\u56fe\u50cf\u7684\u5bf9\u6bd4\u5ea6\u3001\u4f7f\u7528\u4e8c\u503c\u5316\u6280\u672f\u6216\u8005\u5e94\u7528\u56fe\u50cf\u6ee4\u6ce2\u5668<\/strong>\u3002\u5bf9\u4e8e\u4e0d\u540c\u7684\u56fe\u7247\uff0c\u8fd9\u4e9b\u5904\u7406\u6280\u672f\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u8bc6\u522b\u7684\u51c6\u786e\u6027\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecdPytesseract\u7684\u57fa\u672c\u7528\u6cd5\uff0c\u5305\u62ec\u5b89\u88c5\u3001\u56fe\u7247\u9884\u5904\u7406\u6280\u672f\uff0c\u4ee5\u53ca\u5982\u4f55\u63d0\u53d6\u56fe\u7247\u4e2d\u7684\u6587\u5b57\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b89\u88c5Pytesseract\u548cTesseract-OCR<\/h3>\n<\/p>\n<p><h4>\u5b89\u88c5Tesseract-OCR<\/h4>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Pytesseract\u4e4b\u524d\uff0c\u4f60\u9700\u8981\u5728\u4f60\u7684\u7cfb\u7edf\u4e0a\u5b89\u88c5Tesseract-OCR\u3002Tesseract\u662f\u7531Google\u5f00\u53d1\u7684\u4e00\u4e2aOCR\u5f15\u64ce\uff0c\u652f\u6301\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u3002\u5728Windows\u4e0a\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5b98\u65b9\u63d0\u4f9b\u7684\u5b89\u88c5\u7a0b\u5e8f\u5b89\u88c5Tesseract\u3002\u5728Linux\u548cMacOS\u4e0a\uff0c\u53ef\u4ee5\u901a\u8fc7\u5305\u7ba1\u7406\u5668\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<\/p>\n<p><h4>\u5b89\u88c5Pytesseract\u5e93<\/h4>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8cTesseract\u540e\uff0c\u5c31\u53ef\u4ee5\u901a\u8fc7pip\u547d\u4ee4\u5b89\u88c5Pytesseract\u5e93\u4e86\uff1a<\/p>\n<\/p>\n<p><pre><code>pip install pytesseract<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u8ba9Pytesseract\u80fd\u591f\u627e\u5230Tesseract-OCR\u5f15\u64ce\uff0c\u4f60\u53ef\u80fd\u9700\u8981\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u3002\u5728Windows\u4e0a\uff0c\u8fd9\u610f\u5473\u7740\u9700\u8981\u5c06Tesseract\u7684\u5b89\u88c5\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u7684PATH\u53d8\u91cf\u4e2d\u3002\u5728Linux\u548cMacOS\u4e0a\uff0c\u4e00\u822c\u4e0d\u9700\u8981\u624b\u52a8\u914d\u7f6e\uff0c\u5b89\u88c5\u65f6\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528Pytesseract\u63d0\u53d6\u56fe\u7247\u4e2d\u7684\u6587\u5b57<\/h3>\n<\/p>\n<p><h4>\u57fa\u672c\u7528\u6cd5<\/h4>\n<\/p>\n<p><p>\u4e00\u65e6\u5b8c\u6210\u5b89\u88c5\u548c\u914d\u7f6e\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u4f7f\u7528Pytesseract\u6765\u8bc6\u522b\u56fe\u7247\u4e2d\u7684\u6587\u5b57\u4e86\u3002\u4f7f\u7528<code>pytesseract.image_to_string<\/code>\u51fd\u6570\u53ef\u4ee5\u8f7b\u677e\u5b8c\u6210\u8fd9\u4e00\u4efb\u52a1\u3002\u8fd9\u4e2a\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u56fe\u7247\u5bf9\u8c61\uff0c\u5e76\u8fd4\u56de\u8bc6\u522b\u51fa\u7684\u6587\u5b57\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\u4ee3\u7801<\/h4>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<p>import pytesseract<\/p>\n<h2><strong>\u6253\u5f00\u56fe\u7247<\/strong><\/h2>\n<p>image = Image.open(&#039;example.png&#039;)<\/p>\n<h2><strong>\u4f7f\u7528Pytesseract\u63d0\u53d6\u6587\u5b57<\/strong><\/h2>\n<p>text = pytesseract.image_to_string(image)<\/p>\n<p>print(text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u56fe\u7247\u9884\u5904\u7406\u6280\u672f<\/h3>\n<\/p>\n<p><h4>\u4f18\u5316\u8bc6\u522b\u7387\u7684\u5173\u952e<\/h4>\n<\/p>\n<p><p>\u5728\u5c06\u56fe\u7247\u4f20\u9012\u7ed9Pytesseract\u4e4b\u524d\uff0c\u5bf9\u5176\u8fdb\u884c\u9884\u5904\u7406\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u6587\u5b57\u8bc6\u522b\u7684\u51c6\u786e\u7387\u3002\u5e38\u89c1\u7684\u9884\u5904\u7406\u65b9\u6cd5\u5305\u62ec\u8c03\u6574\u4eae\u5ea6\u548c\u5bf9\u6bd4\u5ea6\u3001\u5e94\u7528\u4e8c\u503c\u5316\u4ee5\u53ca\u4f7f\u7528\u56fe\u50cf\u6ee4\u6ce2\u5668\u7b49\u3002<\/p>\n<\/p>\n<p><h4>\u793a\u4f8b\uff1a\u8c03\u6574\u5bf9\u6bd4\u5ea6\u548c\u4e8c\u503c\u5316<\/h4>\n<\/p>\n<p><p>\u63d0\u9ad8\u56fe\u7247\u7684\u5bf9\u6bd4\u5ea6\u53ef\u4ee5\u4f7f\u6587\u5b57\u4e0e\u80cc\u666f\u7684\u8fa8\u8bc6\u5ea6\u66f4\u9ad8\uff0c\u800c\u4e8c\u503c\u5316\u5904\u7406\uff08\u5c06\u56fe\u7247\u8f6c\u6362\u6210\u9ed1\u767d\u4e24\u8272\uff09\u5219\u662f\u63d0\u9ad8OCR\u8bc6\u522b\u51c6\u786e\u7387\u7684\u6709\u6548\u624b\u6bb5\u3002\u8fd9\u4e9b\u6280\u672f\u53ef\u4ee5\u4f7f\u7528PIL\u6216OpenCV\u7b49\u5e93\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageEnhance<\/p>\n<p>import pytesseract<\/p>\n<h2><strong>\u6253\u5f00\u56fe\u7247<\/strong><\/h2>\n<p>image = Image.open(&#039;example.png&#039;)<\/p>\n<h2><strong>\u8c03\u6574\u5bf9\u6bd4\u5ea6<\/strong><\/h2>\n<p>enhancer = ImageEnhance.Contrast(image)<\/p>\n<p>image_enhanced = enhancer.enhance(2)<\/p>\n<h2><strong>\u4f7f\u7528\u4e8c\u503c\u5316<\/strong><\/h2>\n<p>image_bw = image_enhanced.convert(&#039;1&#039;)<\/p>\n<h2><strong>\u4f7f\u7528Pytesseract\u63d0\u53d6\u6587\u5b57<\/strong><\/h2>\n<p>text = pytesseract.image_to_string(image_bw)<\/p>\n<p>print(text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u8fdb\u9636\u4f7f\u7528<\/h3>\n<\/p>\n<p><h4>\u5904\u7406\u591a\u8bed\u8a00\u6587\u672c<\/h4>\n<\/p>\n<p><p>Pytesseract\u652f\u6301\u591a\u8bed\u8a00\u7684\u6587\u672c\u8bc6\u522b\u3002\u5982\u679c\u4f60\u9700\u8981\u8bc6\u522b\u9664\u82f1\u6587\u4ee5\u5916\u7684\u6587\u5b57\uff0c\u53ef\u4ee5\u5728\u4f7f\u7528<code>image_to_string<\/code>\u51fd\u6570\u65f6\u901a\u8fc7<code>lang<\/code>\u53c2\u6570\u6307\u5b9a\u9700\u8981\u8bc6\u522b\u7684\u8bed\u8a00\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h4>\u4f7f\u7528\u81ea\u5b9a\u4e49\u914d\u7f6e<\/h4>\n<\/p>\n<p><p>Pytesseract\u5141\u8bb8\u7528\u6237\u901a\u8fc7\u914d\u7f6e\u53c2\u6570\u5bf9OCR\u5f15\u64ce\u8fdb\u884c\u5fae\u8c03\uff0c\u4ee5\u9002\u5e94\u4e0d\u540c\u7c7b\u578b\u7684\u56fe\u7247\u548c\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0d\u65ad\u5c1d\u8bd5\u548c\u8c03\u6574\u8fd9\u4e9b\u6280\u672f\uff0c\u4f60\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8Pytesseract\u5904\u7406\u4f60\u7684\u56fe\u7247\u7684\u6548\u7387\u548c\u51c6\u786e\u6027\u3002\u7406\u89e3\u548c\u638c\u63e1\u8fd9\u4e9b\u57fa\u7840\u53ca\u8fdb\u9636\u6280\u5de7\uff0c\u662f\u6709\u6548\u4f7f\u7528Pytesseract\u7684\u5173\u952e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u4f7f\u7528 pytesseract \u5e93\u8fdb\u884c\u56fe\u50cf\u8bc6\u522b\uff1f<\/strong><\/p>\n<p>Pytesseract\u5e93\u662f\u4e00\u4e2aPython\u5c01\u88c5\u7684Google\u5f00\u6e90OCR\u5f15\u64ceTesseract\u3002\u8981\u4f7f\u7528pytesseract\u8fdb\u884c\u56fe\u50cf\u8bc6\u522b\uff0c\u9996\u5148\u9700\u8981\u5b89\u88c5Tesseract OCR\u5f15\u64ce\u548cpytesseract\u5e93\u3002\u7136\u540e\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n<p>\u6b65\u9aa41\uff1a\u5bfc\u5165\u6240\u9700\u7684\u5e93\uff1a<code>import pytesseract<\/code><\/p>\n<p>\u6b65\u9aa42\uff1a\u8bfb\u53d6\u56fe\u50cf\uff1a<code>img = Image.open(&#039;image.jpg&#039;)<\/code><\/p>\n<p>\u6b65\u9aa43\uff1a\u5c06\u56fe\u50cf\u4f20\u9012\u7ed9pytesseract\u5e93\u8fdb\u884c\u8bc6\u522b\uff1a<code>text = pytesseract.image_to_string(img)<\/code><\/p>\n<p>\u6b65\u9aa44\uff1a\u6253\u5370\u8bc6\u522b\u5230\u7684\u6587\u672c\uff1a<code>print(text)<\/code><\/p>\n<p>\u8fd9\u6837\uff0c\u4f60\u5c31\u53ef\u4ee5\u901a\u8fc7pytesseract\u8fdb\u884c\u56fe\u50cf\u8bc6\u522b\u4e86\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u8c03\u6574 pytesseract \u5e93\u7684\u56fe\u50cf\u5904\u7406\u53c2\u6570\u4ee5\u63d0\u9ad8\u8bc6\u522b\u51c6\u786e\u7387\uff1f<\/strong><\/p>\n<p>pytesseract\u5e93\u63d0\u4f9b\u4e86\u4e00\u4e9b\u53ef\u4ee5\u8c03\u6574\u7684\u56fe\u50cf\u5904\u7406\u53c2\u6570\uff0c\u4ee5\u63d0\u9ad8\u8bc6\u522b\u51c6\u786e\u7387\u3002\u4e0b\u9762\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u53c2\u6570\uff1a<\/p>\n<ul>\n<li>\n<p><code>config<\/code>\uff1a\u53ef\u4ee5\u901a\u8fc7config\u53c2\u6570\u4f20\u9012\u4e00\u4e9b\u914d\u7f6e\u9009\u9879\uff0c\u6bd4\u5982\u8bed\u8a00\u53c2\u6570\u3001OCR\u5f15\u64ce\u6a21\u5f0f\u7b49\u3002\u4f8b\u5982\uff1a<code>text = pytesseract.image_to_string(img, config=&#039;--psm 6&#039;)<\/code><\/p>\n<\/li>\n<li>\n<p><code>lang<\/code>\uff1a\u901a\u8fc7lang\u53c2\u6570\u6307\u5b9a\u56fe\u50cf\u4e2d\u7684\u6587\u672c\u6240\u4f7f\u7528\u7684\u8bed\u8a00\u3002\u4f8b\u5982\uff1a<code>text = pytesseract.image_to_string(img, lang=&#039;eng&#039;)<\/code><\/p>\n<\/li>\n<li>\n<p><code>oem<\/code>\uff1a\u901a\u8fc7oem\u53c2\u6570\u6307\u5b9aOCR\u5f15\u64ce\u6a21\u5f0f\u3002\u53ef\u4ee5\u9009\u62e9\u7684\u503c\u5305\u62ec0\u30011\u30012\u548c3\uff0c\u9ed8\u8ba4\u4e3a3\u3002\u503c\u8d8a\u5927\uff0c\u8bc6\u522b\u901f\u5ea6\u8d8a\u5feb\uff0c\u4f46\u51c6\u786e\u7387\u53ef\u80fd\u964d\u4f4e\u3002\u4f8b\u5982\uff1a<code>text = pytesseract.image_to_string(img, config=&#039;--oem 2&#039;)<\/code><\/p>\n<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u8c03\u6574\u8fd9\u4e9b\u53c2\u6570\uff0c\u4f60\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u7684\u9700\u6c42\u63d0\u9ad8\u56fe\u50cf\u8bc6\u522b\u7684\u51c6\u786e\u7387\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u5904\u7406 pytesseract \u5e93\u5728\u56fe\u50cf\u8bc6\u522b\u4e2d\u7684\u9519\u8bef\u6216\u8bef\u8bc6\u522b\u95ee\u9898\uff1f<\/strong><\/p>\n<p>\u5728\u4f7f\u7528pytesseract\u8fdb\u884c\u56fe\u50cf\u8bc6\u522b\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u9519\u8bef\u6216\u8bef\u8bc6\u522b\u7684\u95ee\u9898\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\uff0c\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u63aa\u65bd\uff1a<\/p>\n<ul>\n<li>\n<p>\u56fe\u50cf\u9884\u5904\u7406\uff1a\u5728\u8fdb\u884c\u56fe\u50cf\u8bc6\u522b\u4e4b\u524d\uff0c\u53ef\u4ee5\u5bf9\u56fe\u50cf\u8fdb\u884c\u4e00\u4e9b\u9884\u5904\u7406\u64cd\u4f5c\uff0c\u6bd4\u5982\u53bb\u9664\u566a\u58f0\u3001\u8c03\u6574\u56fe\u50cf\u4eae\u5ea6\u548c\u5bf9\u6bd4\u5ea6\u7b49\uff0c\u4ee5\u63d0\u9ad8\u8bc6\u522b\u51c6\u786e\u7387\u3002<\/p>\n<\/li>\n<li>\n<p>\u8c03\u6574\u8bc6\u522b\u53c2\u6570\uff1a\u5982\u524d\u9762\u6240\u8ff0\uff0cpytesseract\u63d0\u4f9b\u4e86\u4e00\u4e9b\u53c2\u6570\u53ef\u4ee5\u8c03\u6574\uff0c\u901a\u8fc7\u5c1d\u8bd5\u4e0d\u540c\u7684\u53c2\u6570\u503c\uff0c\u53ef\u4ee5\u627e\u5230\u6700\u4f73\u7684\u914d\u7f6e\u4ee5\u63d0\u9ad8\u8bc6\u522b\u51c6\u786e\u7387\u3002<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u8bed\u8a00\u5305\uff1a\u5982\u679c\u56fe\u50cf\u4e2d\u7684\u6587\u672c\u4f7f\u7528\u7684\u662f\u975e\u82f1\u8bed\u8bed\u8a00\uff0c\u53ef\u4ee5\u5b89\u88c5\u76f8\u5e94\u7684\u8bed\u8a00\u5305\u5e76\u4f7f\u7528lang\u53c2\u6570\u6307\u5b9a\u8bed\u8a00\uff0c\u4ee5\u63d0\u9ad8\u8bc6\u522b\u51c6\u786e\u7387\u3002<\/p>\n<\/li>\n<li>\n<p>\u6821\u6b63\u8bef\u8bc6\u522b\u7ed3\u679c\uff1a\u53ef\u4ee5\u901a\u8fc7\u5bf9\u8bc6\u522b\u7ed3\u679c\u8fdb\u884c\u6821\u6b63\u6216\u4eba\u5de5\u5e72\u9884\u6765\u7ea0\u6b63\u8bef\u8bc6\u522b\u95ee\u9898\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u89e3\u51b3pytesseract\u5e93\u5728\u56fe\u50cf\u8bc6\u522b\u4e2d\u7684\u9519\u8bef\u6216\u8bef\u8bc6\u522b\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Pytesseract\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u5f00\u6e90OCR\uff08\u5149\u5b66\u5b57\u7b26\u8bc6\u522b\uff09\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u4ece\u56fe\u7247\u4e2d\u63d0\u53d6\u6587\u5b57\u3002\u4f7f\u7528Pyt [&hellip;]","protected":false},"author":3,"featured_media":312042,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/312037"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=312037"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/312037\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/312042"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=312037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=312037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=312037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}