{"id":1167134,"date":"2025-01-15T15:40:19","date_gmt":"2025-01-15T07:40:19","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1167134.html"},"modified":"2025-01-15T15:40:22","modified_gmt":"2025-01-15T07:40:22","slug":"python%e5%a6%82%e4%bd%95%e5%ae%9e%e7%8e%b0%e8%87%aa%e5%8a%a8%e6%89%93%e7%a0%81-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1167134.html","title":{"rendered":"python\u5982\u4f55\u5b9e\u73b0\u81ea\u52a8\u6253\u7801"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25211110\/f2802b1e-ab99-4a3f-9c04-680ce12f74ad.webp\" alt=\"python\u5982\u4f55\u5b9e\u73b0\u81ea\u52a8\u6253\u7801\" \/><\/p>\n<p><p> <strong>Python\u5b9e\u73b0\u81ea\u52a8\u6253\u7801<\/strong>\u4e3b\u8981\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a<strong>\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u5982Pillow\u8fdb\u884c\u56fe\u50cf\u5904\u7406\u3001\u4f7f\u7528OpenCV\u8fdb\u884c\u56fe\u50cf\u8bc6\u522b\u548c\u5904\u7406\u3001\u8c03\u7528\u5916\u90e8API\u5b9e\u73b0\u6253\u7801\u529f\u80fd\u3001\u4f7f\u7528<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u6280\u672f\u8fdb\u884c\u81ea\u52a8\u6253\u7801<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528OpenCV\u8fdb\u884c\u56fe\u50cf\u8bc6\u522b\u548c\u5904\u7406\u662f\u4e00\u4e2a\u975e\u5e38\u6709\u6548\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3aOpenCV\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u56fe\u50cf\u5904\u7406\u529f\u80fd\u548c\u9ad8\u6548\u7684\u8ba1\u7b97\u80fd\u529b\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528OpenCV\u8fdb\u884c\u56fe\u50cf\u8bc6\u522b\u548c\u5904\u7406<\/h3>\n<\/p>\n<p><p>OpenCV\uff08Open Source Computer Vision Library\uff09\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u8ba1\u7b97\u673a\u89c6\u89c9\u548c\u673a\u5668\u5b66\u4e60\u8f6f\u4ef6\u5e93\u3002\u5b83\u63d0\u4f9b\u4e86\u8d85\u8fc72500\u4e2a\u4f18\u5316\u7b97\u6cd5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u51e0\u4e4e\u6240\u6709\u8ba1\u7b97\u673a\u89c6\u89c9\u4efb\u52a1\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528OpenCV\u8fdb\u884c\u81ea\u52a8\u6253\u7801\u3002<\/p>\n<\/p>\n<p><h4>\u5b89\u88c5OpenCV<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u5b89\u88c5OpenCV\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528pip\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install opencv-python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u52a0\u8f7d\u56fe\u50cf<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u56fe\u50cf\u4e4b\u524d\uff0c\u9700\u8981\u5148\u52a0\u8f7d\u56fe\u50cf\u3002\u53ef\u4ee5\u4f7f\u7528OpenCV\u7684<code>imread<\/code>\u51fd\u6570\u6765\u52a0\u8f7d\u56fe\u50cf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import cv2<\/p>\n<h2><strong>\u52a0\u8f7d\u56fe\u50cf<\/strong><\/h2>\n<p>image = cv2.imread(&#39;example.jpg&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u56fe\u50cf\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u53ef\u4ee5\u4f7f\u7528OpenCV\u63d0\u4f9b\u7684\u5404\u79cd\u56fe\u50cf\u5904\u7406\u51fd\u6570\u8fdb\u884c\u6253\u7801\u5904\u7406\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u6a21\u7cca\u5904\u7406\u6765\u5bf9\u56fe\u50cf\u8fdb\u884c\u6253\u7801\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u6a21\u7cca\u5904\u7406<\/p>\n<p>blurred_image = cv2.GaussianBlur(image, (15, 15), 0)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u663e\u793a\u56fe\u50cf<\/h4>\n<\/p>\n<p><p>\u5904\u7406\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528OpenCV\u7684<code>imshow<\/code>\u51fd\u6570\u6765\u663e\u793a\u56fe\u50cf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u663e\u793a\u56fe\u50cf<\/p>\n<p>cv2.imshow(&#39;Blurred Image&#39;, blurred_image)<\/p>\n<p>cv2.w<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>tKey(0)<\/p>\n<p>cv2.destroyAllWindows()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4f7f\u7528Pillow\u8fdb\u884c\u56fe\u50cf\u5904\u7406<\/h3>\n<\/p>\n<p><p>Pillow\u662fPython\u7684\u4e00\u4e2a\u56fe\u50cf\u5904\u7406\u5e93\u3002\u5b83\u4e3a\u56fe\u50cf\u5904\u7406\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u529f\u80fd\uff0c\u5305\u62ec\u56fe\u50cf\u6a21\u7cca\u3001\u56fe\u50cf\u6ee4\u955c\u7b49\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Pillow\u8fdb\u884c\u81ea\u52a8\u6253\u7801\u3002<\/p>\n<\/p>\n<p><h4>\u5b89\u88c5Pillow<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u5b89\u88c5Pillow\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528pip\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install Pillow<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u52a0\u8f7d\u56fe\u50cf<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u56fe\u50cf\u4e4b\u524d\uff0c\u9700\u8981\u5148\u52a0\u8f7d\u56fe\u50cf\u3002\u53ef\u4ee5\u4f7f\u7528Pillow\u7684<code>Image<\/code>\u7c7b\u6765\u52a0\u8f7d\u56fe\u50cf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<h2><strong>\u52a0\u8f7d\u56fe\u50cf<\/strong><\/h2>\n<p>image = Image.open(&#39;example.jpg&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u56fe\u50cf\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u53ef\u4ee5\u4f7f\u7528Pillow\u63d0\u4f9b\u7684\u5404\u79cd\u56fe\u50cf\u5904\u7406\u51fd\u6570\u8fdb\u884c\u6253\u7801\u5904\u7406\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u6a21\u7cca\u6ee4\u955c\u6765\u5bf9\u56fe\u50cf\u8fdb\u884c\u6253\u7801\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import ImageFilter<\/p>\n<h2><strong>\u6a21\u7cca\u5904\u7406<\/strong><\/h2>\n<p>blurred_image = image.filter(ImageFilter.GaussianBlur(15))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u663e\u793a\u56fe\u50cf<\/h4>\n<\/p>\n<p><p>\u5904\u7406\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Pillow\u7684<code>show<\/code>\u65b9\u6cd5\u6765\u663e\u793a\u56fe\u50cf\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u663e\u793a\u56fe\u50cf<\/p>\n<p>blurred_image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u8c03\u7528\u5916\u90e8API\u5b9e\u73b0\u6253\u7801\u529f\u80fd<\/h3>\n<\/p>\n<p><p>\u6709\u4e9b\u7b2c\u4e09\u65b9\u670d\u52a1\u63d0\u4f9b\u4e86\u56fe\u50cf\u6253\u7801\u7684API\uff0c\u53ef\u4ee5\u8c03\u7528\u8fd9\u4e9bAPI\u6765\u5b9e\u73b0\u81ea\u52a8\u6253\u7801\u3002\u4f8b\u5982\uff0c\u963f\u91cc\u4e91\u7684\u56fe\u50cf\u6253\u7801\u670d\u52a1\u3002\u4ee5\u4e0b\u662f\u8c03\u7528\u5916\u90e8API\u7684\u793a\u4f8b\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<h2><strong>\u5b9a\u4e49API\u8bf7\u6c42\u7684URL\u548c\u53c2\u6570<\/strong><\/h2>\n<p>url = &#39;https:\/\/api.example.com\/blur&#39;<\/p>\n<p>params = {<\/p>\n<p>    &#39;image_url&#39;: &#39;example.jpg&#39;,<\/p>\n<p>    &#39;blur_radius&#39;: 15<\/p>\n<p>}<\/p>\n<h2><strong>\u53d1\u9001\u8bf7\u6c42<\/strong><\/h2>\n<p>response = requests.post(url, data=params)<\/p>\n<h2><strong>\u5904\u7406\u54cd\u5e94<\/strong><\/h2>\n<p>if response.status_code == 200:<\/p>\n<p>    with open(&#39;blurred_image.jpg&#39;, &#39;wb&#39;) as f:<\/p>\n<p>        f.write(response.content)<\/p>\n<p>else:<\/p>\n<p>    print(&#39;Failed to blur image&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4f7f\u7528\u673a\u5668\u5b66\u4e60\u6280\u672f\u8fdb\u884c\u81ea\u52a8\u6253\u7801<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528\u673a\u5668\u5b66\u4e60\u6280\u672f\u6765\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u81ea\u52a8\u6253\u7801\u529f\u80fd\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u5377\u79ef\u795e\u7ecf\u7f51\u7edc\uff08CNN\uff09\u6765\u8bc6\u522b\u56fe\u50cf\u4e2d\u7684\u654f\u611f\u4fe1\u606f\u5e76\u8fdb\u884c\u6253\u7801\u3002\u4ee5\u4e0b\u662f\u4f7f\u7528TensorFlow\u548cKeras\u5b9e\u73b0\u81ea\u52a8\u6253\u7801\u7684\u793a\u4f8b\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h4>\u5b89\u88c5TensorFlow\u548cKeras<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u5b89\u88c5TensorFlow\u548cKeras\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528pip\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install tensorflow keras<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u52a0\u8f7d\u6a21\u578b<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u56fe\u50cf\u4e4b\u524d\uff0c\u9700\u8981\u5148\u52a0\u8f7d\u9884\u8bad\u7ec3\u7684\u6a21\u578b\u3002\u53ef\u4ee5\u4f7f\u7528Keras\u7684<code>load_model<\/code>\u51fd\u6570\u6765\u52a0\u8f7d\u6a21\u578b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from keras.models import load_model<\/p>\n<h2><strong>\u52a0\u8f7d\u9884\u8bad\u7ec3\u6a21\u578b<\/strong><\/h2>\n<p>model = load_model(&#39;model.h5&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u9884\u6d4b\u654f\u611f\u4fe1\u606f<\/h4>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u53ef\u4ee5\u4f7f\u7528\u6a21\u578b\u6765\u9884\u6d4b\u56fe\u50cf\u4e2d\u7684\u654f\u611f\u4fe1\u606f\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u6a21\u578b\u6765\u9884\u6d4b\u56fe\u50cf\u4e2d\u7684\u4eba\u8138\u4f4d\u7f6e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>from keras.preprocessing import image<\/p>\n<h2><strong>\u52a0\u8f7d\u56fe\u50cf\u5e76\u8fdb\u884c\u9884\u5904\u7406<\/strong><\/h2>\n<p>img = image.load_img(&#39;example.jpg&#39;, target_size=(224, 224))<\/p>\n<p>x = image.img_to_array(img)<\/p>\n<p>x = np.expand_dims(x, axis=0)<\/p>\n<h2><strong>\u9884\u6d4b\u4eba\u8138\u4f4d\u7f6e<\/strong><\/h2>\n<p>predictions = model.predict(x)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u56fe\u50cf\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u6839\u636e\u6a21\u578b\u7684\u9884\u6d4b\u7ed3\u679c\uff0c\u53ef\u4ee5\u4f7f\u7528\u56fe\u50cf\u5904\u7406\u51fd\u6570\u6765\u5bf9\u654f\u611f\u4fe1\u606f\u8fdb\u884c\u6253\u7801\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u6a21\u7cca\u5904\u7406\u6765\u5bf9\u4eba\u8138\u8fdb\u884c\u6253\u7801\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u6a21\u7cca\u5904\u7406<\/p>\n<p>for (x, y, w, h) in predictions:<\/p>\n<p>    roi = image[y:y+h, x:x+w]<\/p>\n<p>    blurred_roi = cv2.GaussianBlur(roi, (15, 15), 0)<\/p>\n<p>    image[y:y+h, x:x+w] = blurred_roi<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u663e\u793a\u56fe\u50cf<\/h4>\n<\/p>\n<p><p>\u5904\u7406\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528OpenCV\u6216Pillow\u7684\u663e\u793a\u51fd\u6570\u6765\u663e\u793a\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u663e\u793a\u56fe\u50cf<\/p>\n<p>cv2.imshow(&#39;Blurred Image&#39;, image)<\/p>\n<p>cv2.waitKey(0)<\/p>\n<p>cv2.destroyAllWindows()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0a\u4ecb\u7ecd\u4e86\u4f7f\u7528Python\u5b9e\u73b0\u81ea\u52a8\u6253\u7801\u7684\u51e0\u79cd\u65b9\u6cd5\uff1a<strong>\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u5982Pillow\u8fdb\u884c\u56fe\u50cf\u5904\u7406\u3001\u4f7f\u7528OpenCV\u8fdb\u884c\u56fe\u50cf\u8bc6\u522b\u548c\u5904\u7406\u3001\u8c03\u7528\u5916\u90e8API\u5b9e\u73b0\u6253\u7801\u529f\u80fd\u3001\u4f7f\u7528\u673a\u5668\u5b66\u4e60\u6280\u672f\u8fdb\u884c\u81ea\u52a8\u6253\u7801<\/strong>\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u7f3a\u70b9\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002\u4f7f\u7528OpenCV\u8fdb\u884c\u56fe\u50cf\u8bc6\u522b\u548c\u5904\u7406\u662f\u4e00\u79cd\u975e\u5e38\u6709\u6548\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3aOpenCV\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u56fe\u50cf\u5904\u7406\u529f\u80fd\u548c\u9ad8\u6548\u7684\u8ba1\u7b97\u80fd\u529b\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u8fdb\u884c\u9a8c\u8bc1\u7801\u8bc6\u522b\uff1f<\/strong><br \/>Python\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u56fe\u50cf\u5904\u7406\u5e93\uff08\u5982PIL\u6216OpenCV\uff09\u548c\u673a\u5668\u5b66\u4e60\u6a21\u578b\uff08\u5982Tesseract\u6216TensorFlow\uff09\u6765\u5b9e\u73b0\u9a8c\u8bc1\u7801\u7684\u81ea\u52a8\u8bc6\u522b\u3002\u9996\u5148\uff0c\u9700\u5c06\u9a8c\u8bc1\u7801\u56fe\u50cf\u9884\u5904\u7406\uff0c\u5305\u62ec\u53bb\u566a\u3001\u4e8c\u503c\u5316\u7b49\u6b65\u9aa4\uff0c\u7136\u540e\u8fd0\u7528OCR\uff08\u5149\u5b66\u5b57\u7b26\u8bc6\u522b\uff09\u6280\u672f\u63d0\u53d6\u6587\u672c\u3002<\/p>\n<p><strong>\u54ea\u4e9b\u5e93\u548c\u5de5\u5177\u9002\u5408\u5b9e\u73b0\u81ea\u52a8\u6253\u7801\u529f\u80fd\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u5e38\u7528\u7684\u5e93\u5305\u62ecPIL\uff08Pillow\uff09\u7528\u4e8e\u56fe\u50cf\u5904\u7406\uff0cOpenCV\u7528\u4e8e\u66f4\u590d\u6742\u7684\u56fe\u50cf\u5206\u6790\uff0cTesseract\u4f5c\u4e3aOCR\u5de5\u5177\u8fdb\u884c\u5b57\u7b26\u8bc6\u522b\u3002\u6b64\u5916\uff0cTensorFlow\u548cKeras\u53ef\u7528\u4e8e\u8bad\u7ec3\u6df1\u5ea6\u5b66\u4e60\u6a21\u578b\uff0c\u63d0\u5347\u8bc6\u522b\u7387\u3002<\/p>\n<p><strong>\u5728\u5b9e\u73b0\u81ea\u52a8\u6253\u7801\u65f6\uff0c\u5982\u4f55\u63d0\u9ad8\u8bc6\u522b\u7684\u51c6\u786e\u7387\uff1f<\/strong><br \/>\u63d0\u9ad8\u8bc6\u522b\u51c6\u786e\u7387\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u6df1\u5ea6\u5b66\u4e60\u6a21\u578b\u8fdb\u884c\u8bad\u7ec3\uff0c\u4f18\u5316\u56fe\u50cf\u9884\u5904\u7406\u6b65\u9aa4\uff08\u4f8b\u5982\uff0c\u901a\u8fc7\u8c03\u6574\u5bf9\u6bd4\u5ea6\u3001\u53bb\u9664\u5e72\u6270\u7ebf\u6761\u7b49\uff09\uff0c\u4ee5\u53ca\u5229\u7528\u6570\u636e\u589e\u5f3a\u6280\u672f\u6269\u5c55\u8bad\u7ec3\u6570\u636e\u96c6\uff0c\u4ece\u800c\u63d0\u5347\u6a21\u578b\u7684\u6cdb\u5316\u80fd\u529b\u548c\u51c6\u786e\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5b9e\u73b0\u81ea\u52a8\u6253\u7801\u4e3b\u8981\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u5982Pillow\u8fdb\u884c\u56fe\u50cf\u5904\u7406\u3001\u4f7f\u7528OpenCV\u8fdb\u884c\u56fe\u50cf [&hellip;]","protected":false},"author":3,"featured_media":1167139,"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\/1167134"}],"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=1167134"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1167134\/revisions"}],"predecessor-version":[{"id":1167140,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1167134\/revisions\/1167140"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1167139"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1167134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1167134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1167134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}