{"id":1109227,"date":"2025-01-08T17:08:08","date_gmt":"2025-01-08T09:08:08","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1109227.html"},"modified":"2025-01-08T17:08:10","modified_gmt":"2025-01-08T09:08:10","slug":"python%e5%a6%82%e4%bd%95%e7%bc%96%e5%86%99%e4%b8%87%e8%83%bd%e9%aa%8c%e8%af%81%e7%a0%81","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1109227.html","title":{"rendered":"python\u5982\u4f55\u7f16\u5199\u4e07\u80fd\u9a8c\u8bc1\u7801"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25072557\/adf0a726-c289-4601-af4c-c03792aec377.webp\" alt=\"python\u5982\u4f55\u7f16\u5199\u4e07\u80fd\u9a8c\u8bc1\u7801\" \/><\/p>\n<p><p> \u5728Python\u4e2d\u7f16\u5199\u4e07\u80fd\u9a8c\u8bc1\u7801\u662f\u4e00\u9879\u5177\u6709\u6311\u6218\u6027\u7684\u4efb\u52a1\uff0c\u6d89\u53ca\u751f\u6210\u968f\u673a\u5b57\u7b26\u4e32\u3001\u56fe\u50cf\u5904\u7406\u548c\u9a8c\u8bc1\u7801\u8bc6\u522b\u7b49\u591a\u4e2a\u65b9\u9762\u3002<strong>\u4f7f\u7528Python\u751f\u6210\u548c\u7834\u89e3\u9a8c\u8bc1\u7801\u3001\u5b9e\u73b0\u9a8c\u8bc1\u7801\u7684\u56fe\u50cf\u5904\u7406\u3001\u4f7f\u7528OCR\u6280\u672f\u8bc6\u522b\u9a8c\u8bc1\u7801<\/strong>\uff0c\u662f\u5b9e\u73b0\u4e07\u80fd\u9a8c\u8bc1\u7801\u7684\u5173\u952e\u6b65\u9aa4\u3002\u4e0b\u9762\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Python\u7f16\u5199\u4e07\u80fd\u9a8c\u8bc1\u7801\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u751f\u6210\u968f\u673a\u9a8c\u8bc1\u7801<\/h3>\n<\/p>\n<p><p>\u751f\u6210\u968f\u673a\u9a8c\u8bc1\u7801\u662f\u7f16\u5199\u4e07\u80fd\u9a8c\u8bc1\u7801\u7684\u7b2c\u4e00\u6b65\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Python\u7684\u5185\u7f6e\u5e93<code>random<\/code>\u6765\u751f\u6210\u968f\u673a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u4f7f\u7528\u56fe\u50cf\u5e93<code>PIL<\/code>\u6765\u521b\u5efa\u9a8c\u8bc1\u7801\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import random<\/p>\n<p>import string<\/p>\n<p>from PIL import Image, ImageDraw, ImageFont<\/p>\n<p>def generate_random_string(length=6):<\/p>\n<p>    letters = string.ascii_letters + string.digits<\/p>\n<p>    return &#39;&#39;.join(random.choice(letters) for _ in range(length))<\/p>\n<p>def create_captcha_image(text, font_path=&#39;arial.ttf&#39;, font_size=36):<\/p>\n<p>    width, height = 200, 100<\/p>\n<p>    image = Image.new(&#39;RGB&#39;, (width, height), (255, 255, 255))<\/p>\n<p>    draw = ImageDraw.Draw(image)<\/p>\n<p>    font = ImageFont.truetype(font_path, font_size)<\/p>\n<p>    text_width, text_height = draw.textsize(text, font=font)<\/p>\n<p>    text_x = (width - text_width) \/\/ 2<\/p>\n<p>    text_y = (height - text_height) \/\/ 2<\/p>\n<p>    draw.text((text_x, text_y), text, font=font, fill=(0, 0, 0))<\/p>\n<p>    return image<\/p>\n<p>random_string = generate_random_string()<\/p>\n<p>captcha_image = create_captcha_image(random_string)<\/p>\n<p>captcha_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u56fe\u50cf\u5904\u7406<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u63d0\u9ad8\u9a8c\u8bc1\u7801\u7684\u590d\u6742\u6027\uff0c\u6211\u4eec\u53ef\u4ee5\u5bf9\u56fe\u50cf\u8fdb\u884c\u4e00\u4e9b\u5904\u7406\uff0c\u6bd4\u5982\u6dfb\u52a0\u5e72\u6270\u7ebf\u3001\u70b9\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def add_noise(draw, width, height):<\/p>\n<p>    for _ in range(random.randint(100, 200)):<\/p>\n<p>        x1 = random.randint(0, width)<\/p>\n<p>        y1 = random.randint(0, height)<\/p>\n<p>        x2 = random.randint(0, width)<\/p>\n<p>        y2 = random.randint(0, height)<\/p>\n<p>        draw.line(((x1, y1), (x2, y2)), fill=(0, 0, 0), width=1)<\/p>\n<p>def add_noise_dots(draw, width, height):<\/p>\n<p>    for _ in range(random.randint(100, 200)):<\/p>\n<p>        x = random.randint(0, width)<\/p>\n<p>        y = random.randint(0, height)<\/p>\n<p>        draw.point((x, y), fill=(0, 0, 0))<\/p>\n<p>def create_noisy_captcha_image(text, font_path=&#39;arial.ttf&#39;, font_size=36):<\/p>\n<p>    width, height = 200, 100<\/p>\n<p>    image = Image.new(&#39;RGB&#39;, (width, height), (255, 255, 255))<\/p>\n<p>    draw = ImageDraw.Draw(image)<\/p>\n<p>    font = ImageFont.truetype(font_path, font_size)<\/p>\n<p>    text_width, text_height = draw.textsize(text, font=font)<\/p>\n<p>    text_x = (width - text_width) \/\/ 2<\/p>\n<p>    text_y = (height - text_height) \/\/ 2<\/p>\n<p>    draw.text((text_x, text_y), text, font=font, fill=(0, 0, 0))<\/p>\n<p>    add_noise(draw, width, height)<\/p>\n<p>    add_noise_dots(draw, width, height)<\/p>\n<p>    return image<\/p>\n<p>noisy_captcha_image = create_noisy_captcha_image(random_string)<\/p>\n<p>noisy_captcha_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528OCR\u6280\u672f\u8bc6\u522b\u9a8c\u8bc1\u7801<\/h3>\n<\/p>\n<p><p>\u8bc6\u522b\u9a8c\u8bc1\u7801\u662f\u7f16\u5199\u4e07\u80fd\u9a8c\u8bc1\u7801\u7684\u6700\u540e\u4e00\u6b65\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>pytesseract<\/code>\u5e93\uff08\u57fa\u4e8eTesseract OCR\u5f15\u64ce\uff09\u6765\u8bc6\u522b\u9a8c\u8bc1\u7801\u3002<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86Tesseract OCR\u5f15\u64ce\uff0c\u5e76\u4e14\u5728\u7cfb\u7edf\u8def\u5f84\u4e2d\u53ef\u4ee5\u8bbf\u95ee\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">sudo apt-get install tesseract-ocr<\/p>\n<p>pip install pytesseract<\/p>\n<p>pip install pillow<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u8bc6\u522b\u9a8c\u8bc1\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pytesseract<\/p>\n<p>def recognize_captcha(image):<\/p>\n<p>    return pytesseract.image_to_string(image)<\/p>\n<p>recognized_text = recognize_captcha(noisy_captcha_image)<\/p>\n<p>print(f&quot;Recognized Captcha: {recognized_text}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u7efc\u5408\u5b9e\u73b0\u4e07\u80fd\u9a8c\u8bc1\u7801<\/h3>\n<\/p>\n<p><p>\u5c06\u4ee5\u4e0a\u6240\u6709\u6b65\u9aa4\u6574\u5408\u8d77\u6765\uff0c\u5b9e\u73b0\u4e00\u4e2a\u5b8c\u6574\u7684\u4e07\u80fd\u9a8c\u8bc1\u7801\u751f\u6210\u548c\u8bc6\u522b\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import random<\/p>\n<p>import string<\/p>\n<p>from PIL import Image, ImageDraw, ImageFont<\/p>\n<p>import pytesseract<\/p>\n<p>def generate_random_string(length=6):<\/p>\n<p>    letters = string.ascii_letters + string.digits<\/p>\n<p>    return &#39;&#39;.join(random.choice(letters) for _ in range(length))<\/p>\n<p>def add_noise(draw, width, height):<\/p>\n<p>    for _ in range(random.randint(100, 200)):<\/p>\n<p>        x1 = random.randint(0, width)<\/p>\n<p>        y1 = random.randint(0, height)<\/p>\n<p>        x2 = random.randint(0, width)<\/p>\n<p>        y2 = random.randint(0, height)<\/p>\n<p>        draw.line(((x1, y1), (x2, y2)), fill=(0, 0, 0), width=1)<\/p>\n<p>def add_noise_dots(draw, width, height):<\/p>\n<p>    for _ in range(random.randint(100, 200)):<\/p>\n<p>        x = random.randint(0, width)<\/p>\n<p>        y = random.randint(0, height)<\/p>\n<p>        draw.point((x, y), fill=(0, 0, 0))<\/p>\n<p>def create_noisy_captcha_image(text, font_path=&#39;arial.ttf&#39;, font_size=36):<\/p>\n<p>    width, height = 200, 100<\/p>\n<p>    image = Image.new(&#39;RGB&#39;, (width, height), (255, 255, 255))<\/p>\n<p>    draw = ImageDraw.Draw(image)<\/p>\n<p>    font = ImageFont.truetype(font_path, font_size)<\/p>\n<p>    text_width, text_height = draw.textsize(text, font=font)<\/p>\n<p>    text_x = (width - text_width) \/\/ 2<\/p>\n<p>    text_y = (height - text_height) \/\/ 2<\/p>\n<p>    draw.text((text_x, text_y), text, font=font, fill=(0, 0, 0))<\/p>\n<p>    add_noise(draw, width, height)<\/p>\n<p>    add_noise_dots(draw, width, height)<\/p>\n<p>    return image<\/p>\n<p>def recognize_captcha(image):<\/p>\n<p>    return pytesseract.image_to_string(image)<\/p>\n<p>random_string = generate_random_string()<\/p>\n<p>noisy_captcha_image = create_noisy_captcha_image(random_string)<\/p>\n<p>noisy_captcha_image.show()<\/p>\n<p>recognized_text = recognize_captcha(noisy_captcha_image)<\/p>\n<p>print(f&quot;Original Captcha: {random_string}&quot;)<\/p>\n<p>print(f&quot;Recognized Captcha: {recognized_text}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u63d0\u9ad8\u9a8c\u8bc1\u7801\u7684\u590d\u6742\u6027\u548c\u8bc6\u522b\u7387<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u63d0\u9ad8\u9a8c\u8bc1\u7801\u7684\u590d\u6742\u6027\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u751f\u6210\u56fe\u50cf\u65f6\u52a0\u5165\u66f4\u591a\u5e72\u6270\u5143\u7d20\uff0c\u5982\u65cb\u8f6c\u6587\u5b57\u3001\u53d8\u5f62\u7b49\u3002\u540c\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8bad\u7ec3\u81ea\u5b9a\u4e49OCR\u6a21\u578b\u6765\u63d0\u9ad8\u8bc6\u522b\u7387\u3002<\/p>\n<\/p>\n<p><p><strong>\u65cb\u8f6c\u6587\u5b57\uff1a<\/strong><\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def create_rotated_captcha_image(text, font_path=&#39;arial.ttf&#39;, font_size=36):<\/p>\n<p>    width, height = 200, 100<\/p>\n<p>    image = Image.new(&#39;RGB&#39;, (width, height), (255, 255, 255))<\/p>\n<p>    draw = ImageDraw.Draw(image)<\/p>\n<p>    font = ImageFont.truetype(font_path, font_size)<\/p>\n<p>    text_width, text_height = draw.textsize(text, font=font)<\/p>\n<p>    text_x = (width - text_width) \/\/ 2<\/p>\n<p>    text_y = (height - text_height) \/\/ 2<\/p>\n<p>    text_image = Image.new(&#39;RGBA&#39;, (text_width, text_height))<\/p>\n<p>    text_draw = ImageDraw.Draw(text_image)<\/p>\n<p>    text_draw.text((0, 0), text, font=font, fill=(0, 0, 0))<\/p>\n<p>    rotated_text_image = text_image.rotate(random.randint(-30, 30), expand=1)<\/p>\n<p>    image.paste(rotated_text_image, (text_x, text_y), rotated_text_image)<\/p>\n<p>    add_noise(draw, width, height)<\/p>\n<p>    add_noise_dots(draw, width, height)<\/p>\n<p>    return image<\/p>\n<p>rotated_captcha_image = create_rotated_captcha_image(random_string)<\/p>\n<p>rotated_captcha_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u751f\u6210\u66f4\u52a0\u590d\u6742\u7684\u9a8c\u8bc1\u7801\uff0c\u4ece\u800c\u63d0\u9ad8\u8bc6\u522b\u96be\u5ea6\u3002\u540c\u65f6\uff0c\u901a\u8fc7\u5b9a\u671f\u66f4\u65b0\u9a8c\u8bc1\u7801\u751f\u6210\u7b97\u6cd5\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u589e\u5f3a\u9a8c\u8bc1\u7801\u7684\u5b89\u5168\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u7f16\u5199\u4e07\u80fd\u9a8c\u8bc1\u7801\u6d89\u53ca\u591a\u4e2a\u6b65\u9aa4\uff1a<strong>\u751f\u6210\u968f\u673a\u9a8c\u8bc1\u7801\u3001\u56fe\u50cf\u5904\u7406\u3001\u4f7f\u7528OCR\u6280\u672f\u8bc6\u522b\u9a8c\u8bc1\u7801<\/strong>\uff0c\u4ee5\u53ca\u63d0\u9ad8\u9a8c\u8bc1\u7801\u7684\u590d\u6742\u6027\u548c\u8bc6\u522b\u7387\u3002\u901a\u8fc7\u7efc\u5408\u8fd0\u7528\u8fd9\u4e9b\u6280\u672f\uff0c\u53ef\u4ee5\u5b9e\u73b0\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u4e07\u80fd\u9a8c\u8bc1\u7801\u7cfb\u7edf\u3002\u5e0c\u671b\u672c\u6587\u80fd\u591f\u5e2e\u52a9\u60a8\u7406\u89e3\u5e76\u5b9e\u73b0Python\u4e2d\u7684\u4e07\u80fd\u9a8c\u8bc1\u7801\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728\u7f16\u5199\u4e07\u80fd\u9a8c\u8bc1\u7801\u65f6\uff0cPython\u6709\u54ea\u4e9b\u5e38\u7528\u7684\u5e93\u548c\u5de5\u5177\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6709\u51e0\u4e2a\u5e38\u7528\u7684\u5e93\u53ef\u4ee5\u5e2e\u52a9\u751f\u6210\u9a8c\u8bc1\u7801\uff0c\u5305\u62ecPillow\uff08\u7528\u4e8e\u56fe\u50cf\u5904\u7406\uff09\u3001random\uff08\u7528\u4e8e\u751f\u6210\u968f\u673a\u6570\uff09\u548cstring\uff08\u7528\u4e8e\u751f\u6210\u968f\u673a\u5b57\u7b26\uff09\u3002Pillow\u5e93\u5c24\u5176\u9002\u5408\u521b\u5efa\u548c\u5904\u7406\u56fe\u50cf\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u751f\u6210\u6587\u672c\u9a8c\u8bc1\u7801\u6216\u56fe\u5f62\u9a8c\u8bc1\u7801\u3002<\/p>\n<p><strong>\u5982\u4f55\u786e\u4fdd\u751f\u6210\u7684\u9a8c\u8bc1\u7801\u5177\u6709\u8db3\u591f\u7684\u5b89\u5168\u6027\uff1f<\/strong><br \/>\u4e3a\u4e86\u589e\u5f3a\u9a8c\u8bc1\u7801\u7684\u5b89\u5168\u6027\uff0c\u53ef\u4ee5\u8003\u8651\u589e\u52a0\u590d\u6742\u6027\uff0c\u6bd4\u5982\u4f7f\u7528\u6df7\u5408\u5b57\u7b26\uff08\u5b57\u6bcd\u3001\u6570\u5b57\u548c\u7b26\u53f7\uff09\u3001\u589e\u52a0\u5e72\u6270\u7ebf\u6761\u548c\u566a\u70b9\u3001\u4f7f\u7528\u4e0d\u540c\u7684\u5b57\u4f53\u548c\u989c\u8272\u7ec4\u5408\u3002\u8fd8\u53ef\u4ee5\u8bbe\u7f6e\u9a8c\u8bc1\u7801\u7684\u6709\u6548\u65f6\u95f4\uff0c\u786e\u4fdd\u7528\u6237\u5728\u77ed\u65f6\u95f4\u5185\u5b8c\u6210\u9a8c\u8bc1\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Web\u5e94\u7528\u4e2d\u5b9e\u73b0\u548c\u9a8c\u8bc1\u751f\u6210\u7684\u9a8c\u8bc1\u7801\uff1f<\/strong><br \/>\u5728Web\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Flask\u6216Django\u7b49\u6846\u67b6\u6765\u5b9e\u73b0\u9a8c\u8bc1\u7801\u529f\u80fd\u3002\u751f\u6210\u9a8c\u8bc1\u7801\u540e\uff0c\u53ef\u4ee5\u5c06\u5176\u5b58\u50a8\u5728\u7528\u6237\u4f1a\u8bdd\u4e2d\uff0c\u5e76\u5728\u7528\u6237\u63d0\u4ea4\u8868\u5355\u65f6\u8fdb\u884c\u9a8c\u8bc1\u3002\u786e\u4fdd\u5728\u670d\u52a1\u5668\u7aef\u8fdb\u884c\u6bd4\u5bf9\uff0c\u907f\u514d\u9a8c\u8bc1\u7801\u88ab\u8f7b\u6613\u731c\u6d4b\u6216\u7be1\u6539\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u7528\u6237\u8f93\u5165\u9519\u8bef\u7684\u9a8c\u8bc1\u7801\uff1f<\/strong><br \/>\u5bf9\u4e8e\u7528\u6237\u8f93\u5165\u9519\u8bef\u7684\u9a8c\u8bc1\u7801\uff0c\u53ef\u4ee5\u63d0\u4f9b\u53cb\u597d\u7684\u63d0\u793a\u4fe1\u606f\uff0c\u544a\u77e5\u7528\u6237\u91cd\u65b0\u8f93\u5165\u3002\u540c\u65f6\uff0c\u53ef\u4ee5\u8003\u8651\u9650\u5236\u8f93\u5165\u6b21\u6570\uff0c\u9632\u6b62\u6076\u610f\u653b\u51fb\u3002\u82e5\u8fde\u7eed\u591a\u6b21\u8f93\u5165\u9519\u8bef\uff0c\u53ef\u4ee5\u6682\u65f6\u9501\u5b9a\u9a8c\u8bc1\u7801\u529f\u80fd\uff0c\u8981\u6c42\u7528\u6237\u7a0d\u540e\u91cd\u8bd5\uff0c\u4ee5\u63d0\u9ad8\u5b89\u5168\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u7f16\u5199\u4e07\u80fd\u9a8c\u8bc1\u7801\u662f\u4e00\u9879\u5177\u6709\u6311\u6218\u6027\u7684\u4efb\u52a1\uff0c\u6d89\u53ca\u751f\u6210\u968f\u673a\u5b57\u7b26\u4e32\u3001\u56fe\u50cf\u5904\u7406\u548c\u9a8c\u8bc1\u7801\u8bc6\u522b\u7b49\u591a\u4e2a\u65b9\u9762\u3002\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":1109235,"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\/1109227"}],"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=1109227"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1109227\/revisions"}],"predecessor-version":[{"id":1109236,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1109227\/revisions\/1109236"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1109235"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1109227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1109227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1109227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}