{"id":977114,"date":"2024-12-27T06:26:56","date_gmt":"2024-12-26T22:26:56","guid":{"rendered":""},"modified":"2024-12-27T06:26:58","modified_gmt":"2024-12-26T22:26:58","slug":"%e5%a6%82%e4%bd%95%e5%88%b6%e4%bd%9c%e4%ba%92%e5%8a%a8%e8%a7%86%e9%a2%91-python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/977114.html","title":{"rendered":"\u5982\u4f55\u5236\u4f5c\u4e92\u52a8\u89c6\u9891 python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24202520\/c51a263f-c36f-446b-b0a6-626bcd55c594.webp\" alt=\"\u5982\u4f55\u5236\u4f5c\u4e92\u52a8\u89c6\u9891 python\" \/><\/p>\n<p><p> <strong>\u5236\u4f5c\u4e92\u52a8\u89c6\u9891\u9700\u8981\u4f7f\u7528Python\u4e2d\u7684\u591a\u79cd\u5e93\u548c\u5de5\u5177\uff0c\u5982OpenCV\u3001MoviePy\u548cTkinter\u3002\u9996\u5148\uff0c\u9009\u62e9\u4e00\u4e2a\u9002\u5408\u7684\u5e93\u6216\u5de5\u5177\u6765\u5904\u7406\u89c6\u9891\u6587\u4ef6\uff0c\u7136\u540e\u4e3a\u89c6\u9891\u6dfb\u52a0\u4ea4\u4e92\u5143\u7d20\uff0c\u4f8b\u5982\u6309\u94ae\u3001\u6587\u672c\u6216\u5176\u4ed6\u52a8\u6001\u6548\u679c\u3002\u6700\u540e\uff0c\u5c06\u6240\u6709\u5143\u7d20\u6574\u5408\u5728\u4e00\u8d77\uff0c\u521b\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684\u4e92\u52a8\u89c6\u9891\u5e94\u7528\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u6bcf\u4e2a\u6b65\u9aa4\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001\u9009\u62e9\u5de5\u5177\u548c\u5e93<\/p>\n<\/p>\n<p><p>\u8981\u5236\u4f5c\u4e92\u52a8\u89c6\u9891\uff0c\u9996\u5148\u9700\u8981\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u548c\u5e93\u3002Python\u63d0\u4f9b\u4e86\u591a\u79cd\u5e93\u53ef\u4ee5\u7528\u6765\u5904\u7406\u89c6\u9891\u548c\u521b\u5efa\u4ea4\u4e92\u754c\u9762\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>OpenCV<\/strong>\uff1a\u4e00\u4e2a\u5f3a\u5927\u7684\u8ba1\u7b97\u673a\u89c6\u89c9\u5e93\uff0c\u53ef\u4ee5\u7528\u6765\u8bfb\u53d6\u3001\u5904\u7406\u548c\u663e\u793a\u89c6\u9891\u3002<\/li>\n<li><strong>MoviePy<\/strong>\uff1a\u4e00\u4e2a\u7528\u4e8e\u89c6\u9891\u7f16\u8f91\u7684\u5e93\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u526a\u8f91\u3001\u5408\u5e76\u548c\u6dfb\u52a0\u6548\u679c\u5230\u89c6\u9891\u4e2d\u3002<\/li>\n<li><strong>Tkinter<\/strong>\uff1aPython\u81ea\u5e26\u7684GUI\u5e93\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u7b80\u5355\u7684\u7528\u6237\u754c\u9762\uff0c\u9002\u5408\u7528\u6765\u6dfb\u52a0\u4ea4\u4e92\u5143\u7d20\u3002<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u8bfb\u53d6\u548c\u5904\u7406\u89c6\u9891<\/p>\n<\/p>\n<p><p>\u5728\u5236\u4f5c\u4e92\u52a8\u89c6\u9891\u65f6\uff0c\u9996\u5148\u9700\u8981\u8bfb\u53d6\u89c6\u9891\u6587\u4ef6\u5e76\u8fdb\u884c\u57fa\u672c\u5904\u7406\u3002\u8fd9\u4e00\u6b65\u53ef\u4ee5\u901a\u8fc7OpenCV\u6216MoviePy\u6765\u5b8c\u6210\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u4f7f\u7528OpenCV\u8bfb\u53d6\u89c6\u9891<\/strong><\/li>\n<\/ol>\n<p><p>OpenCV\u63d0\u4f9b\u4e86\u7b80\u5355\u7684\u63a5\u53e3\u6765\u8bfb\u53d6\u548c\u663e\u793a\u89c6\u9891\u3002\u901a\u8fc7<code>cv2.VideoCapture()<\/code>\u51fd\u6570\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u8bfb\u53d6\u89c6\u9891\u6587\u4ef6\uff0c\u5e76\u4f7f\u7528<code>cv2.imshow()<\/code>\u51fd\u6570\u663e\u793a\u89c6\u9891\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import cv2<\/p>\n<h2><strong>\u8bfb\u53d6\u89c6\u9891\u6587\u4ef6<\/strong><\/h2>\n<p>cap = cv2.VideoCapture(&#39;video.mp4&#39;)<\/p>\n<p>while cap.isOpened():<\/p>\n<p>    ret, frame = cap.read()<\/p>\n<p>    if not ret:<\/p>\n<p>        break<\/p>\n<p>    cv2.imshow(&#39;Video&#39;, frame)<\/p>\n<p>    if cv2.w<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>tKey(25) &amp; 0xFF == ord(&#39;q&#39;):<\/p>\n<p>        break<\/p>\n<p>cap.release()<\/p>\n<p>cv2.destroyAllWindows()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u4f7f\u7528MoviePy\u5904\u7406\u89c6\u9891<\/strong><\/li>\n<\/ol>\n<p><p>MoviePy\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u8fdb\u884c\u89c6\u9891\u526a\u8f91\u548c\u6548\u679c\u6dfb\u52a0\u3002\u901a\u8fc7<code>VideoFileClip<\/code>\u7c7b\uff0c\u53ef\u4ee5\u8bfb\u53d6\u89c6\u9891\u5e76\u8fdb\u884c\u5404\u79cd\u5904\u7406\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from moviepy.editor import VideoFileClip<\/p>\n<p>clip = VideoFileClip(&quot;video.mp4&quot;)<\/p>\n<p>clip.preview()  # \u663e\u793a\u89c6\u9891<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001\u6dfb\u52a0\u4ea4\u4e92\u5143\u7d20<\/p>\n<\/p>\n<p><p>\u5728\u5236\u4f5c\u4e92\u52a8\u89c6\u9891\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6dfb\u52a0\u4ea4\u4e92\u5143\u7d20\u662f\u4e00\u4e2a\u5173\u952e\u6b65\u9aa4\u3002\u4ea4\u4e92\u5143\u7d20\u53ef\u4ee5\u5305\u62ec\u6309\u94ae\u3001\u6587\u672c\u6846\u6216\u5176\u4ed6\u52a8\u6001\u6548\u679c\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u4f7f\u7528Tkinter\u6dfb\u52a0\u4ea4\u4e92\u754c\u9762<\/strong><\/li>\n<\/ol>\n<p><p>Tkinter\u662fPython\u81ea\u5e26\u7684GUI\u5e93\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u7b80\u5355\u7684\u7528\u6237\u754c\u9762\u3002\u5728\u89c6\u9891\u64ad\u653e\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u6dfb\u52a0\u6309\u94ae\u6765\u63a7\u5236\u89c6\u9891\u7684\u64ad\u653e\u3001\u6682\u505c\u6216\u5176\u4ed6\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import tkinter as tk<\/p>\n<p>from tkinter import ttk<\/p>\n<p>def play_video():<\/p>\n<p>    # \u64ad\u653e\u89c6\u9891\u7684\u903b\u8f91<\/p>\n<p>    pass<\/p>\n<p>def pause_video():<\/p>\n<p>    # \u6682\u505c\u89c6\u9891\u7684\u903b\u8f91<\/p>\n<p>    pass<\/p>\n<p>root = tk.Tk()<\/p>\n<p>root.title(&quot;\u4e92\u52a8\u89c6\u9891\u64ad\u653e\u5668&quot;)<\/p>\n<p>play_button = ttk.Button(root, text=&quot;\u64ad\u653e&quot;, command=play_video)<\/p>\n<p>play_button.pack()<\/p>\n<p>pause_button = ttk.Button(root, text=&quot;\u6682\u505c&quot;, command=pause_video)<\/p>\n<p>pause_button.pack()<\/p>\n<p>root.mainloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u5728\u89c6\u9891\u4e2d\u6dfb\u52a0\u52a8\u6001\u6548\u679c<\/strong><\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4f7f\u7528MoviePy\u4e3a\u89c6\u9891\u6dfb\u52a0\u52a8\u6001\u6548\u679c\uff0c\u5982\u6587\u672c\u3001\u52a8\u753b\u7b49\u3002\u901a\u8fc7<code>TextClip<\/code>\u7c7b\uff0c\u53ef\u4ee5\u5728\u89c6\u9891\u4e2d\u6dfb\u52a0\u6587\u672c\uff0c\u5e76\u901a\u8fc7<code>CompositeVideoClip<\/code>\u5c06\u5176\u5408\u6210\u4e3a\u4e00\u4e2a\u65b0\u7684\u89c6\u9891\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from moviepy.editor import TextClip, CompositeVideoClip<\/p>\n<p>clip = VideoFileClip(&quot;video.mp4&quot;)<\/p>\n<p>txt_clip = TextClip(&quot;Hello World&quot;, fontsize=70, color=&#39;white&#39;)<\/p>\n<p>txt_clip = txt_clip.set_pos(&#39;center&#39;).set_duration(10)<\/p>\n<p>video = CompositeVideoClip([clip, txt_clip])<\/p>\n<p>video.preview()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u6574\u5408\u4e92\u52a8\u89c6\u9891\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u5c06\u8bfb\u53d6\u548c\u5904\u7406\u89c6\u9891\u3001\u6dfb\u52a0\u4ea4\u4e92\u5143\u7d20\u7684\u6b65\u9aa4\u6574\u5408\u5728\u4e00\u8d77\uff0c\u521b\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684\u4e92\u52a8\u89c6\u9891\u5e94\u7528\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u6574\u5408OpenCV\u4e0eTkinter<\/strong><\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u5c06OpenCV\u7684\u89c6\u9891\u5904\u7406\u4e0eTkinter\u7684\u4ea4\u4e92\u754c\u9762\u7ed3\u5408\u8d77\u6765\uff0c\u5b9e\u73b0\u4e00\u4e2a\u7b80\u5355\u7684\u4e92\u52a8\u89c6\u9891\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import cv2<\/p>\n<p>import tkinter as tk<\/p>\n<p>from tkinter import ttk<\/p>\n<p>def play_pause_video():<\/p>\n<p>    global playing<\/p>\n<p>    playing = not playing<\/p>\n<p>    if playing:<\/p>\n<p>        play_button.config(text=&quot;\u6682\u505c&quot;)<\/p>\n<p>    else:<\/p>\n<p>        play_button.config(text=&quot;\u64ad\u653e&quot;)<\/p>\n<p>def update_frame():<\/p>\n<p>    if playing:<\/p>\n<p>        ret, frame = cap.read()<\/p>\n<p>        if ret:<\/p>\n<p>            cv2.imshow(&#39;Video&#39;, frame)<\/p>\n<p>    root.after(33, update_frame)<\/p>\n<p>cap = cv2.VideoCapture(&#39;video.mp4&#39;)<\/p>\n<p>playing = False<\/p>\n<p>root = tk.Tk()<\/p>\n<p>root.title(&quot;\u4e92\u52a8\u89c6\u9891\u64ad\u653e\u5668&quot;)<\/p>\n<p>play_button = ttk.Button(root, text=&quot;\u64ad\u653e&quot;, command=play_pause_video)<\/p>\n<p>play_button.pack()<\/p>\n<p>root.after(33, update_frame)<\/p>\n<p>root.mainloop()<\/p>\n<p>cap.release()<\/p>\n<p>cv2.destroyAllWindows()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u6574\u5408MoviePy\u4e0eTkinter<\/strong><\/li>\n<\/ol>\n<p><p>\u540c\u6837\uff0c\u53ef\u4ee5\u5c06MoviePy\u7684\u89c6\u9891\u5904\u7406\u4e0eTkinter\u7684\u4ea4\u4e92\u754c\u9762\u7ed3\u5408\u8d77\u6765\uff0c\u521b\u5efa\u4e00\u4e2a\u529f\u80fd\u66f4\u4e30\u5bcc\u7684\u4e92\u52a8\u89c6\u9891\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from moviepy.editor import VideoFileClip<\/p>\n<p>import tkinter as tk<\/p>\n<p>from tkinter import ttk<\/p>\n<p>def play_pause_video():<\/p>\n<p>    global playing<\/p>\n<p>    playing = not playing<\/p>\n<p>    if playing:<\/p>\n<p>        play_button.config(text=&quot;\u6682\u505c&quot;)<\/p>\n<p>        clip.preview()<\/p>\n<p>    else:<\/p>\n<p>        play_button.config(text=&quot;\u64ad\u653e&quot;)<\/p>\n<p>clip = VideoFileClip(&quot;video.mp4&quot;)<\/p>\n<p>playing = False<\/p>\n<p>root = tk.Tk()<\/p>\n<p>root.title(&quot;\u4e92\u52a8\u89c6\u9891\u64ad\u653e\u5668&quot;)<\/p>\n<p>play_button = ttk.Button(root, text=&quot;\u64ad\u653e&quot;, command=play_pause_video)<\/p>\n<p>play_button.pack()<\/p>\n<p>root.mainloop()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u603b\u7ed3<\/strong><\/p>\n<\/p>\n<p><p>\u5236\u4f5c\u4e92\u52a8\u89c6\u9891\u9700\u8981\u7ed3\u5408Python\u7684\u591a\u79cd\u5e93\u548c\u5de5\u5177\uff0c\u5305\u62ecOpenCV\u3001MoviePy\u548cTkinter\u3002\u5728\u5236\u4f5c\u8fc7\u7a0b\u4e2d\uff0c\u9996\u5148\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u548c\u5e93\uff0c\u7136\u540e\u8bfb\u53d6\u548c\u5904\u7406\u89c6\u9891\u6587\u4ef6\uff0c\u63a5\u7740\u6dfb\u52a0\u4ea4\u4e92\u5143\u7d20\uff0c\u6700\u540e\u5c06\u6240\u6709\u5143\u7d20\u6574\u5408\u5728\u4e00\u8d77\uff0c\u521b\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684\u4e92\u52a8\u89c6\u9891\u5e94\u7528\u3002\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u529f\u80fd\u4e30\u5bcc\u3001\u7528\u6237\u4f53\u9a8c\u826f\u597d\u7684\u4e92\u52a8\u89c6\u9891\u5e94\u7528\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u5236\u4f5c\u4e92\u52a8\u89c6\u9891\u7684\u57fa\u7840\u77e5\u8bc6\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5236\u4f5c\u4e92\u52a8\u89c6\u9891\u7684\u57fa\u7840\u77e5\u8bc6\u5305\u62ec\u4e86\u89e3\u89c6\u9891\u5904\u7406\u548c\u7f16\u8f91\u7684\u57fa\u672c\u6982\u5ff5\uff0c\u4ee5\u53ca\u5982\u4f55\u901a\u8fc7\u7f16\u7a0b\u5b9e\u73b0\u4e92\u52a8\u5143\u7d20\u3002Python\u53ef\u4ee5\u5229\u7528\u591a\u79cd\u5e93\uff0c\u5982OpenCV\u3001MoviePy\u548cPygame\u7b49\uff0c\u6765\u5904\u7406\u89c6\u9891\u6587\u4ef6\u5e76\u6dfb\u52a0\u7528\u6237\u4ea4\u4e92\u529f\u80fd\u3002\u6b64\u5916\uff0c\u638c\u63e1HTML5\u548cJavaScript\u4e5f\u53ef\u4ee5\u5e2e\u52a9\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u4e92\u52a8\u6548\u679c\uff0c\u5c24\u5176\u662f\u5728\u7f51\u9875\u4e0a\u5c55\u793a\u4e92\u52a8\u89c6\u9891\u65f6\u3002<\/p>\n<p><strong>\u5236\u4f5c\u4e92\u52a8\u89c6\u9891\u9700\u8981\u54ea\u4e9bPython\u5e93\u548c\u5de5\u5177\uff1f<\/strong><br \/>\u4e3a\u4e86\u5236\u4f5c\u4e92\u52a8\u89c6\u9891\uff0c\u5e38\u7528\u7684Python\u5e93\u5305\u62ecMoviePy\u7528\u4e8e\u89c6\u9891\u7f16\u8f91\u548c\u5904\u7406\uff0cOpenCV\u7528\u4e8e\u56fe\u50cf\u5904\u7406\u548c\u8ba1\u7b97\u673a\u89c6\u89c9\uff0cPygame\u7528\u4e8e\u6e38\u620f\u5f00\u53d1\u548c\u7528\u6237\u4ea4\u4e92\uff0cFlask\u6216Django\u53ef\u4ee5\u7528\u4e8e\u6784\u5efa\u540e\u7aef\u670d\u52a1\u5668\u6765\u7ba1\u7406\u89c6\u9891\u5185\u5bb9\u3002\u6839\u636e\u9879\u76ee\u9700\u6c42\uff0c\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u548c\u5e93\u5c06\u6709\u52a9\u4e8e\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002<\/p>\n<p><strong>\u4e92\u52a8\u89c6\u9891\u7684\u6700\u4f73\u5b9e\u8df5\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\u6700\u4f73\u5b9e\u8df5\u5305\u62ec\u6e05\u6670\u5730\u5b9a\u4e49\u7528\u6237\u4ea4\u4e92\u70b9\uff0c\u4f7f\u4e92\u52a8\u5143\u7d20\u76f4\u89c2\u6613\u7528\u3002\u540c\u65f6\uff0c\u786e\u4fdd\u89c6\u9891\u5185\u5bb9\u5177\u6709\u5438\u5f15\u529b\u548c\u8da3\u5473\u6027\uff0c\u4ee5\u4fdd\u6301\u89c2\u4f17\u7684\u6ce8\u610f\u529b\u3002\u6b64\u5916\uff0c\u4f18\u5316\u89c6\u9891\u52a0\u8f7d\u901f\u5ea6\u548c\u64ad\u653e\u6027\u80fd\uff0c\u786e\u4fdd\u5728\u5404\u79cd\u8bbe\u5907\u4e0a\u90fd\u80fd\u6d41\u7545\u64ad\u653e\uff0c\u4e5f\u5341\u5206\u91cd\u8981\u3002\u6d4b\u8bd5\u4e92\u52a8\u5143\u7d20\u7684\u529f\u80fd\u548c\u7528\u6237\u4f53\u9a8c\uff0c\u4ee5\u4fbf\u6839\u636e\u53cd\u9988\u8fdb\u884c\u6539\u8fdb\uff0c\u5c06\u5927\u5927\u63d0\u5347\u6700\u7ec8\u4ea7\u54c1\u7684\u8d28\u91cf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5236\u4f5c\u4e92\u52a8\u89c6\u9891\u9700\u8981\u4f7f\u7528Python\u4e2d\u7684\u591a\u79cd\u5e93\u548c\u5de5\u5177\uff0c\u5982OpenCV\u3001MoviePy\u548cTkinter\u3002\u9996\u5148\uff0c\u9009\u62e9\u4e00 [&hellip;]","protected":false},"author":3,"featured_media":977119,"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\/977114"}],"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=977114"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/977114\/revisions"}],"predecessor-version":[{"id":977122,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/977114\/revisions\/977122"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/977119"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=977114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=977114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=977114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}