{"id":1093735,"date":"2025-01-08T14:34:03","date_gmt":"2025-01-08T06:34:03","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1093735.html"},"modified":"2025-01-08T14:34:06","modified_gmt":"2025-01-08T06:34:06","slug":"python%e6%98%be%e7%a4%ba%e5%9b%be%e7%89%87%e5%a6%82%e4%bd%95%e7%a1%ae%e5%ae%9a%e6%9f%90%e4%b8%aa%e7%82%b9%e5%9d%90%e6%a0%87-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1093735.html","title":{"rendered":"python\u663e\u793a\u56fe\u7247\u5982\u4f55\u786e\u5b9a\u67d0\u4e2a\u70b9\u5750\u6807"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24210205\/69cc6c07-023c-4047-9c10-80537ad83454.webp\" alt=\"python\u663e\u793a\u56fe\u7247\u5982\u4f55\u786e\u5b9a\u67d0\u4e2a\u70b9\u5750\u6807\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c\u663e\u793a\u56fe\u7247\u5e76\u786e\u5b9a\u67d0\u4e2a\u70b9\u7684\u5750\u6807\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\u3002<strong>\u4f7f\u7528\u56fe\u50cf\u5904\u7406\u5e93\u5982OpenCV\u3001Pillow\u3001Matplotlib\u7b49\u3001\u4f7f\u7528\u4e8b\u4ef6\u7ed1\u5b9a\u6765\u6355\u6349\u9f20\u6807\u70b9\u51fb\u4e8b\u4ef6\u3001\u5904\u7406\u56fe\u50cf\u6570\u636e\u4ee5\u786e\u5b9a\u5750\u6807<\/strong>\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u4e00\u79cd\u5e38\u7528\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528OpenCV\u548cMatplotlib\u663e\u793a\u56fe\u7247\u5e76\u6355\u6349\u9f20\u6807\u4e8b\u4ef6<\/h3>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u5fc5\u8981\u7684\u5e93<\/h4>\n<\/p>\n<p><p>\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86OpenCV\u548cMatplotlib\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">pip install opencv-python matplotlib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528OpenCV\u8bfb\u53d6\u548c\u663e\u793a\u56fe\u7247<\/h4>\n<\/p>\n<p><p>OpenCV\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u53ef\u4ee5\u7528\u4e8e\u8bfb\u53d6\u548c\u663e\u793a\u56fe\u7247\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528OpenCV\u8bfb\u53d6\u56fe\u7247\u5e76\u663e\u793a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import cv2<\/p>\n<h2><strong>\u8bfb\u53d6\u56fe\u7247<\/strong><\/h2>\n<p>image = cv2.imread(&#39;path_to_your_image.jpg&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u7247<\/strong><\/h2>\n<p>cv2.imshow(&#39;Image&#39;, 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><h4>3. \u6355\u6349\u9f20\u6807\u4e8b\u4ef6<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u6355\u6349\u9f20\u6807\u70b9\u51fb\u4e8b\u4ef6\u5e76\u83b7\u53d6\u70b9\u51fb\u4f4d\u7f6e\u7684\u5750\u6807\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528OpenCV\u7684<code>setMouseCallback<\/code>\u51fd\u6570\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import cv2<\/p>\n<h2><strong>\u56de\u8c03\u51fd\u6570\uff0c\u83b7\u53d6\u70b9\u51fb\u4f4d\u7f6e\u7684\u5750\u6807<\/strong><\/h2>\n<p>def click_event(event, x, y, flags, param):<\/p>\n<p>    if event == cv2.EVENT_LBUTTONDOWN:<\/p>\n<p>        print(f&quot;Clicked at: ({x}, {y})&quot;)<\/p>\n<p>        font = cv2.FONT_HERSHEY_SIMPLEX<\/p>\n<p>        cv2.putText(image, f&quot;({x}, {y})&quot;, (x, y), font, 0.5, (255, 0, 0), 2)<\/p>\n<p>        cv2.imshow(&#39;Image&#39;, image)<\/p>\n<h2><strong>\u8bfb\u53d6\u56fe\u7247<\/strong><\/h2>\n<p>image = cv2.imread(&#39;path_to_your_image.jpg&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u7247\u5e76\u8bbe\u7f6e\u9f20\u6807\u56de\u8c03\u51fd\u6570<\/strong><\/h2>\n<p>cv2.imshow(&#39;Image&#39;, image)<\/p>\n<p>cv2.setMouseCallback(&#39;Image&#39;, click_event)<\/p>\n<p>cv2.waitKey(0)<\/p>\n<p>cv2.destroyAllWindows()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u5f53\u4f60\u70b9\u51fb\u56fe\u7247\u65f6\uff0c\u70b9\u51fb\u4f4d\u7f6e\u7684\u5750\u6807\u4f1a\u663e\u793a\u5728\u63a7\u5236\u53f0\uff0c\u5e76\u5728\u56fe\u7247\u4e0a\u6807\u8bb0\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528Matplotlib\u663e\u793a\u56fe\u7247\u5e76\u6355\u6349\u9f20\u6807\u4e8b\u4ef6<\/h3>\n<\/p>\n<p><h4>1. \u5b89\u88c5Matplotlib<\/h4>\n<\/p>\n<p><p>\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86Matplotlib\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">pip install matplotlib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528Matplotlib\u8bfb\u53d6\u548c\u663e\u793a\u56fe\u7247<\/h4>\n<\/p>\n<p><p>Matplotlib\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u7ed8\u56fe\u5e93\uff0c\u53ef\u4ee5\u7528\u4e8e\u8bfb\u53d6\u548c\u663e\u793a\u56fe\u7247\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528Matplotlib\u8bfb\u53d6\u56fe\u7247\u5e76\u663e\u793a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>import matplotlib.image as mpimg<\/p>\n<h2><strong>\u8bfb\u53d6\u56fe\u7247<\/strong><\/h2>\n<p>image = mpimg.imread(&#39;path_to_your_image.jpg&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u7247<\/strong><\/h2>\n<p>plt.imshow(image)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u6355\u6349\u9f20\u6807\u4e8b\u4ef6<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u6355\u6349\u9f20\u6807\u70b9\u51fb\u4e8b\u4ef6\u5e76\u83b7\u53d6\u70b9\u51fb\u4f4d\u7f6e\u7684\u5750\u6807\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Matplotlib\u7684\u4e8b\u4ef6\u5904\u7406\u529f\u80fd\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>import matplotlib.image as mpimg<\/p>\n<h2><strong>\u8bfb\u53d6\u56fe\u7247<\/strong><\/h2>\n<p>image = mpimg.imread(&#39;path_to_your_image.jpg&#39;)<\/p>\n<h2><strong>\u56de\u8c03\u51fd\u6570\uff0c\u83b7\u53d6\u70b9\u51fb\u4f4d\u7f6e\u7684\u5750\u6807<\/strong><\/h2>\n<p>def onclick(event):<\/p>\n<p>    if event.xdata is not None and event.ydata is not None:<\/p>\n<p>        print(f&quot;Clicked at: ({event.xdata}, {event.ydata})&quot;)<\/p>\n<p>        plt.plot(event.xdata, event.ydata, &#39;ro&#39;)<\/p>\n<p>        plt.draw()<\/p>\n<h2><strong>\u663e\u793a\u56fe\u7247\u5e76\u8bbe\u7f6e\u9f20\u6807\u56de\u8c03\u51fd\u6570<\/strong><\/h2>\n<p>fig, ax = plt.subplots()<\/p>\n<p>ax.imshow(image)<\/p>\n<p>fig.canvas.mpl_connect(&#39;button_press_event&#39;, onclick)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u5f53\u4f60\u70b9\u51fb\u56fe\u7247\u65f6\uff0c\u70b9\u51fb\u4f4d\u7f6e\u7684\u5750\u6807\u4f1a\u663e\u793a\u5728\u63a7\u5236\u53f0\uff0c\u5e76\u5728\u56fe\u7247\u4e0a\u6807\u8bb0\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528Pillow\u8bfb\u53d6\u548c\u663e\u793a\u56fe\u7247\u5e76\u6355\u6349\u9f20\u6807\u4e8b\u4ef6<\/h3>\n<\/p>\n<p><h4>1. \u5b89\u88c5Pillow<\/h4>\n<\/p>\n<p><p>\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86Pillow\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-sh\">pip install pillow<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528Pillow\u8bfb\u53d6\u548c\u663e\u793a\u56fe\u7247<\/h4>\n<\/p>\n<p><p>Pillow\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u56fe\u50cf\u5904\u7406\u5e93\uff0c\u53ef\u4ee5\u7528\u4e8e\u8bfb\u53d6\u548c\u663e\u793a\u56fe\u7247\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528Pillow\u8bfb\u53d6\u56fe\u7247\u5e76\u663e\u793a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<h2><strong>\u8bfb\u53d6\u56fe\u7247<\/strong><\/h2>\n<p>image = Image.open(&#39;path_to_your_image.jpg&#39;)<\/p>\n<h2><strong>\u663e\u793a\u56fe\u7247<\/strong><\/h2>\n<p>image.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u6355\u6349\u9f20\u6807\u4e8b\u4ef6<\/h4>\n<\/p>\n<p><p>\u7531\u4e8ePillow\u672c\u8eab\u6ca1\u6709\u63d0\u4f9b\u6355\u6349\u9f20\u6807\u4e8b\u4ef6\u7684\u529f\u80fd\uff0c\u6211\u4eec\u53ef\u4ee5\u7ed3\u5408\u5176\u4ed6\u5e93\uff08\u5982Tkinter\uff09\u6765\u5b9e\u73b0\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image, ImageTk<\/p>\n<p>import tkinter as tk<\/p>\n<h2><strong>\u8bfb\u53d6\u56fe\u7247<\/strong><\/h2>\n<p>image = Image.open(&#39;path_to_your_image.jpg&#39;)<\/p>\n<h2><strong>\u521b\u5efaTkinter\u7a97\u53e3<\/strong><\/h2>\n<p>root = tk.Tk()<\/p>\n<p>root.title(&#39;Image Viewer&#39;)<\/p>\n<h2><strong>\u5c06\u56fe\u7247\u8f6c\u6362\u4e3aTkinter\u517c\u5bb9\u7684\u683c\u5f0f<\/strong><\/h2>\n<p>tk_image = ImageTk.PhotoImage(image)<\/p>\n<h2><strong>\u521b\u5efaTkinter\u6807\u7b7e\u5e76\u663e\u793a\u56fe\u7247<\/strong><\/h2>\n<p>label = tk.Label(root, image=tk_image)<\/p>\n<p>label.pack()<\/p>\n<h2><strong>\u56de\u8c03\u51fd\u6570\uff0c\u83b7\u53d6\u70b9\u51fb\u4f4d\u7f6e\u7684\u5750\u6807<\/strong><\/h2>\n<p>def click_event(event):<\/p>\n<p>    print(f&quot;Clicked at: ({event.x}, {event.y})&quot;)<\/p>\n<h2><strong>\u7ed1\u5b9a\u9f20\u6807\u70b9\u51fb\u4e8b\u4ef6<\/strong><\/h2>\n<p>label.bind(&#39;&lt;Button-1&gt;&#39;, click_event)<\/p>\n<h2><strong>\u8fd0\u884cTkinter\u4e3b\u5faa\u73af<\/strong><\/h2>\n<p>root.mainloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u5f53\u4f60\u70b9\u51fb\u56fe\u7247\u65f6\uff0c\u70b9\u51fb\u4f4d\u7f6e\u7684\u5750\u6807\u4f1a\u663e\u793a\u5728\u63a7\u5236\u53f0\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u65b9\u6cd5\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e0d\u540c\u7684\u5e93\u6765\u663e\u793a\u56fe\u7247\u5e76\u6355\u6349\u9f20\u6807\u70b9\u51fb\u4e8b\u4ef6\uff0c\u4ece\u800c\u786e\u5b9a\u67d0\u4e2a\u70b9\u7684\u5750\u6807\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u70b9\uff0c\u9009\u62e9\u9002\u5408\u4f60\u9700\u6c42\u7684\u5e93\u548c\u65b9\u6cd5\u6765\u5b9e\u73b0\u56fe\u50cf\u663e\u793a\u548c\u5750\u6807\u6355\u6349\u3002<strong>OpenCV\u9002\u5408\u5904\u7406\u590d\u6742\u56fe\u50cf\u5904\u7406\u4efb\u52a1\uff0cMatplotlib\u9002\u5408\u7ed8\u56fe\u548c\u6570\u636e\u53ef\u89c6\u5316\uff0cPillow\u7ed3\u5408Tkinter\u9002\u5408\u7b80\u5355\u7684\u56fe\u50cf\u663e\u793a\u548c\u4e8b\u4ef6\u6355\u6349<\/strong>\u3002<\/p>\n<\/p>\n<p><p>\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u4f60\u8f7b\u677e\u5b9e\u73b0Python\u663e\u793a\u56fe\u7247\u5e76\u786e\u5b9a\u67d0\u4e2a\u70b9\u7684\u5750\u6807\u3002\u6839\u636e\u5b9e\u9645\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u548c\u5e93\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u5b8c\u6210\u4efb\u52a1\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u663e\u793a\u56fe\u7247\u5e76\u83b7\u53d6\u9f20\u6807\u70b9\u51fb\u7684\u5750\u6807\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>matplotlib<\/code>\u5e93\u6765\u663e\u793a\u56fe\u7247\u5e76\u83b7\u53d6\u9f20\u6807\u70b9\u51fb\u7684\u5750\u6807\u3002\u901a\u8fc7\u8fde\u63a5\u4e8b\u4ef6\u5904\u7406\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u6355\u6349\u9f20\u6807\u70b9\u51fb\u4e8b\u4ef6\uff0c\u4ece\u800c\u83b7\u53d6\u70b9\u51fb\u4f4d\u7f6e\u7684\u5750\u6807\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u4f7f\u7528<code>imshow()<\/code>\u51fd\u6570\u663e\u793a\u56fe\u7247\uff0c\u5e76\u901a\u8fc7<code>mpl_connect()<\/code>\u65b9\u6cd5\u5c06\u70b9\u51fb\u4e8b\u4ef6\u4e0e\u81ea\u5b9a\u4e49\u51fd\u6570\u5173\u8054\uff0c\u4ee5\u83b7\u53d6\u70b9\u51fb\u7684x\u548cy\u5750\u6807\u3002<\/p>\n<p><strong>\u4f7f\u7528\u54ea\u4e9b\u5e93\u53ef\u4ee5\u5728Python\u4e2d\u5904\u7406\u56fe\u50cf\uff1f<\/strong><br \/>\u9664\u4e86<code>matplotlib<\/code>\uff0cPython\u8fd8\u6709\u8bb8\u591a\u5176\u4ed6\u5e93\u53ef\u4ee5\u5904\u7406\u56fe\u50cf\uff0c\u6bd4\u5982<code>OpenCV<\/code>\u3001<code>PIL<\/code>\uff08Pillow\uff09\u548c<code>imageio<\/code>\u3002\u8fd9\u4e9b\u5e93\u63d0\u4f9b\u4e86\u591a\u79cd\u529f\u80fd\uff0c\u5982\u56fe\u50cf\u8bfb\u53d6\u3001\u5904\u7406\u3001\u663e\u793a\u4ee5\u53ca\u5750\u6807\u83b7\u53d6\u7b49\u3002\u6839\u636e\u9879\u76ee\u9700\u6c42\uff0c\u9009\u62e9\u5408\u9002\u7684\u5e93\u53ef\u4ee5\u63d0\u9ad8\u6548\u7387\u548c\u6548\u679c\u3002<\/p>\n<p><strong>\u5728\u83b7\u53d6\u5750\u6807\u65f6\uff0c\u5982\u4f55\u5c06\u56fe\u50cf\u5750\u6807\u8f6c\u6362\u4e3a\u5b9e\u9645\u5750\u6807\uff1f<\/strong><br \/>\u83b7\u53d6\u7684\u5750\u6807\u901a\u5e38\u662f\u56fe\u50cf\u7684\u50cf\u7d20\u5750\u6807\u3002\u82e5\u9700\u5c06\u5176\u8f6c\u6362\u4e3a\u5b9e\u9645\u5750\u6807\uff0c\u9700\u8003\u8651\u56fe\u50cf\u7684\u5206\u8fa8\u7387\u548c\u7f29\u653e\u6bd4\u4f8b\u3002\u4f8b\u5982\uff0c\u5982\u679c\u56fe\u50cf\u5728\u663e\u793a\u65f6\u88ab\u7f29\u653e\uff0c\u5219\u9700\u8981\u6839\u636e\u7f29\u653e\u6bd4\u4f8b\u5bf9\u83b7\u53d6\u7684\u5750\u6807\u8fdb\u884c\u8f6c\u6362\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7\u8ba1\u7b97\u539f\u59cb\u56fe\u50cf\u5c3a\u5bf8\u4e0e\u663e\u793a\u5c3a\u5bf8\u7684\u6bd4\u4f8b\u6765\u5b9e\u73b0\uff0c\u786e\u4fdd\u83b7\u5f97\u51c6\u786e\u7684\u5b9e\u9645\u5750\u6807\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u663e\u793a\u56fe\u7247\u5e76\u786e\u5b9a\u67d0\u4e2a\u70b9\u7684\u5750\u6807\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\u3002\u4f7f\u7528\u56fe\u50cf\u5904\u7406\u5e93\u5982OpenCV\u3001Pillow\u3001 [&hellip;]","protected":false},"author":3,"featured_media":1093740,"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\/1093735"}],"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=1093735"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1093735\/revisions"}],"predecessor-version":[{"id":1093742,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1093735\/revisions\/1093742"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1093740"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1093735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1093735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1093735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}