{"id":8285,"date":"2021-06-28T09:09:17","date_gmt":"2021-06-28T00:09:17","guid":{"rendered":"https:\/\/www.ecomottblog.com\/?p=8285"},"modified":"2021-06-28T13:54:43","modified_gmt":"2021-06-28T04:54:43","slug":"%e3%83%91%e3%83%a9%e3%83%91%e3%83%a9%e6%bc%ab%e7%94%bb%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b%e3%82%a2%e3%83%97%e3%83%aa%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%be%e3%81%97%e3%81%9f","status":"publish","type":"post","link":"https:\/\/test.ecomottblog.com\/?p=8285","title":{"rendered":"\u30d1\u30e9\u30d1\u30e9\u6f2b\u753b\u3092\u4f5c\u6210\u3059\u308b\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01<br \/>\n\u88fd\u54c1\u958b\u767a\u90e8\u6620\u50cfAI\u30b0\u30eb\u30fc\u30d7\u306e\u5f35\u671d\u7a0b\u3067\u3059\u3002<\/p>\n<p>\u6700\u8fd1\u3001\u30b8\u30aa\u30b9\u30b3\u30fc\u30d7\u3084\u30df\u30eb\u30e2\u30c3\u30c8HD\u3092\u3054\u5229\u7528\u4e2d\u306e\u304a\u5ba2\u69d8\u304b\u3089\u30af\u30e9\u30a6\u30c9\u9332\u753b\u30c7\u30fc\u30bf\u306e\u9759\u6b62\u753b\u3092\u30d1\u30e9\u30d1\u30e9\u6f2b\u753b\u306b\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u304a\u554f\u3044\u5408\u308f\u305b\u304c\u5897\u3048\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001Python\u3068OpenCV\u3092\u4f7f\u3048\u3070\u3001\u9759\u6b62\u753b\u3092\u4e00\u62ec\u3067\u53d6\u5f97\u3057\u7c21\u5358\u306b\u30d1\u30e9\u30d1\u30e9\u6f2b\u753b\u3092\u751f\u6210\u3067\u304d\u308b\u306e\u3067\u3001\u3053\u306e\u8ab2\u984c\u3092\u30af\u30ea\u30a2\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u3001Python\u30d7\u30ed\u30b0\u30e9\u30e0\u3092Windows\u306eexe\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u63db\u3059\u308b\u30c4\u30fc\u30ebPyInstaller\u3092\u4f7f\u3044\u3001Python\u74b0\u5883\u304c\u306a\u3044Windows PC\u3067\u3082\u52d5\u304fPython\u3068OpenCV\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><!--more--><\/p>\n<h2>0. \u958b\u767a\u74b0\u5883<\/h2>\n<ul>\n<li>OS: Windows10<\/li>\n<li>Python: 3.8.2<\/li>\n<li>OpenCV: 4.5.2<\/li>\n<li>PyInstaller: 4.3<\/li>\n<\/ul>\n<h2>1. \u74b0\u5883\u69cb\u7bc9<\/h2>\n<p>Windows\u306e\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067Python\u306e\u5b9f\u884c\u74b0\u5883\u304c\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u306b\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u74b0\u5883\u69cb\u7bc9\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h3>1.1 Python\u3068pip<\/h3>\n<p>Python\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u306f\u3001PyInstaller\u3068\u306e\u4e92\u63db\u6027\u304c\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<a href=\"https:\/\/www.python.org\/downloads\/\">Python 3.8.2<\/a>\u306a\u3089PyInstaller\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>OpenCV\u3068PyInstaller\u306f\u3001pip\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002pip\u304c\u306a\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true\">C:\\Users\\hoge&gt; curl https:\/\/bootstrap.pypa.io\/get-pip.py -o get-pip.py\nC:\\Users\\hoge&gt; python get-pip.py\nC:\\Users\\hoge&gt; pip --version\npip 21.1.2<\/pre>\n<h3>1.2 PyInstaller\u3068OpenCV<\/h3>\n<p>pip\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true\">C:\\Users\\hoge&gt; pip install pyinstaller\nC:\\Users\\hoge&gt; pip install opencv-python<\/pre>\n<p>PyInstaller\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true\">C:\\Users\\hoge&gt; pyinstaller --version\n4.3<\/pre>\n<p>OpenCV\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true\">C:\\Users\\hoge&gt; python\nPython 3.8.2 on win32\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n&gt;&gt;&gt; import cv2\n&gt;&gt;&gt; cv2.__version__\n'4.5.2'<\/pre>\n<h2>2. Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4f5c\u6210<\/h2>\n<p>\u307e\u305a\u3001Documents\u30d5\u30a9\u30eb\u30c0\u306e\u76f4\u4e0b\u306bworkspace_python\u3068\u3044\u3046\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u305d\u3057\u3066\u3001workspace_python\u306e\u76f4\u4e0b\u306b\u3001main.py\u30d5\u30a1\u30a4\u30eb\u3068\u3001\u9759\u6b62\u753b\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3059\u308bimg\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u9759\u6b62\u753b\u30d5\u30a1\u30a4\u30eb\u3092img\\\u306b\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h3>2.1 \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020<\/h3>\n<pre class=\"theme:dark-terminal lang:default decode:true\">C:\\Users\\hoge\\Documents\\workspace_python\\\n|- img\\\n|  - 20210621160001.jpg\n|  - 20210621160002.jpg\n|  - 20210621160003.jpg\n|  - ...(\u7701\u7565)...\n|- main.py\n<\/pre>\n<h3>2.2 Python\u30b9\u30af\u30ea\u30d7\u30c8 main.py<\/h3>\n<pre class=\"theme:xcode lang:python decode:true\">import cv2\nfrom glob import glob\n\n# FPS\u30011\u79d2\u9593\u306e\u52d5\u753b\u3067\u898b\u305b\u308b\u9759\u6b62\u753b\u306e\u679a\u6570\nFRAME_RATE = 10.0\n\ndef timelaps(img_paths):\n    \"\"\"\n    \u30bf\u30a4\u30e0\u30e9\u30d7\u30b9\u52d5\u753b\u3092\u4f5c\u6210\n\n    Parameters\n    ----------\n    img_paths : [string]\n        \u753b\u50cf\u30c7\u30fc\u30bf\u306e\u76f8\u5bfe\u30d1\u30b9\u914d\u5217\n    \"\"\"\n    # \u4e00\u679a\u76ee\u306e\u753b\u50cf\u30b5\u30a4\u30ba\u3092\u53d6\u5f97\n    height, width = cv2.imread(img_paths[0]).shape[:2]\n    \n    fourcc = cv2.VideoWriter_fourcc('m','p','4','v')\n    \n    video = cv2.VideoWriter('timelaps.mp4', fourcc, FRAME_RATE, (width, height))\n    \n    print(\"\u52d5\u753b\u5909\u63db\u4e2d...\")\n\n    for i in range(len(img_paths)):\n        img = cv2.imread(img_paths[i])\n        # imread\u306e\u623b\u308a\u5024\u306b\u5bfe\u3057\u3066None\u3058\u3083\u306a\u3044\u304b\u3069\u3046\u304b\u30c1\u30a7\u30c3\u30af\n        if not img is None:\n            img = cv2.resize(img, (width, height))\n            video.write(img) \n        \n    video.release()\n    print(\"\u5909\u63db\u5b8c\u4e86\")\n    \n\nif __name__ == '__main__':\n\n    # img\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u53d6\u5f97\n    imgs = glob('img\/*.jpg')\n    # \u5ff5\u306e\u305f\u3081\u3001jpeg\u3082\u53d6\u5f97\u3059\u308b\n    imgs.extend(glob('img\/*.jpeg'))\n    # \u753b\u50cf\u540d\u79f0\u3092\u6607\u9806\u306b\u30bd\u30fc\u30c8\u3059\u308b\n    img_paths = sorted(imgs)\n    # \u53d6\u5f97\u753b\u50cf\u306e\u679a\u6570\u3092\u78ba\u8a8d\u3059\u308b\n    print(\"Frame\u679a\u6570{0}\".format(len(img_paths)))\n    # \u30bf\u30a4\u30e0\u30e9\u30d7\u30b9\u52d5\u753b\u3092\u4f5c\u6210\u958b\u59cb\n    timelaps(img_paths)\n<\/pre>\n<h3>2.3 main.py\u3067\u4f7f\u308f\u308c\u305fOpenCV<\/h3>\n<ul>\n<li>cv2.imread( img_paths[0] )<br \/>\n\u53d6\u5f97\u3057\u305f\u4e00\u679a\u76ee\u306e\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/li>\n<li>cv2.imread( img_paths[0] ).shape[:2]<br \/>\n\u4e00\u679a\u76ee\u306e\u753b\u50cf\u306ewidth\u3068height\u3092\u53d6\u5f97\u3057\u3001\u5909\u6570height\u3068\u5909\u6570width\u306b\u4ee3\u5165\u3057\u307e\u3059\u3002<\/li>\n<li>cv.VideoWriter_fourcc(&#8216;m&#8217;, &#8216;p&#8217; , &#8216;4&#8217; , &#8216;v&#8217;)<br \/>\nmp4\u52d5\u753b\u3092\u51fa\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff01\u3068\u3044\u3046\u30c7\u30fc\u30bf\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/li>\n<li>cv2.VideoWriter(&#8216;timelaps.mp4&#8217;, fourcc, FRAME_RATE, (width, height))<br \/>\n\u5f15\u65701: \u52d5\u753b\u30d1\u30b9\u540d<br \/>\n\u5f15\u65702:&nbsp;cv.VideoWriter_fourcc(&#8216;m&#8217;, &#8216;p&#8217; , &#8216;4&#8217; , &#8216;v&#8217;)\u306e\u623b\u308a\u5024\u3002<br \/>\n\u5f15\u65703: FPS ( Frame Per Second ) \u3001\u3064\u307e\u308a1\u79d2\u9593\u306e\u52d5\u753b\u3067\u898b\u305b\u308b\u9759\u6b62\u753b\u306e\u679a\u6570\u3092\u610f\u5473\u3057\u307e\u3059\u3002<br \/>\n\u5f15\u65704: \u52d5\u753b\u30b5\u30a4\u30ba\u3002<\/li>\n<li>cv.VideoWriter.write(image)\u3068cv.VideoWriter.release()<br \/>\nfor\u30eb\u30fc\u30d7\u3067\u3001\u3059\u3079\u3066\u306e\u753b\u50cf\u3092.write(image)\u3067\u66f8\u304d\u8fbc\u3093\u3067\u304b\u3089\u3001.release()\u3067mp4\u30d5\u30a1\u30a4\u30eb\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<h2>3. Python\u30a2\u30d7\u30ea\u3092exe\u5316\u3057\u3066\u52d5\u753b\u4f5c\u6210\u3057\u307e\u3059<\/h2>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001\u5148\u307b\u3069\u4f5c\u3063\u305fPython\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u7c21\u5358\u306bexe\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u63db\u3067\u304d\u307e\u3059\u3002&#8211;onefile\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u3068\u3001\u95a2\u9023\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\uff11\u3064\u306b\u307e\u3068\u3081\u3066exe\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true\">C:\\Users\\hoge\\Documents\\workspace_python&gt; pyinstaller main.py --onefile<\/pre>\n<p>\u3082\u3057PyInstaller\u306f\u74b0\u5883\u5909\u6570\u306b\u901a\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3082\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true\">C:\\Users\\hoge\\Documents\\workspace_python&gt; python -m PyInstaller main.py --onefile<\/pre>\n<p>\u3046\u307e\u304f\u3044\u304f\u3068\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true \">C:\\Users\\hoge\\Documents\\worksapce_python\\\n|- __pycache__\\\n|- build\\\n|- dist\\\n|  - main.exe\n|- img\\\n|  - 20210621160001.jpg\n|  - 20210621160002.jpg\n|  - 20210621160003.jpg\n|  - ...(\u7701\u7565)...\n|- main.spec<\/pre>\n<p>~\\dist\\\u306e\u76f4\u4e0b\u306b\u3001main.exe\u3092\u751f\u6210\u3067\u304d\u307e\u3057\u305f\u306d\u3002<\/p>\n<p>\u4eca\u56de\u306ePython\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u9759\u6b62\u753b\u3092\u683c\u7d0d\u3059\u308bimg\u30d5\u30a9\u30eb\u30c0\u306fexe\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u968e\u5c64\u306b\u914d\u7f6e\u3059\u308b\u4ed5\u69d8\u3067\u3059\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001exe\u30d5\u30a1\u30a4\u30eb\u3092dist\u30d5\u30a9\u30eb\u30c0\u304b\u3089\u53d6\u308a\u51fa\u3057\u3001img\u30d5\u30a9\u30eb\u30c0\u3068\u540c\u3058\u968e\u5c64\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true\">C:\\Users\\hoge\\Documents\\workspace_python\\\n|- (\u7701\u7565)\n|- img\\\n|- main.exe<\/pre>\n<p>\u4ee5\u4e0a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u78ba\u8a8d\u3057\u305f\u4e0a\u3067\u3001\u30de\u30a6\u30b9\u3067main.exe\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001Windows\u306eterminal\u3092\u8868\u793a\u3057\u3001Python\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u306eprint()\u5185\u5bb9\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true\">Frame\u679a\u6570XX\n\u52d5\u753b\u5909\u63db\u4e2d...\n\u5909\u63db\u5b8c\u4e86<\/pre>\n<p>&#8220;\u5909\u63db\u5b8c\u4e86&#8221;\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u3001windows\u306eterminal\u304c\u81ea\u52d5\u7684\u306b\u6d88\u3048\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u78ba\u8a8d\u3059\u308b\u3068\u3001timelaps.mp4\u30d5\u30a1\u30a4\u30eb\u304cworksapce_python\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\uff01<\/p>\n<pre class=\"theme:dark-terminal lang:default decode:true\">C:\\Users\\hoge\\Document\\worksapce_python&gt; dir \/b\n__pycache__\nbuild\ndist\nimg\nmain.exe\nmain.py\nmain.spec\ntimelaps.mp4<\/pre>\n<h2>4.\u5b9f\u6f14&nbsp;<\/h2>\n<p>\u30a8\u30b3\u30e2\u30c3\u30c8\u672c\u793e\u524d\u3067\u64ae\u5f71\u3055\u308c\u305f\u9759\u6b62\u753b80\u679a\u3092\u30d1\u30e9\u30d1\u30e9\u6f2b\u753b\u306b\u3057\u307e\u3057\u305f\uff01<br \/>\n( \u52d5\u753b\u30b5\u30a4\u30ba:&nbsp; 320 * 180 )<\/p>\n<div style=\"width: 640px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-8285-1\" width=\"640\" height=\"424\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2021\/06\/timelaps.mp4?_=1\" \/><a href=\"https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2021\/06\/timelaps.mp4\">https:\/\/www.ecomottblog.com\/cmswp\/wp-content\/uploads\/2021\/06\/timelaps.mp4<\/a><\/video><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01 \u88fd\u54c1\u958b\u767a\u90e8\u6620\u50cfAI\u30b0\u30eb\u30fc\u30d7\u306e\u5f35\u671d\u7a0b\u3067\u3059\u3002 \u6700\u8fd1\u3001\u30b8\u30aa\u30b9\u30b3\u30fc\u30d7\u3084\u30df\u30eb\u30e2\u30c3\u30c8HD\u3092\u3054\u5229\u7528\u4e2d\u306e\u304a\u5ba2\u69d8\u304b\u3089\u30af\u30e9\u30a6\u30c9\u9332\u753b\u30c7\u30fc\u30bf\u306e\u9759\u6b62\u753b\u3092\u30d1\u30e9\u30d1\u30e9\u6f2b\u753b\u306b\u3057\u305f\u3044\u3001\u3068\u3044\u3046\u304a\u554f\u3044\u5408\u308f\u305b\u304c\u5897\u3048\u3066\u304d\u307e\u3057\u305f\u3002 \u305d\u3053\u3067\u3001Python [&hellip;]<\/p>\n","protected":false},"author":89,"featured_media":8305,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[110,109,50],"_links":{"self":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/8285"}],"collection":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/users\/89"}],"replies":[{"embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8285"}],"version-history":[{"count":35,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/8285\/revisions"}],"predecessor-version":[{"id":8351,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/8285\/revisions\/8351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/media\/8305"}],"wp:attachment":[{"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}