{"id":4223,"date":"2020-10-01T15:12:13","date_gmt":"2020-10-01T06:12:13","guid":{"rendered":"https:\/\/taki-lab.site\/bocci\/?p=4223"},"modified":"2020-10-01T15:12:16","modified_gmt":"2020-10-01T06:12:16","slug":"%e3%80%90%e3%83%a9%e3%82%ba%e3%83%91%e3%82%a4%e3%80%91%e3%83%aa%e3%83%a2%e3%83%bc%e3%83%88%e3%81%a7%e3%82%ab%e3%83%a1%e3%83%a9%e3%81%ae%e3%83%97%e3%83%ac%e3%83%93%e3%83%a5%e3%83%bc%e8%a1%a8%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/taki-lab.site\/bocci\/?p=4223","title":{"rendered":"\u3010\u30e9\u30ba\u30d1\u30a4\u3011\u30ea\u30e2\u30fc\u30c8\u3067\u30ab\u30e1\u30e9\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u8868\u793a"},"content":{"rendered":"\n<p>\u3044\u3084\u3001\u4eca\u56de\u306f\u7d50\u69cb\u30cf\u30de\u3063\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"474\" height=\"380\" data-attachment-id=\"4224\" data-permalink=\"https:\/\/taki-lab.site\/bocci\/?attachment_id=4224\" data-orig-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/795a241f54d363e98d9ebe27e7b4d0df.jpg?fit=524%2C420&amp;ssl=1\" data-orig-size=\"524,420\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"795a241f54d363e98d9ebe27e7b4d0df\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/795a241f54d363e98d9ebe27e7b4d0df.jpg?fit=474%2C380&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/795a241f54d363e98d9ebe27e7b4d0df.jpg?resize=474%2C380&#038;ssl=1\" alt=\"\" class=\"wp-image-4224\" srcset=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/795a241f54d363e98d9ebe27e7b4d0df.jpg?w=524&amp;ssl=1 524w, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/795a241f54d363e98d9ebe27e7b4d0df.jpg?resize=300%2C240&amp;ssl=1 300w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/figure>\n\n\n\n<p>\u3053\u308c\u304c\u534a\u65e5\u9811\u5f35\u3063\u305f\u6210\u679c\u3060\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u30e9\u30ba\u30d1\u30a4\u5074\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import base64\r\nimport cv2\r\nimport json\r\nimport os\r\nimport sys\r\nimport urllib.parse\r\nimport time\r\nimport threading\r\n\r\nfrom http.server import BaseHTTPRequestHandler\r\nfrom http.server import HTTPServer\r\nfrom http import HTTPStatus\r\n\r\nPORT = 8000\r\n\r\ncap = cv2.VideoCapture(0)\r\n\r\ndef __main__():\r\n    thread = threading.Thread(target=httpServe)\r\n    thread.start()\r\n    \r\n    try:\r\n        while cap.isOpened():\r\n            time.sleep(1)\r\n    except KeyboardInterrupt:\r\n        return\r\n\r\ndef httpServe():\r\n    handler = StubHttpRequestHandler\r\n    httpd = HTTPServer(('',PORT),handler)\r\n    httpd.serve_forever()\r\n\r\nclass StubHttpRequestHandler(BaseHTTPRequestHandler):\r\n    server_version = \"HTTP Stub\/0.1\"\r\n\r\n    def __init__(self, *args, **kwargs):\r\n        super().__init__(*args, **kwargs)\r\n\r\n    def do_GET(self):\r\n        enc = sys.getfilesystemencoding()\r\n\r\n        _, img = cap.read()\r\n        resized_img = cv2.resize(img, (480, 320))\r\n        _, encoded_img = cv2.imencode('.jpg', resized_img, &#91;int(cv2.IMWRITE_JPEG_QUALITY), 30])\r\n        dst_base64 = base64.b64encode(encoded_img).decode('utf-8')\r\n\r\n        data = {\r\n            'image': 'data:image\/jpg;base64,' + dst_base64\r\n        }\r\n\r\n        encoded = json.dumps(data).encode()\r\n\r\n        self.send_response(HTTPStatus.OK)\r\n        self.send_header(\"Content-type\", \"text\/html; charset=%s\" % enc)\r\n        self.send_header(\"Access-Control-Allow-Origin\", \"null\")\r\n        self.send_header(\"Content-Length\", str(len(encoded)))\r\n        self.end_headers()\r\n\r\n        self.wfile.write(encoded)     \r\n\r\n__main__()\r\n<\/code><\/pre>\n\n\n\n<p>\u305d\u3057\u3066\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\r\n&lt;html>\r\n&lt;head>\r\n  &lt;title>My first Vue app&lt;\/title>\r\n  &lt;script src=\"https:\/\/cdn.jsdelivr.net\/npm\/axios\/dist\/axios.min.js\">&lt;\/script>\r\n  &lt;script src=\"vue.min.js\">&lt;\/script>\r\n  &lt;script src=\"jquery-3.5.1.slim.min.js\">&lt;\/script>\r\n&lt;\/head>\r\n&lt;body>\r\n  &lt;div id=\"app\">\r\n      &lt;image id=\"camera\" src=\"\" \/>\r\n  &lt;\/div>\r\n\r\n  &lt;script>\r\n    var app = new Vue({\r\n      el: '#app',\r\n      data: {\r\n        timer: null,\r\n      },\r\n      created: function() {\r\n        self = this;\r\n        this.timer = setInterval(function() {self.onLoad()}, 50)\r\n      },\r\n      methods: {\r\n        onLoad: function() {\r\n            axios.get('http:\/\/pi4.local:8000').then(function(response){\r\n                $(\"#camera\").attr('src', response.data.image);\r\n            }).catch(function(error){\r\n            });\r\n        }\r\n      }\r\n    })\r\n  &lt;\/script>\r\n&lt;\/body>\r\n&lt;\/html>\r\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/PXL_20201001_054140711.mp4\"><\/video><\/figure>\n\n\n\n<p>\u307e\u305a\u3001\u30b5\u30fc\u30d0\u5074\u306e\u8aac\u660e\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u3059\u3067\u306b\u4f7f\u3063\u305f\u5b9f\u7e3e\u306e\u3042\u308b\u3001HTTP\u3067\u901a\u4fe1\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3082\u3063\u3068\u4e0b\u4f4d\u5c64\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u4f7f\u3046\u3068\u3001\u3082\u3063\u3068\u52b9\u7387\u3088\u304f\u30c7\u30fc\u30bf\u306e\u9001\u4fe1\u304c\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u5206\u3001\u6271\u3044\u3082\u96e3\u3057\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>HTTP\u306fTCP\/UDP\u3088\u308a\u3082\u3001\u30c7\u30fc\u30bf\u306e\u3084\u308a\u3068\u308a\u304c\u591a\u304f\u306a\u308b\u306e\u3067\u3001\u5c11\u3057\u30e2\u30c3\u30b5\u30ea\u611f\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u6271\u3044\u304c\u7c21\u5358\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u5b9f\u969b\u3001\u4eca\u56de\u306f\u30d6\u30e9\u30a6\u30b6\u3067\u8868\u793a\u3055\u305b\u3066\u3044\u308b\u306e\u3067\uff01<\/strong><\/p>\n\n\n\n<p>\u30ab\u30e1\u30e9\u3067\u64ae\u5f71\u3057\u3001\u305d\u308c\u3092\u753b\u50cf\u306b\u843d\u3068\u3059\u3068\u3053\u308d\u307e\u3067\u306f\u4eca\u307e\u3067\u901a\u308a\u3067\u3059\u304c\u3001<\/p>\n\n\n\n<p>\u4eca\u56de\u306fHTTP\u3067\u9001\u4fe1\u3059\u308b\u305f\u3081\u306b\u3001Base64\u306b\u5909\u63db\u3057\u3001Json\u306b\u8f09\u305b\u3066\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>Base64\u306e\u982d\u306b\u3042\u308b\u300cdata:image\/jpg;base64\u300d\u3068\u3044\u3046\u306e\u306f\u3001\u3053\u306e\u30c7\u30fc\u30bf\u306fJpeg\u3067\u3059\u3088\u3001\u3068\u3044\u3046\u3053\u3068\u3092\u793a\u3059\u6587\u5b57\u5217\u3067\u3001\u3053\u308c\u304c\u306a\u3044\u3068\u3001\u53d7\u3051\u624b\u5074\u306f\u4f55\u306e\u30c7\u30fc\u30bf\u304b\u5224\u65ad\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u300cAccess-Control-Allow-Origin\u300d\u306fCORS\u5bfe\u7b56\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u30af\u30ed\u30fc\u30e0\u306a\u306e\u3067\u306f\u3001\u540c\u3058\u30c9\u30e1\u30a4\u30f3\u3067\u306a\u3051\u308c\u3070\u753b\u50cf\u304c\u958b\u3051\u306a\u3044\u3001\u3068\u3044\u3046\u5236\u7d04\u304c\u3042\u308a\u307e\u3057\u3066\u3001\u305d\u308c\u3092\u5224\u65ad\u3057\u3066\u3044\u308b\u306e\u304c\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u30fc\u306eOrigin\u3068\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u30fc\u306eAccess-Control-Allow-Origin\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u4e8c\u3064\u306e\u5024\u304c\u4e00\u81f4\u3057\u306a\u3044\u3068\u753b\u50cf\u306f\u30a8\u30e9\u30fc\u3067\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u3002\uff08\u305f\u3060\u3057\u30d6\u30e9\u30a6\u30b6\u306b\u3088\u308b\uff09<\/p>\n\n\n\n<p>\u4eca\u56de\u306fChrome\u5074\u306eOrigin\u304cnull\u3060\u3063\u305f\u306e\u3067\u3001\u305d\u308c\u306b\u5408\u308f\u305b\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>FireFox\u3068\u304b\u3060\u3063\u305f\u3089\u307e\u305f\u8a71\u304c\u5909\u308f\u3063\u3066\u304f\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u7d9a\u3044\u3066\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3002<\/p>\n\n\n\n<p>\u30b5\u30af\u30c3\u3068\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u3001Vue.js\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528\u3057\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306faxios\u3001jQuery\u3067\u3059\u3002<\/p>\n\n\n\n<p>Laravel\u3068\u540c\u3058\u3088\u3046\u306a\u69cb\u6210\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u753b\u9762\u306b\u306f&lt;div id=&#8221;app&#8221;>\u3068&lt;image id=&#8221;camera&#8221;>\u306e\u307f\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u5358\u7d14\u3067\u3001\u753b\u9762\u304c\u4f5c\u6210\u3055\u308c\u305f\u3089created\u30e1\u30bd\u30c3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u3066\u3001onLoad()\u3092\u5468\u671f\u7684\u306b\u30b3\u30fc\u30eb\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>50\u3068\u3044\u3046\u6570\u5b57\u3092\u5c0f\u3055\u304f\u3059\u308c\u3070\u30cc\u30eb\u30cc\u30eb\u306b\u306a\u308a\u307e\u3059\u3057\uff08\u305f\u3060\u3057\u30e9\u30ba\u30d1\u30a4\u5074\u306e\u8ca0\u8377\u304c\u5927\u304d\u304f\u306a\u308b\uff09\u3001\u5927\u304d\u304f\u3059\u308c\u3070\u30ab\u30af\u30ab\u30af\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u30e9\u30ba\u30d1\u30a4\u306b\u30af\u30fc\u30e9\u30fc\u3064\u3051\u3066\u3044\u308b\u304b\u3089\u5927\u4e08\u592b\u3060\u3051\u3069\u3001<strong>\u30e9\u30ba\u30d1\u30a4Zero\u3067\u3053\u306e\u8ca0\u8377\u306f\u3084\u3070\u3044\u3068\u601d\u3046\u3002<\/strong><\/p>\n\n\n\n<p>\u305d\u3057\u3066\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e2d\u306eBase64\u3092image\u306esrc\u306b\u5165\u308c\u308c\u3070\u753b\u50cf\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3092\u65e9\u3044\u30b5\u30a4\u30af\u30eb\u3067\u5b9f\u884c\u30fb\u753b\u50cf\u66f4\u65b0\u3059\u308b\u3053\u3068\u3067\u3001\u52d5\u753b\u306e\u3088\u3046\u306b\u898b\u305b\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u4eca\u56de\u306fWeb\u30ab\u30e1\u30e9\u307f\u305f\u3044\u306b\u4ed5\u4e0a\u304c\u308a\u307e\u3057\u305f\u304c\u3001HTTP\u304c\u4f7f\u3048\u308b\u306a\u3089\u3070\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u4f55\u3060\u3063\u3066\u3067\u304d\u307e\u3059\uff01<\/strong><\/p>\n\n\n\n<a href=\"\/\/blog.with2.net\/link\/?2023426:1010\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/03a6eee54039f74ded0b8f7548b1868f.png?w=474\" title=\"\u30d1\u30bd\u30b3\u30f3\u30e9\u30f3\u30ad\u30f3\u30b0\"><\/a>\n\n","protected":false},"excerpt":{"rendered":"<p>\u3044\u3084\u3001\u4eca\u56de\u306f\u7d50\u69cb\u30cf\u30de\u3063\u305f\u3002 \u3053\u308c\u304c\u534a\u65e5\u9811\u5f35\u3063\u305f\u6210\u679c\u3060\u3002 \u307e\u305a\u306f\u30e9\u30ba\u30d1\u30a4\u5074\u3002 \u305d\u3057\u3066\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3002 \u307e\u305a\u3001\u30b5\u30fc\u30d0\u5074\u306e\u8aac\u660e\u3002 \u4eca\u56de\u306f\u3001\u3059\u3067\u306b\u4f7f\u3063\u305f\u5b9f\u7e3e\u306e\u3042\u308b\u3001HTTP\u3067\u901a\u4fe1\u3092\u884c\u3044\u307e\u3059\u3002 \u3082\u3063\u3068\u4e0b\u4f4d\u5c64\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u4f7f\u3046\u3068\u3001\u3082 &hellip; <a href=\"https:\/\/taki-lab.site\/bocci\/?p=4223\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3010\u30e9\u30ba\u30d1\u30a4\u3011\u30ea\u30e2\u30fc\u30c8\u3067\u30ab\u30e1\u30e9\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u8868\u793a<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u3010\u30e9\u30ba\u30d1\u30a4\u3011\u30ea\u30e2\u30fc\u30c8\u3067\u30ab\u30e1\u30e9\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u8868\u793a\n#TechCommit\n","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[187,168,3],"tags":[188],"class_list":["post-4223","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","category-vue-js","category-3","tag-188"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8SDbY-167","jetpack-related-posts":[{"id":4284,"url":"https:\/\/taki-lab.site\/bocci\/?p=4284","url_meta":{"origin":4223,"position":0},"title":"\u3010\u30e9\u30ba\u30d1\u30a4\u3011\u3010\u30ab\u30e1\u30e9\u3011\u30d7\u30ec\u30d3\u30e5\u30fc\u753b\u9762\u3092\u30e9\u30ba\u30d1\u30a4\u304b\u3089\u53d6\u5f97\u30fb\u8868\u793a","author":"taki","date":"2020\u5e7410\u67088\u65e5","format":false,"excerpt":"https:\/\/taki-lab.site\/bocci\/?p=4223 \u524d\u56de\u306f\u3001Web\u30da\u30fc\u30b8\u3092\u30ed\u30fc\u30ab\u2026","rel":"","context":"Raspberry Pi","block_context":{"text":"Raspberry Pi","link":"https:\/\/taki-lab.site\/bocci\/?cat=187"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/f47d4a87b363eb18d947d09176fed1ff.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/f47d4a87b363eb18d947d09176fed1ff.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/10\/f47d4a87b363eb18d947d09176fed1ff.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":4807,"url":"https:\/\/taki-lab.site\/bocci\/?p=4807","url_meta":{"origin":4223,"position":1},"title":"\u3010\u30e9\u30ba\u30d1\u30a4\u3011WebAPI\u3067\u8d64\u5916\u7dda\u4fe1\u53f7\u3092\u9001\u4fe1\u3059\u308b","author":"taki","date":"2020\u5e7412\u670829\u65e5","format":false,"excerpt":"https:\/\/taki-lab.site\/bocci\/?p=4683 https:\/\/taki-l\u2026","rel":"","context":"Raspberry Pi","block_context":{"text":"Raspberry Pi","link":"https:\/\/taki-lab.site\/bocci\/?cat=187"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/12\/400b0ecc87fec1d57113db5b776b785c.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/12\/400b0ecc87fec1d57113db5b776b785c.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/12\/400b0ecc87fec1d57113db5b776b785c.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/12\/400b0ecc87fec1d57113db5b776b785c.jpg?resize=700%2C400 2x"},"classes":[]},{"id":3807,"url":"https:\/\/taki-lab.site\/bocci\/?p=3807","url_meta":{"origin":4223,"position":2},"title":"\u3010\u30e9\u30ba\u30d1\u30a4\u3011\u3010\u3044\u308d\u3044\u308d\u8a08\u6e2c\u30e2\u30cb\u30bf\u30fc\u3011HTTP\u30b5\u30fc\u30d0\u3092\u5b9f\u88c5\u3059\u308b","author":"taki","date":"2020\u5e748\u67085\u65e5","format":false,"excerpt":"\u6e2c\u5b9a\u3057\u305f\u6e29\u5ea6\u3001\u6e7f\u5ea6\u3092Windows\u5074\u3067\u8868\u793a\u3055\u305b\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u524d\u56deHAT\u3067\u3084\u3063\u305f\u3068\u304d\u306f\u30e9\u30ba\u30d1\u30a4\u5074\u3092\u2026","rel":"","context":"Raspberry Pi","block_context":{"text":"Raspberry Pi","link":"https:\/\/taki-lab.site\/bocci\/?cat=187"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/08\/eecbeac11e65259e24fe97f1a4e08d0d.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/08\/eecbeac11e65259e24fe97f1a4e08d0d.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/08\/eecbeac11e65259e24fe97f1a4e08d0d.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4183,"url":"https:\/\/taki-lab.site\/bocci\/?p=4183","url_meta":{"origin":4223,"position":3},"title":"\u3010\u30e9\u30ba\u30d1\u30a4\u3011\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u30ab\u30e1\u30e9\u306e\u753b\u50cf\u3092\u4fdd\u5b58\u3059\u308b","author":"taki","date":"2020\u5e749\u670824\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=4130 \u524d\u2026","rel":"","context":"Raspberry Pi","block_context":{"text":"Raspberry Pi","link":"https:\/\/taki-lab.site\/bocci\/?cat=187"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/09\/b944908be0ec2619a09cf8e522c90ecc.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/09\/b944908be0ec2619a09cf8e522c90ecc.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/09\/b944908be0ec2619a09cf8e522c90ecc.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/09\/b944908be0ec2619a09cf8e522c90ecc.jpg?resize=700%2C400 2x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/09\/b944908be0ec2619a09cf8e522c90ecc.jpg?resize=1050%2C600 3x"},"classes":[]},{"id":3519,"url":"https:\/\/taki-lab.site\/bocci\/?p=3519","url_meta":{"origin":4223,"position":4},"title":"\u3010\u30e9\u30ba\u30d1\u30a4\u3011\u3010GLCD\u3011\u30ab\u30ec\u30f3\u30c0\u30fc\u3092\u8868\u793a\u3059\u308b","author":"taki","date":"2020\u5e747\u67089\u65e5","format":false,"excerpt":"GLCD\u306b\u30ab\u30ec\u30f3\u30c0\u30fc\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 import RPi.GPIO as GPIO im\u2026","rel":"","context":"Raspberry Pi","block_context":{"text":"Raspberry Pi","link":"https:\/\/taki-lab.site\/bocci\/?cat=187"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/07\/MVIMG_20200708_092547-scaled.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/07\/MVIMG_20200708_092547-scaled.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/07\/MVIMG_20200708_092547-scaled.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/07\/MVIMG_20200708_092547-scaled.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/07\/MVIMG_20200708_092547-scaled.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/07\/MVIMG_20200708_092547-scaled.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":4186,"url":"https:\/\/taki-lab.site\/bocci\/?p=4186","url_meta":{"origin":4223,"position":5},"title":"\u3010\u30e9\u30ba\u30d1\u30a4\u3011\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u30ab\u30e1\u30e9\u3067\u52d5\u753b\u64ae\u5f71\u3059\u308b\u3002","author":"taki","date":"2020\u5e749\u670824\u65e5","format":false,"excerpt":"\u4eca\u56de\u306f\u3055\u3089\u306bx\u30ad\u30fc\u3067\u52d5\u753b\u64ae\u5f71\u958b\u59cb\u30fb\u505c\u6b62\u3092\u884c\u3044\u307e\u3059\u3002 \u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3053\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002 from d\u2026","rel":"","context":"Raspberry Pi","block_context":{"text":"Raspberry Pi","link":"https:\/\/taki-lab.site\/bocci\/?cat=187"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/4223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4223"}],"version-history":[{"count":1,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/4223\/revisions"}],"predecessor-version":[{"id":4226,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/4223\/revisions\/4226"}],"wp:attachment":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}