{"id":157145,"date":"2012-11-02T13:28:05","date_gmt":"2012-11-02T09:28:05","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=157145"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=157145","title":{"rendered":"<span class=\"post_title\">\u00ab\u041e\u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u0435\u043c\u00bb \u043a\u0430\u043f\u0442\u0447\u0443 \u0435\u0434\u0438\u043d\u043e\u0433\u043e \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u0441\u0430\u0439\u0442\u043e\u0432, \u0437\u0430\u0449\u0438\u0449\u0430\u044e\u0449\u0435\u0433\u043e \u043b\u044e\u0434\u0435\u0439 \u043e\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u043b\u0441\u044f \u043f\u043e\u0440\u0442\u0430\u043b <a href=\"http:\/\/zapret-info.gov.ru\/\">\u0415\u0434\u0438\u043d\u043e\u0433\u043e \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u0441\u0430\u0439\u0442\u043e\u0432<\/a>. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0442 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0447\u0435\u0433\u043e \u043c\u043d\u0435 \u043f\u0440\u0438\u0433\u043b\u044f\u043d\u0443\u043b\u0430\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u0441\u043b\u0430\u0431\u0430\u044f \u043a\u0430\u043f\u0442\u0447\u0430, \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u0435\u0451 \u043f\u043e\u0431\u043e\u0440\u043e\u0442\u044c.<\/p>\n<p>  \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u043c\u0438 \u0432\u0435\u0449\u0430\u043c\u0438 \u044f \u0443\u0436\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0441\u044f, \u043f\u0440\u0430\u0432\u0434\u0430, \u043d\u0435 \u0432 \u0442\u0430\u043a\u043e\u043c \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0435. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u041a\u041f\u0414 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u044f \u0432 57% \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u043e\u043b\u044c\u043a\u043e GNU\/Bash, imagemagick \u0438 Tesseract-ocr, \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.<\/p>\n<p>  \u041d\u0438\u0436\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434 \u043b\u044e\u0431\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0441\u043b\u0430\u0431\u044b\u0435 \u043a\u0430\u043f\u0442\u0447\u0438.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h1>\u0412\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435<\/h1>\n<p>  \u0420\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0441\u0430\u043c\u0438\u0445 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u043a\u0430\u043f\u0442\u0447 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0440\u043e\u0432\u043d\u043e \u043d\u0430 \u0434\u0432\u0430 \u044d\u0442\u0430\u043f\u0430:<\/p>\n<ul>\n<li>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c imagemagick <\/li>\n<li>\u0420\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044f \u0432\u044b\u0431\u0440\u0430\u043b Tesseract, \u043d\u043e \u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043a\u0430\u043f\u0442\u0447\u0430\u0445 (\u0431\u0435\u0437 \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u043e\u0432, \u0431\u0435\u0437 \u0440\u0430\u0437\u0440\u044b\u0432\u043e\u0432) \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c ocrad, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443.<\/li>\n<\/ul>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u043b\u0435\u0433\u043a\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 curl (\u0438\u043b\u0438 wget, \u043d\u043e \u0441 \u043d\u0438\u043c \u044f \u043d\u0435 \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u043b\u0441\u044f).<\/p>\n<h2>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a<\/h2>\n<p>  \u0412 ImageMagick \u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u044f\u0437\u044b\u043a Fx \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u043f\u0435\u0446-\u044d\u0444\u0444\u0435\u043a\u0442\u043e\u0432. \u0422\u0430\u043a \u043a\u0430\u043a \u043d\u0430 \u043a\u0430\u043f\u0442\u0447\u0435 \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u0431\u0443\u043a\u0432\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u0447\u0435\u0440\u043d\u044b\u0435, \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u0443\u0431\u0438\u0440\u0430\u044e\u0449\u0438\u0439 \u0432\u0441\u0451 \u043d\u0435\u0447\u0435\u0440\u043d\u043e\u0435, \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<pre><code class=\"bash\">convert file.png -colorspace cmyk -fx 'k * (k &gt;= 1.0)' file.ppm<\/code><\/pre>\n<p>  \u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0434\u0435\u0441\u044f\u0442\u0443\u044e \u0441\u0435\u043a\u0443\u043d\u0434\u044b, \u0447\u0442\u043e \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e. \u041d\u043e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u2014 \u043d\u0435\u0442, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0439\u0442\u0438\u0441\u044c \u043f\u043e \u043d\u0435\u0439 \u0435\u0449\u0435 \u0440\u0430\u0437. \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0431\u0443\u043a\u0432\u0430 \u0431\u044b\u043b\u0430 \u0437\u0430\u0434\u0435\u0442\u0430 \u043b\u0438\u043d\u0438\u0435\u0439, \u0442\u043e \u0432 \u0442\u0430\u043a\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0437\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u044b\u0435 \u043f\u0438\u043a\u0441\u0435\u043b\u0438-\u0441\u043e\u0441\u0435\u0434\u0438 \u0441\u0440\u0430\u0437\u0443 \u0441 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0442\u043e\u0440\u043e\u043d:<\/p>\n<pre><code class=\"bash\">convert file.ppm -colorspace cmyk -fx 'k || (p[-1].k && p[+1].k) || (p[0,-1].k && p[0,+1].k)' out.ppm<\/code><\/pre>\n<p>  \u0427\u0435\u043c \u043c\u044b \u0436\u0435\u0440\u0442\u0432\u0443\u0435\u043c \u0435\u0449\u0435 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u043e\u0439 \u0441\u0435\u043a\u0443\u043d\u0434\u044b. \u041a\u0430\u043a \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043f\u043e\u0437\u0436\u0435, \u044d\u0442\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442 \u043f\u0440\u043e\u0446\u0435\u043d\u0442 \u0443\u0441\u043f\u0435\u0445\u0430 \u0441 1% \u0434\u043e 22% (\u043d\u0430 100 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0445 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u0445).<\/p>\n<h2>\u0420\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432<\/h2>\n<p>  \u0422\u0443\u0442 \u0432\u0441\u0451 \u0435\u0449\u0435 \u043f\u0440\u043e\u0449\u0435. \u0422\u0440\u0430\u0432\u0438\u043c tesseract \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443, \u0437\u0430\u0431\u0438\u0440\u0430\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430. \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438, \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0443\u0447\u0438\u0442\u044c \u0435\u0433\u043e \u0448\u0440\u0438\u0444\u0442\u0443 \u043a\u0430\u043f\u0442\u0447\u0438 \u043a\u0430\u043a \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c\u0443 \u044f\u0437\u044b\u043a\u0443, \u043d\u043e \u043e\u0432\u0447\u0438\u043d\u043a\u0430 \u0432\u044b\u0434\u0435\u043b\u043a\u0438 \u043d\u0435 \u0441\u0442\u043e\u0438\u0442.<\/p>\n<pre><code class=\"bash\">  tesseract out.ppm result -psm 8 nobatch digits 2&gt;\/dev\/null   res=$(cat result.txt | sed -e 's\/[^0-9]\/\/g')<\/code><\/pre>\n<p>  <\/p>\n<h1>\u041e\u0442\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445<\/h1>\n<p>  \u041a\u0430\u043a \u044f \u0443\u0436\u0435 \u0441\u043a\u0430\u0437\u0430\u043b \u0432\u044b\u0448\u0435, \u0442\u0430\u043a\u0430\u044f \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044f \u0434\u0430\u043b\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0432\u0435\u0442 \u043d\u0430 22 \u0438\u0437 100 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0445 \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a. \u041d\u043e \u0442\u0435\u0441\u0442\u044b \u2014 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/bash c=$(curl -c cook.txt http:\/\/zapret-info.gov.ru\/ | iconv -f cp1251 | grep capcha | sed -e 's\/&quot;\/\\n\/g' | grep services) url=&quot;http:\/\/zapret-info.gov.ru$c&quot;  r=work01  #get curl -b cook.txt &quot;$url&quot; &gt; &quot;$r.png&quot;  #prepare convert $r.png -colorspace cmyk -fx 'k * (k &gt;= 1.0)' $r.png convert $r.png -colorspace cmyk -fx 'k || (p[-1].k && p[+1].k) || (p[0,-1].k && p[0,+1].k)' $r.png  #exterminate tesseract $r.png $r -psm 8 nobatch digits res=`cat $r.txt | sed -e 's\/[^0-9]\/\/g'`  #check if [ &quot;$(echo $res | wc -c)&quot; -ne 9 ]; then   echo fail && exit fi  #send code=$(echo $c | sed -e 's\/[^0-9]\/\/g') fin=`curl -b cook.txt -d &quot;act=search&secretcodeId=$code&searchstring=ya.ru&secretcodestatus=$res&quot; 'http:\/\/zapret-info.gov.ru\/'| iconv -f cp1251`  if echo &quot;$fin&quot; | grep -q '\u043d\u0435 \u0437\u043d\u0430\u0447\u0438\u0442\u0441\u044f'; then   echo succ else   echo tesfail fi  rm $r.png $r.txt cook.txt<\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0431\u0435\u0440\u0442\u043a\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/bash score=0 all=0  while [ &quot;$score&quot; -lt 41 ]; do    r=`bash per.sh 2&gt;\/dev\/null`   [ &quot;$r&quot; = 'succ' ] && let score++   let all++    echo &quot;$score\/$all; $r&quot; done <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u0442\u0440\u043e\u043a\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">time bash tt.sh | tee -a log.txt<\/code><\/pre>\n<\/div>\n<\/div>\n<h1>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b, \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430<\/h1>\n<p>  \u0412\u044b\u0448\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 41 \u0443\u0441\u043f\u0435\u0448\u043d\u0443\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 ya.ru \u0432 \u0440\u0435\u0435\u0441\u0442\u0440\u0435. \u041d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e \u043d\u0435\u043c\u0443:<\/p>\n<pre><code>\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u043d\u043e: 41 \u0412\u0441\u0435\u0433\u043e \u043a\u0430\u043f\u0442\u0447: 218 \u0412\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b: 5 \u043c\u0438\u043d\u0443\u0442 4 \u0441\u0435\u043a\u0443\u043d\u0434\u044b (5m4.178s) \u041a\u041f\u0414: 19% \u041a\u041f\u0414 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0437\u0430\u0432\u0435\u0434\u043e\u043c\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u043b\u0438\u0441\u044c \u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443: 57% \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u041a\u041f\u0414 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b: 33% \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u041a\u041f\u0414 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u044b: 12% <\/code><\/pre>\n<h1>\u041f\u0443\u0442\u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f<\/h1>\n<ul>\n<li>\u041e\u0434\u043d\u0443 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437, \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u0440\u0430\u0437\u043d\u044b\u0435 \u043a\u0430\u043f\u0442\u0447\u0438 \u0441 \u043e\u0434\u043d\u0438\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u041a\u041f\u0414.<\/li>\n<li>\u0418\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0443\u0447\u0438\u0442\u044c Tesseract \u0448\u0440\u0438\u0444\u0442\u0443 \u043a\u0430\u043f\u0442\u0447\u0438. \u0421\u0430\u043c \u0448\u0440\u0438\u0444\u0442 \u043f\u043e\u0445\u043e\u0436 \u043d\u0430 Arial, \u043d\u043e \u0442\u0435\u0441\u0441\u0435\u0440\u0430\u043a\u0442 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043f\u0443\u0442\u0430\u0435\u0442 3 \u0438 8, 1 \u0438 7.<\/li>\n<\/ul>\n<div class=\"clear\"><\/div>\n<\/p><\/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=\"http:\/\/habrahabr.ru\/post\/157145\/\"> http:\/\/habrahabr.ru\/post\/157145\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u043b\u0441\u044f \u043f\u043e\u0440\u0442\u0430\u043b <a href=\"http:\/\/zapret-info.gov.ru\/\">\u0415\u0434\u0438\u043d\u043e\u0433\u043e \u0433\u043e\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0435\u0441\u0442\u0440\u0430 \u0441\u0430\u0439\u0442\u043e\u0432<\/a>. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0442 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u043e\u0447\u0435\u0433\u043e \u043c\u043d\u0435 \u043f\u0440\u0438\u0433\u043b\u044f\u043d\u0443\u043b\u0430\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u0441\u043b\u0430\u0431\u0430\u044f \u043a\u0430\u043f\u0442\u0447\u0430, \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u0435\u0451 \u043f\u043e\u0431\u043e\u0440\u043e\u0442\u044c.<\/p>\n<p>  \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u043c\u0438 \u0432\u0435\u0449\u0430\u043c\u0438 \u044f \u0443\u0436\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0441\u044f, \u043f\u0440\u0430\u0432\u0434\u0430, \u043d\u0435 \u0432 \u0442\u0430\u043a\u043e\u043c \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0435. \u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u041a\u041f\u0414 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u0432\u0430\u043d\u0438\u044f \u0432 57% \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u043e\u043b\u044c\u043a\u043e GNU\/Bash, imagemagick \u0438 Tesseract-ocr, \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.<\/p>\n<p>  \u041d\u0438\u0436\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434 \u043b\u044e\u0431\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0441\u043b\u0430\u0431\u044b\u0435 \u043a\u0430\u043f\u0442\u0447\u0438.  <\/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-157145","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/157145","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=157145"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/157145\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=157145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=157145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=157145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}