{"id":56386,"date":"2020-02-12T00:00:00","date_gmt":"2020-02-11T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/video-s-oblachnym-detektorom-obektov-na-raspberry-pi"},"modified":"2020-02-18T14:04:39","modified_gmt":"2020-02-18T11:04:39","slug":"video-s-oblachnym-detektorom-obektov-na-raspberry-pi","status":"publish","type":"post","link":"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/video-s-oblachnym-detektorom-obektov-na-raspberry-pi","title":{"rendered":"Video objekti tuvastamise kohta Raspberry Pi-l","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<h2>\u041f\u0440\u043e\u043b\u043e\u0433<\/h2>\n<p>\n\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.<\/p>\n<p>\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\" alt=\"\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\" src=\"\/wp-content\/uploads\/2020\/02\/2f929db11322ccef446af22e8273fa51.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\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 \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h2>Intel Neural Computer Stick<\/h2>\n<p>\n\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.<\/p>\n<p>\u0412 <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/459126\/\">\u043f\u0440\u043e\u0448\u043b\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435<\/a><\/noindex> \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. <\/p>\n<p>\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>\n\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. <\/p>\n<p>\u0413\u043e\u0442\u043e\u0432\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u2014 \u0433\u043b\u0430\u0437\u0430 \u0440\u0430\u0437\u0431\u0435\u0433\u0430\u044e\u0442\u0441\u044f.<\/p>\n<p>\u0412\u0441\u0435 \u043b\u0438\u0434\u0435\u0440\u044b:<\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/azure.microsoft.com\/en-us\/services\/cognitive-services\/computer-vision\/\">\u041c\u0438\u043a\u0440\u043e\u0441\u043e\u0444\u0442<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.google.com\/vision\/\">\u0413\u0443\u0433\u043b<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/aws.amazon.com\/rekognition\/\">\u0410\u043c\u0430\u0437\u043e\u043d<\/a><\/noindex><\/li>\n<\/ul>\n<p>\n\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.<\/p>\n<p>\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.<\/p>\n<p>\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>\n\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.<\/p>\n<p>\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.<\/p>\n<p>\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():\n    tf_labels.initLabels(dnn_conf.DNN_LABELS_PATH)\n    return cv.dnn.readNetFromTensorflow(dnn_conf.DNN_PATH, dnn_conf.DNN_TXT_PATH)\n<\/code><\/pre>\n<p>\n\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):\n    net.setInput(cv.dnn.blobFromImage(img, 1.0\/127.5, (300, 300), (127.5, 127.5, 127.5), swapRB=True, crop=False))\n    return net.forward()\n<\/code><\/pre>\n<p>\n\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):\n    ret = []\n    for detection in data[0,0,:,:]:\n        score = float(detection[2])\n        if score &gt; thr:\n            cls = int(detection[1])\n            a = {&quot;class&quot; : cls, &quot;name&quot; : tf_labels.getLabel(cls),  &quot;score&quot; : score}\n            a[&quot;x&quot;] = int(detection[3] * cols)\n            a[&quot;y&quot;] = int(detection[4] * rows)\n            a[&quot;w&quot;] = int(detection[5] * cols ) - a[&quot;x&quot;]\n            a[&quot;h&quot;] = int(detection[6] * rows) - a[&quot;y&quot;]\n            ret.append(a)\n    return ret\n<\/code><\/pre>\n<p>\n\u0414\u0430\u043b\u044c\u0448\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/tprlab\/docker-detect\/blob\/master\/detect-app\/app.py\">\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><\/noindex>(\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.<\/p>\n<p>\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>\n\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u043e\u0431\u0440\u0430\u0437.<\/p>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438\u0447\u0435\u0441\u0430\u043d \u0438 \u0432\u044b\u043b\u043e\u0436\u0435\u043d \u043d\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/tprlab\/docker-detect\">\u0413\u0438\u0442\u0445\u0430\u0431<\/a><\/noindex>, \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.<\/p>\n<p>\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\n\nRUN pip3 install flask\nRUN pip3 install protobuf\nRUN pip3 install requests\nRUN pip3 install opencv_python\n\nADD http:\/\/download.tensorflow.org\/models\/object_detection\/ssd_mobilenet_v1_coco_11_06_2017.tar.gz \/\nRUN tar -xvf \/ssd_mobilenet_v1_coco_11_06_2017.tar.gz\n\nADD https:\/\/github.com\/tprlab\/docker-detect\/archive\/master.zip \/\nRUN unzip \/master.zip\n\nEXPOSE 80\n\nCMD [&quot;python3&quot;, &quot;\/docker-detect-master\/detect-app\/app.py&quot;]\n<\/code><\/pre>\n<p>\n\u041f\u0440\u043e\u0441\u0442\u043e\u0439 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/tprlab\/docker-detect\/blob\/master\/client\/detect_client.py\">\u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f \u0434\u0435\u0442\u0435\u043a\u0442\u043e\u0440\u0430<\/a><\/noindex> \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>\n\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.<\/p>\n<p>\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 <noindex><a rel=\"nofollow\" href=\"https:\/\/hub.docker.com\/\">\u0414\u043e\u043a\u0435\u0440\u0425\u0430\u0431<\/a><\/noindex>.<\/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 \/>\n<b>docker login<\/b>\n<\/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 \/>\n<b>docker tag opencv-detect tprlab\/opencv-detect-ssd<\/b>\n<\/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 \/>\n<b>docker push tprlab\/opencv-detect-ssd<\/b>\n<\/li>\n<\/ol>\n<p><\/p>\n<h2>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0432 \u043e\u0431\u043b\u0430\u043a\u0435<\/h2>\n<p>\n\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.<\/p>\n<p>\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 \/>\n\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.<\/p>\n<p>\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 \/>\n\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 \/>\n\u041c\u0430\u0448\u0438\u043d\u044b \u043f\u043e\u043c\u043e\u0449\u043d\u0435\u0435 \u2014 0.25 \u2014 0.3.<br \/>\n\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>\n\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 \/>\n\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\">\ndef handle_frame(frame):\n    return detect.detect_draw_img(frame)\n       \ndef generate():\n    while True:\n        rc, frame = vs.read()\n        outFrame = handle_frame(frame)\n        if outFrame is None:\n            (rc, outFrame) = cv.imencode(&quot;.jpg&quot;, frame)\n        yield(b'--framern' b'Content-Type: image\/jpegrnrn' + bytearray(outFrame) + b'rn')\n\n@app.route(&quot;\/stream&quot;)\ndef video_feed():\n    return Response(generate(), mimetype = &quot;multipart\/x-mixed-replace; boundary=frame&quot;)\n<\/code><\/pre>\n<p>\n\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 \/>\n\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\" alt=\"\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\" src=\"\/wp-content\/uploads\/2020\/02\/d999d08f07c1e445abbbeebb9997e7b6.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\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>\n\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.<\/p>\n<p>\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\" alt=\"\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\" src=\"\/wp-content\/uploads\/2020\/02\/a0da9f6d1bf685779a6065994e668e62.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\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>P.S. \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>\n\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 \/>\n\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 \/>\n\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():\n    while True:\n        rc, frame = vs.read()\n        if frame is not None:\n            future = executor.submit(handle_frame, (frame.copy()))\n            Q.append(future)\n\n        keep_polling = len(Q) &gt; 0\n        while(keep_polling):            \n            top = Q[0]\n            if top.done():\n                outFrame = top.result()\n                Q.popleft()\n                if outFrame:\n                    yield(b'--framern' b'Content-Type: image\/jpegrnrn' + bytearray(outFrame) + b'rn')\n                keep_polling = len(Q) &gt; 0\n            else:\n                keep_polling = len(Q) &gt;= M\n<\/code><\/pre>\n<p>\n\u0412\u043e\u0442 \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c:<\/p>\n<p><img decoding=\"async\" alt=\"\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\" src=\"\/wp-content\/uploads\/2020\/02\/416f5ddd1da5f335247247ccb7a95104.jpeg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\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.<\/p>\n<p>\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>\n\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.<\/p>\n<p>\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><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/tprlab\/docker-detect\">\u041a\u043e\u0434 \u043d\u0430 \u0413\u0438\u0442\u0445\u0430\u0431\u0435<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/hub.docker.com\/r\/tprlab\/opencv-detect-ssd\">\u0414\u043e\u043a\u0435\u0440-\u043e\u0431\u0440\u0430\u0437 \u043d\u0430 DockerHub<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/opencv-python-tutroals.readthedocs.io\/en\/latest\/py_tutorials\/py_gui\/py_video_display\/py_video_display.html\">\u0412\u0438\u0434\u0435\u043e\u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 OpenCV &amp; Python<\/a><\/noindex><\/li>\n<\/ul>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/485406\/\">habr.com<\/a><\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u043b\u043e\u0433 \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. \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. \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. Intel Neural Computer Stick \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. \u0412 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-56386","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u043e\u043b\u043e\u0433 \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. \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. \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. Intel Neural Computer Stick \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. \u0412\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/video-s-oblachnym-detektorom-obektov-na-raspberry-pi\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"et_EE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\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 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u043e\u043b\u043e\u0433 \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. \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. \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. Intel Neural Computer Stick \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. \u0412\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/video-s-oblachnym-detektorom-obektov-na-raspberry-pi\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-11T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:04:39+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Video pilvedetektorist objektide tuvastamiseks Raspberry Pi-l | ProHoster","description":"Proloog Praegusel hetkel liigub internetis video, kuidas Tesla autopiloot teed n\u00e4eb. Mul on pikka aega olnud tung edastada videot, millel on detektor, ja isegi reaalajas. Probleem on selles, et soovin videot edastada Raspberrylt, kuid selle n\u00e4rviv\u00f5rgu detektori j\u00f5udlus soovitab paramat kui k\u00f5ige paremat.","canonical_url":"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/video-s-oblachnym-detektorom-obektov-na-raspberry-pi","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"et_EE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\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 | ProHoster","og:description":"\u041f\u0440\u043e\u043b\u043e\u0433 \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. \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. \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. Intel Neural Computer Stick \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. \u0412","og:url":"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/video-s-oblachnym-detektorom-obektov-na-raspberry-pi","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-02-11T21:00:00+00:00","article:modified_time":"2020-02-18T11:04:39+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"56386","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 19:25:40","updated":"2022-09-28 12:40:17"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/56386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/comments?post=56386"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/56386\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media?parent=56386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/categories?post=56386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/tags?post=56386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}