From 190d285681ad1c5f2704688c7805a782272b8820 Mon Sep 17 00:00:00 2001 From: kev Date: Sat, 7 Dec 2019 13:15:29 +0800 Subject: [PATCH] update tesseract --- tesseract/Dockerfile | 2 +- tesseract/README.md | 6 ++++++ tesseract/data/chinese.jpg | Bin 0 -> 8033 bytes tesseract/data/input.png | Bin 0 -> 14644 bytes tesseract/docker-compose.yml | 6 ++++++ 5 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 tesseract/data/chinese.jpg create mode 100644 tesseract/data/input.png create mode 100644 tesseract/docker-compose.yml diff --git a/tesseract/Dockerfile b/tesseract/Dockerfile index ae50743..5ff4071 100644 --- a/tesseract/Dockerfile +++ b/tesseract/Dockerfile @@ -16,4 +16,4 @@ RUN set -xe \ && tesseract --list-langs ENTRYPOINT ["tesseract"] -CMD ["--help"] +CMD ["--help-extra"] diff --git a/tesseract/README.md b/tesseract/README.md index f0c4a35..25c84fa 100644 --- a/tesseract/README.md +++ b/tesseract/README.md @@ -15,8 +15,14 @@ Quick Start ``` $ alias tesseract='docker run --rm -v `pwd`:/data -w /data vimagick/tesseract' + $ tesseract input.png output -l eng --psm 3 $ cat output.txt +The (quick) [brown] {fox} jumps! + +$ tesseract chinese.jpg chinese -l chi_tra --psm 8 --oem 0 +$ cat chinese.txt +學習 ``` [1]: https://github.com/tesseract-ocr/tesseract diff --git a/tesseract/data/chinese.jpg b/tesseract/data/chinese.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8fa5484932ebb89f9afa83b97e87358d6378492e GIT binary patch literal 8033 zcmd6MXH-+swr&6^N)rVs0hA_67YId~N(n^>NRuuC(o5(a1t|sy9R%r}KoOJWd$V#03IGb;OXrE z+)M&w0c0e1@7*OPyLa~y&pDnw;}d=(#`i)-@Y%DM zYAc2gha%52=MT4CspnP@CXR-@rj5Dh)M1e-mbs{;1k>- zq#|N@@Phc^YYkHRf6}rGiMVFZ?>*uGX=;58#O({qnz=0e z1L+pye<0m%g-?V>d^-uE0^sB00|@Sr5Z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umCrcz`<1Qb-CbMI-f z*86pXWIpv4-;Zn~{ySRoCW<;^J;5N5+>$dVnf3W4O{sU*Oax(gTI}&6=W0ulqkP(s zYq)Je-Lw6!8ovuKUYsq?}9btm6Be?#5*pvetj@{qLZl^px9lUT;u*a_uhttdpF ziu>k-k2oYQ^dMky&89G{28(_3KefYu$^ayr!zr;x3f3EwsOebBruG>b!gLAQnX4Cj zm2|!K5^v4%N|_C>Nwwt3<9}jmtv^B~_E{GxiYKR+EM2FWbR<6^&?Im#1>99L>Rt5} z^CX?VWl>Q){KNfzfBMs6Z~k!RnkhF+y55Yl%^t;|0^B1852(nOGMURLmrzvda|RzH zbbOqutSXgc533dDT*H8J7R?w;v#SA%6}j3v{fB76Qs!$;w)8{@;tzN8NzqKF8y4GM+{HQXIbZ9TVwDq&bq( zF1B0hg964bUHR$SjzoN!&HY4VO|qWyQ**CUCuYG`?` zj2y%$TD6#OVf5HMf9~77EsG(Cu?Y^%%UPgKYOqe+xFO56ZgXnu<)6^wmE{pOUmSBj8KKkg9Oxsx$-Z?DvhS0_rS!?N!O|EHwZ ze?<6}75s}P5-w{BS+859EfID6{0sR&z&-45+|h{fFX ztyW1xHu3%LKZs&BPU=G+#>-0;tKiDem$RRa$^;|aYO{(d?1iDiU+P2f7o^UN1r2K= zRa79$j7;c1_=8vdk8*F5-qcU?{I2wP6$ezG@O^W2pAPUb{ZgRb&ztgPAG5dW^#=AvT^AecM;=wj>6% z-|_CdrF2HcpK6kiEau+N59AGd2IPR{RTBoDUOm%C>_C-IIBy4$tiKZKO#{UcDb_PNK literal 0 HcmV?d00001 diff --git a/tesseract/data/input.png b/tesseract/data/input.png new file mode 100644 index 0000000000000000000000000000000000000000..91f0c18e1c499f500e347a57395c93a8df384f78 GIT binary patch literal 14644 zcmb7rXHXPR^li`XvZN*Fj7ZKIBrZuoqGXh$1d$*hNDhM_BKRW<2m%WtQIa4ztRf;v zl$?`D4kD5SdHmn2_xaWPFm-Qrb z0(qY%0_cq}dRh3sL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rf_J z|2cVVJ|Vs=XuYtfsPMg(%ZS#+RP1&r7hnF%EO#Uj?JKw?waAl^SJSgZ zO`AmO)Cb`hgWy+%*)4B*0#hM%L_p+P^&=DTm7SA>DG1I0VPvF0VBJ}fs%nF#{|Qcv zaRD1Rbq|HLV+psGfVp~{fFuV!F#g`>2goir{lmXcr2$+W)k~sxbf|u{jF4Q3MZqY( zmGA&)%4P?a0(=v+&L- z@n9#$O}C9k$cJ<`8GA{`RZu06*efJNEUv;PQGp45$i1)RZ~K`ZmcC(wOlQlR=Kj+a zkyD`!)$7?J!j;hovo|YPS+KqdFLC-D|0VDLqtWmGrz!CN&OHn3x*(J>`}UBt|H);? P8UQ+42AUP>_D}v7HU=Wt literal 0 HcmV?d00001 diff --git a/tesseract/docker-compose.yml b/tesseract/docker-compose.yml new file mode 100644 index 0000000..e2799b0 --- /dev/null +++ b/tesseract/docker-compose.yml @@ -0,0 +1,6 @@ +tesseract: + image: vimagick/tesseract + command: tesseract input.png output -l eng --psm 3 + volumes: + - ./data:/data + working_dir: /data