{"id":298454,"date":"2020-02-10T09:00:27","date_gmt":"2020-02-10T09:00:27","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=298454"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=298454","title":{"rendered":"\u0412\u0438\u0434\u0435\u043e \u0441 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u043c \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u043e\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043d\u0430 Raspberry Pi"},"content":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/485406\/\">\n<h2>\u041f\u0440\u043e\u043b\u043e\u0433<\/h2>\n<p>  \u041f\u043e \u0441\u0435\u0442\u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u0433\u0443\u043b\u044f\u0435\u0442 \u0432\u0438\u0434\u0435\u043e \u2014 \u043a\u0430\u043a \u0430\u0432\u0442\u043e\u043f\u0438\u043b\u043e\u0442 \u0422\u0435\u0441\u043b\u044b \u0432\u0438\u0434\u0438\u0442 \u0434\u043e\u0440\u043e\u0433\u0443.<br \/>  \u0423 \u043c\u0435\u043d\u044f \u0434\u0430\u0432\u043d\u043e \u0447\u0435\u0441\u0430\u043b\u0438\u0441\u044c \u0440\u0443\u043a\u0438 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e, \u043e\u0431\u043e\u0433\u0430\u0449\u0435\u043d\u043d\u043e\u0435 \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u043e\u043c, \u0434\u0430 \u0438 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/s7\/os\/h0\/s7osh0gncxsqsjy5a2gs-boh4q8.jpeg\"><\/p>\n<p>  \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u044f \u0445\u043e\u0447\u0443 \u0441 Raspberry, \u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u0430 \u043d\u0430 \u043d\u0435\u0439 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0436\u0435\u043b\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0435\u0433\u043e.<br \/>  <a name=\"habracut\"><\/a><\/p>\n<h2>Intel Neural Computer Stick<\/h2>\n<p>  \u042f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b \u0440\u0430\u0437\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0440\u0435\u0448\u0435\u043d\u0438\u044f.<br \/>  \u0412 <a href=\"https:\/\/habr.com\/ru\/post\/459126\/\">\u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a> \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0441 Intel Neural Computer Stick. \u0416\u0435\u043b\u0435\u0437\u043a\u0430 \u043c\u043e\u0449\u043d\u0430\u044f, \u043d\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0441\u0432\u043e\u0435\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0441\u0435\u0442\u0438. <br \/>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0418\u043d\u0442\u0435\u043b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440\u044b \u0434\u043b\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432, \u0437\u0434\u0435\u0441\u044c \u0435\u0441\u0442\u044c \u0440\u044f\u0434 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0445 \u043a\u0430\u043c\u043d\u0435\u0439. <\/p>\n<p>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0444\u043e\u0440\u043c\u0430\u0442 \u043d\u0443\u0436\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c, \u0430 \u0435\u0441\u043b\u0438 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c, \u0442\u043e \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0441\u043b\u043e\u0438 \u043c\u043e\u0433\u0443\u0442 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0434\u0435\u0432\u0430\u0439\u0441\u0435, \u0430 \u0435\u0441\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f, \u0442\u043e \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438, \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u0435 \u0432\u0435\u0449\u0438.<\/p>\n<p>  \u0412 \u043e\u0431\u0449\u0435\u043c, \u0435\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u0443\u044e \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c, \u0442\u043e \u0441 NCS \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 \u0441\u0430\u043c\u044b\u0435 \u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0435 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b.<\/p>\n<h2>\u041e\u0431\u043b\u0430\u043a\u043e<\/h2>\n<p>  \u041e\u0447\u0435\u0432\u0438\u0434\u043d\u0430\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e-\u0445\u0430\u0440\u0434\u0432\u0430\u0440\u043d\u043e\u043c\u0443 \u0440\u0435\u0448\u0435\u043d\u0438\u044e \u2014 \u043f\u043e\u0439\u0442\u0438 \u0432 \u043e\u0431\u043b\u0430\u043a\u043e. <br \/>  \u0413\u043e\u0442\u043e\u0432\u044b\u0445 \u0432\u0430\u0440\u0438\u043d\u0442\u043e\u0432 \u2014 \u0433\u043b\u0430\u0437\u0430 \u0440\u0430\u0437\u0431\u0435\u0433\u0430\u044e\u0442\u0441\u044f.<br \/>  \u0412\u0441\u0435 \u043b\u0438\u0434\u0435\u0440\u044b:  <\/p>\n<ul>\n<li><a href=\"https:\/\/azure.microsoft.com\/en-us\/services\/cognitive-services\/computer-vision\/\" rel=\"nofollow\">\u041c\u0438\u043a\u0440\u043e\u0441\u043e\u0444\u0442<\/a><\/li>\n<li><a href=\"https:\/\/cloud.google.com\/vision\/\" rel=\"nofollow\">\u0413\u0443\u0433\u043b<\/a><\/li>\n<li><a href=\"https:\/\/aws.amazon.com\/rekognition\/\" rel=\"nofollow\">\u0410\u043c\u0430\u0437\u043e\u043d<\/a><\/li>\n<\/ul>\n<p>  \u2026 \u0418 \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u043c\u0435\u043d\u0435\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445.<\/p>\n<p>  \u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u0440\u0435\u0434\u0438 \u044d\u0442\u043e\u0433\u043e \u043c\u043d\u043e\u0433\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u044f \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e.<br \/>  \u0418 \u044f \u0440\u0435\u0448\u0438\u043b \u043d\u0435 \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c, \u0430 \u0437\u0430\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0441\u0442\u0430\u0440\u0443\u044e \u0434\u043e\u0431\u0440\u0443\u044e \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u043d\u0430 OpenCV \u0432 \u0434\u043e\u043a\u0435\u0440 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u043e\u0431\u043b\u0430\u043a\u0435.<br \/>  \u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0432 \u0433\u0438\u0431\u043a\u043e\u0441\u0442\u0438 \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435 \u2014 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u044c, \u0445\u043e\u0441\u0442\u0438\u043d\u0433, \u0441\u0435\u0440\u0432\u0435\u0440 \u2014 \u0432 \u043e\u0431\u0449\u0435\u043c, \u043b\u044e\u0431\u043e\u0439 \u043a\u0430\u043f\u0440\u0438\u0437.<\/p>\n<h2>\u0421\u0435\u0440\u0432\u0435\u0440<\/h2>\n<p>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0430.<br \/>  \u0422\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u043e \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e Flask \u0434\u043b\u044f REST API, OpenCV \u0438 MobileSSD \u0441\u0435\u0442\u044c.<br \/>  \u041f\u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u043d\u0430 \u0434\u043e\u043a\u0435\u0440 \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u0432\u0435\u0440\u0441\u0438\u0438, \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u0447\u0442\u043e OpenCV 4.1.2 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 Mobile SSD v1_coco_2018_01_28, \u0438 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u0443\u044e 11_06_2017.<\/p>\n<p>  \u041d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0438\u043c\u0435\u043d\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0438 \u0441\u0435\u0442\u044c:  <\/p>\n<pre><code class=\"python\">def init():     tf_labels.initLabels(dnn_conf.DNN_LABELS_PATH)     return cv.dnn.readNetFromTensorflow(dnn_conf.DNN_PATH, dnn_conf.DNN_TXT_PATH) <\/code><\/pre>\n<p>  \u041d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c \u0434\u043e\u043a\u0435\u0440\u0435 (\u043d\u0430 \u043d\u0435 \u0441\u0430\u043c\u043e\u043c \u043c\u043e\u043b\u043e\u0434\u043e\u043c \u043b\u0430\u043f\u0442\u043e\u043f\u0435) \u044d\u0442\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 0.3 \u0441\u0435\u043a\u0443\u043d\u0434\u044b, \u043d\u0430 Raspberry \u2014 3.5.<\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0440\u0430\u0441\u0447\u0435\u0442:<\/p>\n<pre><code class=\"python\">def inference(img):     net.setInput(cv.dnn.blobFromImage(img, 1.0\/127.5, (300, 300), (127.5, 127.5, 127.5), swapRB=True, crop=False))     return net.forward() <\/code><\/pre>\n<p>  \u0414\u043e\u043a\u0435\u0440 \u2014 0.2 \u0441\u0435\u043a, Raspberry \u2014 1.7.<\/p>\n<p>  \u041f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0442\u0435\u043d\u0437\u043e\u0440\u043d\u044b\u0439 \u0432\u044b\u0445\u043b\u043e\u043f \u0432 \u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u0439 json:  <\/p>\n<pre><code class=\"python\">def build_detection(data, thr, rows, cols):     ret = []     for detection in data[0,0,:,:]:         score = float(detection[2])         if score &gt; thr:             cls = int(detection[1])             a = {&quot;class&quot; : cls, &quot;name&quot; : tf_labels.getLabel(cls),  &quot;score&quot; : score}             a[&quot;x&quot;] = int(detection[3] * cols)             a[&quot;y&quot;] = int(detection[4] * rows)             a[&quot;w&quot;] = int(detection[5] * cols ) - a[&quot;x&quot;]             a[&quot;h&quot;] = int(detection[6] * rows) - a[&quot;y&quot;]             ret.append(a)     return ret <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u044c\u0448\u0435 <a href=\"https:\/\/github.com\/tprlab\/docker-detect\/blob\/master\/detect-app\/app.py\" rel=\"nofollow\">\u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u044d\u0442\u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e \u0447\u0435\u0440\u0435\u0437 Flask<\/a>(\u043d\u0430 \u0432\u0445\u043e\u0434\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430, \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u2014 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u0430 \u0432 json).<\/p>\n<p>  \u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440: \u043e\u043d \u0441\u0430\u043c \u043e\u0431\u0432\u043e\u0434\u0438\u0442 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443.<br \/>  \u0422\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0445\u043e\u0440\u043e\u0448 \u0442\u0430\u043c, \u0433\u0434\u0435 \u043c\u044b \u043d\u0435 \u0445\u043e\u0442\u0438\u043c \u0442\u044f\u043d\u0443\u0442\u044c opencv \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<h2>\u0414\u043e\u043a\u0435\u0440<\/h2>\n<p>  \u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0437.<br \/>  \u041a\u043e\u0434 \u043f\u0440\u0438\u0447\u0435\u0441\u0430\u043d \u0438 \u0432\u044b\u043b\u043e\u0436\u0435\u043d \u043d\u0430 <a href=\"https:\/\/github.com\/tprlab\/docker-detect\" rel=\"nofollow\">\u0413\u0438\u0442\u0445\u0430\u0431<\/a>, \u0434\u043e\u043a\u0435\u0440 \u0432\u043e\u0437\u044c\u043c\u0435\u0442 \u0435\u0433\u043e \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043e\u0442\u0442\u0443\u0434\u0430.<br \/>  \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0442\u043e\u0442 \u0436\u0435 Debian Stretch, \u0447\u0442\u043e \u0438 \u043d\u0430 Raspberry \u2014 \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0443\u0445\u043e\u0434\u0438\u0442\u044c \u043e\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0433\u043e \u0442\u0435\u0445\u0441\u0442\u0435\u043a\u0430.<\/p>\n<p>  \u041d\u0430\u0434\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c flask, protobuf, requests, opencv_python, \u0441\u043a\u0430\u0447\u0430\u0442\u044c Mobile SSD, \u043a\u043e\u0434 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441 \u0413\u0438\u0442\u0445\u0430\u0431\u0430 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440.<\/p>\n<pre><code class=\"bash\">FROM python:3.7-stretch  RUN pip3 install flask RUN pip3 install protobuf RUN pip3 install requests RUN pip3 install opencv_python  ADD http:\/\/download.tensorflow.org\/models\/object_detection\/ssd_mobilenet_v1_coco_11_06_2017.tar.gz \/ RUN tar -xvf \/ssd_mobilenet_v1_coco_11_06_2017.tar.gz  ADD https:\/\/github.com\/tprlab\/docker-detect\/archive\/master.zip \/ RUN unzip \/master.zip  EXPOSE 80  CMD [&quot;python3&quot;, &quot;\/docker-detect-master\/detect-app\/app.py&quot;] <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0441\u0442\u043e\u0439 <a href=\"https:\/\/github.com\/tprlab\/docker-detect\/blob\/master\/client\/detect_client.py\" rel=\"nofollow\">\u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u0430<\/a> \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 requests.<\/p>\n<h2>\u041f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u043d\u0430 Docker Hub<\/h2>\n<p>  \u0420\u0435\u0435\u0441\u0442\u0440\u044b \u0434\u043e\u043a\u0435\u0440\u0430 \u043f\u043b\u043e\u0434\u044f\u0442\u0441\u044f \u0441\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e \u043d\u0435 \u043c\u0435\u043d\u044c\u0448\u0435\u0439, \u0447\u0435\u043c \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0435 \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u044b.<br \/>  \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f, \u043c\u044b \u043a\u043e\u043d\u0441\u0435\u0440\u0432\u0430\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u0439\u0434\u0435\u043c \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/hub.docker.com\/\" rel=\"nofollow\">\u0414\u043e\u043a\u0435\u0440\u0425\u0430\u0431<\/a>.  <\/p>\n<ol>\n<li>\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c\u0441\u044f<\/li>\n<li>\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0443\u0435\u043c\u0441\u044f:<br \/>  <b>docker login<\/b>  <\/li>\n<li>\u041f\u0440\u0438\u0434\u0443\u043c\u0430\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0438\u043c\u044f:<br \/>  <b>docker tag opencv-detect tprlab\/opencv-detect-ssd<\/b>  <\/li>\n<li>\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0437 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440:<br \/>  <b>docker push tprlab\/opencv-detect-ssd<\/b>  <\/li>\n<\/ol>\n<h2>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0432 \u043e\u0431\u043b\u0430\u043a\u0435<\/h2>\n<p>  \u0412\u044b\u0431\u043e\u0440, \u0433\u0434\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440, \u0442\u043e\u0436\u0435 \u0432\u0435\u0441\u044c\u043c\u0430 \u0448\u0438\u0440\u043e\u043a.<br \/>  \u0412\u0441\u0435 \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0438\u0433\u0440\u043e\u043a\u0438 (\u0413\u0443\u0433\u043b, \u041c\u0438\u043a\u0440\u043e\u0441\u043e\u0444\u0442, \u0410\u043c\u0430\u0437\u043e\u043d) \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u043c\u0438\u043a\u0440\u043e\u0438\u043d\u0441\u0442\u0430\u043d\u0441 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0432 \u043f\u0435\u0440\u0432\u044b\u0439 \u0433\u043e\u0434.<br \/>  \u041f\u043e\u044d\u043a\u0441\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0432 \u0441 Microsoft Azure \u0438 Google Cloud, \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u043c \u2014 \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0432\u0437\u043b\u0435\u0442\u0435\u043b\u043e.<br \/>  \u041d\u0435 \u0441\u0442\u0430\u043b \u043f\u0438\u0441\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e, \u0442\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u0430 \u0447\u0430\u0441\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u0430\u044f \u0434\u043b\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430.<\/p>\n<p>  \u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0440\u0430\u0437\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0436\u0435\u043b\u0435\u0437\u0430, <br \/>  \u041d\u0438\u0437\u043a\u0438\u0435 \u0443\u0440\u043e\u0432\u043d\u0438 (shared \u0438 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435) \u2014 0.4 \u2014 0.5 \u0441\u0435\u043a\u0443\u043d\u0434\u044b.<br \/>  \u041c\u0430\u0448\u0438\u043d\u044b \u043f\u043e\u043c\u043e\u0449\u043d\u0435\u0435 \u2014 0.25 \u2014 0.3.<br \/>  \u0427\u0442\u043e\u0436, \u0432 \u0434\u0430\u0436\u0435 \u0432 \u0445\u0443\u0434\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0438\u0433\u0440\u044b\u0448 \u0432 \u0442\u0440\u0438 \u0440\u0430\u0437\u0430, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c.<\/p>\n<h2>\u0412\u0438\u0434\u0435\u043e<\/h2>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 OpenCV \u0432\u0438\u0434\u0435\u043e\u0441\u0442\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 Raspberry, \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0440\u0443\u044f \u0447\u0435\u0440\u0435\u0437 Google Cloud.<br \/>  \u0414\u043b\u044f \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u0431\u044b\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0432\u0438\u0434\u0435\u043e\u0444\u0430\u0439\u043b, \u043a\u043e\u0433\u0434\u0430-\u0442\u043e \u0441\u043d\u044f\u0442\u044b\u0439 \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u043c \u043f\u0435\u0440\u0435\u043a\u0440\u0435\u0441\u0442\u043a\u0435.<\/p>\n<pre><code class=\"python\"> def handle_frame(frame):     return detect.detect_draw_img(frame)         def generate():     while True:         rc, frame = vs.read()         outFrame = handle_frame(frame)         if outFrame is None:             (rc, outFrame) = cv.imencode(&quot;.jpg&quot;, frame)         yield(b'--frame\\r\\n' b'Content-Type: image\/jpeg\\r\\n\\r\\n' + bytearray(outFrame) + b'\\r\\n')  @app.route(&quot;\/stream&quot;) def video_feed():     return Response(generate(), mimetype = &quot;multipart\/x-mixed-replace; boundary=frame&quot;) <\/code><\/pre>\n<p>  \u0421 \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0435 \u0431\u043e\u043b\u0435\u0435 \u0442\u0440\u0435\u0445 \u043a\u0430\u0434\u0440\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u0432\u0441\u0435 \u0438\u0434\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e.<br \/>  \u0415\u0441\u043b\u0438 \u0432 GCloud \u0432\u0437\u044f\u0442\u044c \u043c\u043e\u0449\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443, \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0442\u044c 4-5 \u043a\u0430\u0434\u0440\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u043d\u043e \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u0433\u043b\u0430\u0437\u043e\u043c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u0430, \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/ts\/yw\/gn\/tsywgnegggjpgqswdvu0iee16vm.gif\"><\/p>\n<p>  \u041e\u0431\u043b\u0430\u043a\u043e \u0438 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u044b\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0437\u0434\u0435\u0441\u044c \u043d\u0435 \u043f\u0440\u0438\u0447\u0435\u043c, \u043d\u0430 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u0436\u0435\u043b\u0435\u0437\u0435 \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u0442\u0430\u043a\u043e\u0439 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e.<\/p>\n<h2>Neural Computer Stick<\/h2>\n<p>  \u041d\u0435 \u0443\u0434\u0435\u0440\u0436\u0430\u043b\u0441\u044f \u0438 \u043f\u0440\u043e\u0433\u043d\u0430\u043b \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a \u043d\u0430 NCS.<br \/>  \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u0430 \u0431\u044b\u043b\u0430 \u0447\u0443\u0442\u044c \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435 0.1 \u0441\u0435\u043a\u0443\u043d\u0434\u044b, \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 2-3 \u0440\u0430\u0437\u0430 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043e\u0431\u043b\u0430\u043a\u0430 \u043d\u0430 \u0441\u043b\u0430\u0431\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435, \u0442.\u0435 8-9 \u043a\u0430\u0434\u0440\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/x5\/ng\/t5\/x5ngt5k1xgeen-nor8u9it4fmfc.gif\"><\/p>\n<p>  \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u0445 \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043c, \u0447\u0442\u043e \u043d\u0430 NCS \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0441\u044f Mobile SSD \u0432\u0435\u0440\u0441\u0438\u0438 2018_01_28.<\/p>\n<p>  PS. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438, \u0447\u0442\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043e\u0449\u043d\u0430\u044f \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u0441 I7 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u043c \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0447\u0443\u0442\u044c \u043b\u0443\u0447\u0448\u0438\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438 \u043d\u0430 \u043d\u0435\u0439 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0436\u0430\u0442\u044c 10 \u043a\u0430\u0434\u0440\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443.<\/p>\n<h2>\u041a\u043b\u0430\u0441\u0442\u0435\u0440<\/h2>\n<p>  \u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043f\u043e\u0448\u0435\u043b \u0434\u0430\u043b\u044c\u0448\u0435 \u0438 \u044f \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440 \u043d\u0430 \u043f\u044f\u0442\u0438 \u0443\u0437\u043b\u0430\u0445 \u0432 Google Kubernetes.<br \/>  \u0421\u0430\u043c\u0438 \u043f\u043e \u0441\u0435\u0431\u0435 \u043f\u043e\u0434\u044b \u0431\u044b\u043b\u0438 \u0441\u043b\u0430\u0431\u044b\u0435 \u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0438\u0437 \u043d\u0438\u0445 \u043d\u0435 \u043c\u043e\u0433 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 2\u0445 \u043a\u0430\u0434\u0440\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443.<br \/>  \u041d\u043e \u0435\u0441\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u043d\u0430 N \u0443\u0437\u043b\u043e\u0432 \u0438 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043a\u0430\u0434\u0440\u044b \u0432 N \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u2014 \u0442\u043e \u043f\u0440\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0443\u0437\u043b\u043e\u0432 (5) \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0436\u0435\u043b\u0430\u043d\u043d\u044b\u0445 10 \u043a\u0430\u0434\u0440\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443.<\/p>\n<pre><code class=\"python\">def generate():     while True:         rc, frame = vs.read()         if frame is not None:             future = executor.submit(handle_frame, (frame.copy()))             Q.append(future)          keep_polling = len(Q) &gt; 0         while(keep_polling):                         top = Q[0]             if top.done():                 outFrame = top.result()                 Q.popleft()                 if outFrame:                     yield(b'--frame\\r\\n' b'Content-Type: image\/jpeg\\r\\n\\r\\n' + bytearray(outFrame) + b'\\r\\n')                 keep_polling = len(Q) &gt; 0             else:                 keep_polling = len(Q) &gt;= M <\/code><\/pre>\n<p>  \u0412\u043e\u0442 \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/e5\/xn\/1g\/e5xn1gabe14lbqcpedufn8vkan4.gif\"><\/p>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0435 \u0442\u0430\u043a \u0440\u0435\u0437\u0432\u043e \u043a\u0430\u043a \u0441 NCS, \u043d\u043e \u0431\u043e\u0434\u0440\u0435\u0435 \u0447\u0435\u043c \u0432 \u043e\u0434\u0438\u043d \u043f\u043e\u0442\u043e\u043a.<br \/>  \u0412\u044b\u0438\u0433\u0440\u044b\u0448, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u043b\u0438\u043d\u0435\u0435\u043d \u2014 \u0432\u044b\u0441\u0442\u0440\u0435\u043b\u0438\u0432\u0430\u044e\u0442 \u043d\u0430\u043a\u043b\u0430\u0434\u043a\u0438 \u043d\u0430 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044e \u0438 \u0433\u043b\u0443\u0431\u043e\u043a\u043e\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a opencv.<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u0412 \u0446\u0435\u043b\u043e\u043c, \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434, \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u0442\u044c\u0441\u044f, \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043a\u0440\u0443\u0442\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043e\u0431\u043b\u0430\u043a\u043e\u043c.<br \/>  \u041d\u043e \u043c\u043e\u0449\u043d\u044b\u0439 \u0434\u0435\u0441\u043a\u0442\u043e\u043f \u0438\u043b\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0436\u0435\u043b\u0435\u0437\u043a\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043b\u0443\u0447\u0448\u0438\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432, \u043f\u0440\u0438\u0447\u0435\u043c \u0431\u0435\u0437 \u0432\u0441\u044f\u043a\u0438\u0445 \u0443\u0445\u0438\u0449\u0440\u0435\u043d\u0438\u0439.<\/p>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/tprlab\/docker-detect\" rel=\"nofollow\">\u041a\u043e\u0434 \u043d\u0430 \u0413\u0438\u0442\u0445\u0430\u0431\u0435<\/a><\/li>\n<li><a href=\"https:\/\/hub.docker.com\/r\/tprlab\/opencv-detect-ssd\" rel=\"nofollow\">\u0414\u043e\u043a\u0435\u0440-\u043e\u0431\u0440\u0430\u0437 \u043d\u0430 DockerHub<\/a><\/li>\n<li><a href=\"https:\/\/opencv-python-tutroals.readthedocs.io\/en\/latest\/py_tutorials\/py_gui\/py_video_display\/py_video_display.html\" rel=\"nofollow\">\u0412\u0438\u0434\u0435\u043e\u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 OpenCV &amp; Python<\/a><\/li>\n<\/ul>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/485406\/\"> https:\/\/habr.com\/ru\/post\/485406\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/485406\/\">\n<h2>\u041f\u0440\u043e\u043b\u043e\u0433<\/h2>\n<p>  \u041f\u043e \u0441\u0435\u0442\u0438 \u0441\u0435\u0439\u0447\u0430\u0441 \u0433\u0443\u043b\u044f\u0435\u0442 \u0432\u0438\u0434\u0435\u043e \u2014 \u043a\u0430\u043a \u0430\u0432\u0442\u043e\u043f\u0438\u043b\u043e\u0442 \u0422\u0435\u0441\u043b\u044b \u0432\u0438\u0434\u0438\u0442 \u0434\u043e\u0440\u043e\u0433\u0443.<br \/>  \u0423 \u043c\u0435\u043d\u044f \u0434\u0430\u0432\u043d\u043e \u0447\u0435\u0441\u0430\u043b\u0438\u0441\u044c \u0440\u0443\u043a\u0438 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e, \u043e\u0431\u043e\u0433\u0430\u0449\u0435\u043d\u043d\u043e\u0435 \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u043e\u043c, \u0434\u0430 \u0438 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/s7\/os\/h0\/s7osh0gncxsqsjy5a2gs-boh4q8.jpeg\"><\/p>\n<p>  \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u044f \u0445\u043e\u0447\u0443 \u0441 Raspberry, \u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0435\u0439\u0440\u043e\u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u0430 \u043d\u0430 \u043d\u0435\u0439 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0436\u0435\u043b\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0435\u0433\u043e.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-298454","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/298454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=298454"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/298454\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=298454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=298454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=298454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}