{"id":302406,"date":"2020-04-23T21:00:19","date_gmt":"2020-04-23T21:00:19","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=302406"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=302406","title":{"rendered":"\u041f\u0440\u043e\u0441\u0442\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u043e\u0433\u043e \u0437\u0440\u0435\u043d\u0438\u044f \u2014 \u043f\u043e\u0438\u0441\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/498774\/\">\n<h3>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h3>\n<p>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u0442\u043e\u043c \u043a\u0430\u043a \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0443\u0440 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e python\/ opencv \u0442\u0430\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0447\u0430\u0441\u0442\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u043e\u0431\u043e\u0442\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u0435, \u0438 \u0432\u0441\u044f\u043a\u0438\u0445 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f\u0445. <\/p>\n<p>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0443\u0440 \u043b\u0438\u043d\u0438\u0438 \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0435\u0437\u0436\u0430\u0442\u044c \u0440\u043e\u0431\u043e\u0442, \u0438\u043b\u0438 \u043e\u0431\u044c\u0435\u043a\u0442 \u0434\u043b\u044f \u043a\u043e\u043f\u0442\u0435\u0440\u0430. \u0422\u0430\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <s>\u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0447\u0442\u043e \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443 \u043f\u043e\u043b\u043e\u0436\u0438\u043b\u0438 \u0430\u043f\u0435\u043b\u044c\u0441\u0438\u043d<\/s>.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wp\/za\/yy\/wpzayygzwqzknespiheawh650la.jpeg\" alt=\"image\"><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h1>\u0427\u0435\u043c\u0443 \u043d\u0430\u0443\u0447\u0438\u043c\u0441\u044f<\/h1>\n<p>  \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u044e \u0447\u0442\u043e \u0443 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430 \u0435\u0441\u0442\u044c python ide(\u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043b\u044e\u0431\u043e\u0435) \u0438 \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u043d\u0438\u0435 \u043f\u0438\u0442\u043e\u043d\u0430.<\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 OpenCV \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre><code class=\"bash\">pip install opencv-python<\/code><\/pre>\n<p>  \u0418 numpy:<\/p>\n<pre><code class=\"bash\">pip install numpy<\/code><\/pre>\n<p>  <\/p>\n<h3>\u041a\u043e\u0434<\/h3>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438:<\/p>\n<pre><code class=\"python\">import cv2 import numpy as np<\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043e\u0431\u044c\u0435\u043a\u0442 cup \u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0434\u0442\u0438 \u0432\u0438\u0434\u0435\u043e. 0 \u2014 \u043a\u0430\u043c\u0435\u0440\u0430 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u0430\u044f, 1 \u2014 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u0430\u044f. <\/p>\n<pre><code class=\"python\">cap = cv2.VideoCapture(0)<\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"python\">_, frame = cap.read()<\/code><\/pre>\n<p>   \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u0434\u0440. \u0432\u043c\u0435\u0441\u0442\u043e _ \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c rate \u2014 \u0442\u0443\u0434\u0430 \u043f\u043e\u0439\u0434\u0435\u0442 fps \u043a\u0430\u043c\u0435\u0440\u044b, \u043d\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044f \u044d\u0442\u0438\u043c \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0441\u044c.<\/p>\n<p>  \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u043a\u0430\u0434\u0440 \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430. \u0423\u043c\u0435\u043d\u044c\u0448\u0438\u043c:<\/p>\n<pre><code class=\"python\">     frameresized = cv2.resize(frame, None, fx=2, fy=2, interpolation=cv2.INTER_CUBIC)     hsv = cv2.cvtColor(frame, cv2.COLOR_BGR2HSV) # \u043f\u0435\u0440\u0432\u0435\u043e\u0434 \u0432 \u0446\u0432\u0435\u0442\u043e\u0432\u043e\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 BGR2HSV     hsv = cv2.blur(hsv, (5, 5))  # \u043d\u0430\u043b\u043e\u0436\u0435\u043d\u0438\u0435  \u043c\u0430\u0441\u043a\u0438      mask = cv2.inRange(hsv, (89, 124, 73), (255, 255, 255))     #\u043a\u0430\u0434\u0440 \u0443\u0436\u0435 \u0441 \u043c\u0430\u0441\u043a\u043e\u0439     lower_blue = np.array([38, 86, 0]) #\u043d\u0438\u0436\u043d\u044f\u044f \u0433\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430 (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0433\u043e\u043b\u0443\u0431\u043e\u0433\u043e) <\/code><\/pre>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044e resize:<\/p>\n<pre><code class=\"plaintext\">frame - \u043a\u0430\u0434\u0440 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f fx - \u0444\u0430\u043a\u0442\u043e\u0440 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u043f\u043e \u043e\u0441\u0438 \u0425 fy - \u0444\u0430\u043a\u0442\u043e\u0440 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u043f\u043e \u043e\u0441\u0438 Y interpolation - INTER_NEAREST - \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f \u0434\u043e \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043e \u0441\u043e\u0441\u0435\u0434\u0430 INTER_LINEAR - \u0431\u0438\u043b\u0438\u043d\u0435\u0439\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443) INTER_AREA - \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u0430\u044f \u0432\u044b\u0431\u043e\u0440\u043a\u0430 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u043f\u043b\u043e\u0449\u0430\u0434\u0438 \u043f\u0438\u043a\u0441\u0435\u043b\u044f. \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0434\u043b\u044f \u043f\u0440\u043e\u0440\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439  \u0430 \u043a\u043e\u0433\u0434\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0430 \u0434\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u043d\u0430 INTER_NEAREST method. INTER_CUBIC - \u0431\u0438\u043a\u0443\u0431\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f 4x4 \u043a\u043b\u0435\u0442\u043e\u043a \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 INTER_LANCZOS4 - \u0438\u043d\u0442\u0435\u0440\u043f\u043e\u043b\u044f\u0446\u0438\u044f \u041b\u0430\u043d\u043a\u043e\u0437\u0430  8x8 \u043a\u043b\u0435\u0442\u043e\u043a \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 <\/code><\/pre>\n<p>  \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u043e\u043c \u043a\u0430\u0434\u0440\u0435 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0435\u043c \u043a\u043e\u043d\u0442\u0443\u0440\u044b \u0438 \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0438\u0445:<\/p>\n<pre><code class=\"python\"> contours, _ = cv2.findContours(mask, cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)     counturs = sorted(contours, key=cv2.contourArea, reverse=True)<\/code><\/pre>\n<p>  \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c findContours \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/p>\n<pre><code class=\"plaintext\"> cv.CHAIN_APPROX_NONE - \u043d\u0430\u0439\u0434\u0435\u0442 \u0432\u0441\u0435 \u0442\u043e\u0447\u043a\u0438 \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u043a\u043e\u043d\u0442\u0443\u0440\u0430(\u0435\u0441\u043b\u0438 \u043a\u043e\u043d\u0442\u0443\u0440 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0442\u0430\u043a \u043d\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u043e\u043c\u043f) cv.CHAIN_APPROX_SIMPLE - \u043d\u0430\u0439\u0434\u0435\u0442 \u0442\u043e\u0447\u043a\u0438 \u0433\u0440\u0430\u043d\u0438\u0446 \u043b\u0438\u043d\u0438\u0438 - \u0445\u043e\u0440\u043e\u0448\u043e \u0434\u043b\u044f \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0438(\u0437\u043d\u0430\u043a\u043e\u0432 \u0438 \u0442\u0434) cv.RETR_TREE - \u043f\u043e \u0441\u0443\u0442\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u0442\u043e\u0447\u043a\u0438  \u0438 \u043d\u0435 \u0441\u0442\u0440\u043e\u0438\u0442 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0439 cv.RETR_EXTERNAL  - \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c\u044b\u0435 \u0441\u0442\u0430\u0440\u0448\u0438\u0435 \u043a\u043e\u043d\u0442\u0443\u0440\u044b \u0432 \u0438\u0435\u0440\u0430\u0445\u0438\u0438 cv.RETR_CCOMP - \u0441\u0442\u043e\u0440\u0438\u0442 2 \u0443\u0440\u043e\u0432\u043d\u0435\u0432\u0443\u044e \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044e, \u0442\u0435 \u0435\u0441\u043b\u0438 \u0443 \u043d\u0430\u0441 \u043a\u043e\u043d\u0442\u0443\u0440 \u0432 \u043a\u043e\u043d\u0442\u0443\u0440\u0435 \u0442\u043e \u043e\u043d \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0442\u043e \u0441\u0442\u0430\u0440\u0438\u0448\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430 1 , \u0430 \u043c\u043b\u0430\u0434\u0448\u0438\u0439 \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c  cv2.RETR_TREE - \u0432\u0435\u0440\u043d\u0435\u0442 \u0434\u0435\u0440\u0435\u0432\u043e \u0432\u0441\u0435\u0445 \u043a\u043e\u043d\u0443\u0442\u0443\u0440\u043e\u0432 <\/code><\/pre>\n<p>  \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f RETR_CCOMP:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/4e9\/fcf\/af7\/4e9fcfaf75d3b3cdfa54dae8896a553a.png\" alt=\"image\"><\/p>\n<p>  \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f RETR_TREE:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/034\/ac8\/5b8\/034ac85b882be9ee85e67c9ffa2444a8.png\" alt=\"image\"><\/p>\n<p>  \u0418 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0440\u0438\u0441\u0443\u0435\u043c \u043a\u043e\u043d\u0442\u0443\u0440\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0448\u043b\u0438:<\/p>\n<pre><code class=\"python\">or contour in counturs:          cv2.drawContours(frame, counturs[0], -1, (255, 0, 255), 3)         cv2.imshow(&quot;Counturs&quot;, frame)  # \u0440\u0438\u0441\u0443\u0435\u0442 \u0440\u043e\u043a\u043d\u043e \u0441 \u043a\u043e\u043d\u0443\u0440\u0430\u043c\u0438         #cv2.imshow(&quot;Mask&quot;, mask)        # cv2.imshow(&quot;ret&quot;,ret)         #cv2.imshow(&quot;blur&quot;,blurred_frame)     key = cv2.waitKey(1) #\u0436\u0434\u0435\u043c \u043d\u0430\u0436\u0430\u0442\u0438\u044f ESC      if key == 27:           break<\/code><\/pre>\n<p>  \u0418 \u043f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043a\u043d\u043e\u043f\u043a\u0438 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0447\u0442\u0435\u043d\u0438\u0435 \u043a\u0430\u043c\u0435\u0440\u044b \u0438 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043e\u043a\u043d\u0430:<\/p>\n<pre><code class=\"python\">cap.release() cv2.destroyAllWindows() <\/code><\/pre>\n<p>  <\/p>\n<p> <a href=\"https:\/\/github.com\/AlexWortega\/Copterhack2019HidenSeek\/blob\/master\/bot.py\" title=\"Title\" rel=\"nofollow\">\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 <br \/>  <\/a> <\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438. <\/p>\n<p>  \u0411\u0443\u0434\u0443 \u043f\u0440\u0438\u0437\u043d\u0430\u0442\u0435\u043b\u0435\u043d \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u0434\u043f\u0438\u0448\u0438\u0442\u0435\u0441\u044c \u043d\u0430 \u043c\u043e\u0439 \u043a\u0430\u043d\u0430\u043b \u0432   <\/p>\n<p> <a href=\"https:\/\/t.me\/response1000000\" title=\"Title\" rel=\"nofollow\">\u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c<\/a> <\/p>\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\/498774\/\"> https:\/\/habr.com\/ru\/post\/498774\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/498774\/\">\n<h3>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h3>\n<p>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u0442\u043e\u043c \u043a\u0430\u043a \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0443\u0440 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e python\/ opencv \u0442\u0430\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0447\u0430\u0441\u0442\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u043e\u0431\u043e\u0442\u043e\u0442\u0435\u0445\u043d\u0438\u043a\u0435, \u0438 \u0432\u0441\u044f\u043a\u0438\u0445 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f\u0445. <\/p>\n<p>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0443\u0440 \u043b\u0438\u043d\u0438\u0438 \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0435\u0437\u0436\u0430\u0442\u044c \u0440\u043e\u0431\u043e\u0442, \u0438\u043b\u0438 \u043e\u0431\u044c\u0435\u043a\u0442 \u0434\u043b\u044f \u043a\u043e\u043f\u0442\u0435\u0440\u0430. \u0422\u0430\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <s>\u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0447\u0442\u043e \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443 \u043f\u043e\u043b\u043e\u0436\u0438\u043b\u0438 \u0430\u043f\u0435\u043b\u044c\u0441\u0438\u043d<\/s>.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wp\/za\/yy\/wpzayygzwqzknespiheawh650la.jpeg\" alt=\"image\">  <\/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-302406","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/302406","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=302406"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/302406\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}