mealie/tests/data/text/test-ocr.tsv
Hayden 39adea4ee3
feat (WIP): bring png OCR scanning support (#1670)
* Add pytesseract

* Add simple ocr endpoint

replace extension argument

* feat/ocr-editor gui

* fix frontend linting issues

* Add service unit tests

* Add split text modes & single ingredient/instruction editing

* make split mode really reactive

* Remove default step and ingredient

* make the linter haappy

* Accept only image uploads

* Add automatic recipe title suggestion

* Correct regex

* fix incorrect array.map method usage

* make the linter happy again

* Swap route to use asset name

* Rearange buttons

* fix test data

* feat: Allow making image the recipe image

* Add translation

* Make the linter happy

* Restrict function setPropertyValueByPath generic

* Restrict template literal type

* Add a more friendly icon to creation page

* update poetry lock file

* Correct sloppy ocr classes

* Make MyPy happy

* Rewrite safer tests

* Add tesseract to backend test CI container dependencies

* Make canvas element a component global

* Remove unwanted spaces in selected text

* Add way to know if recipe was created with ocr

* Access to ocr-editor for ocr recipes

* Update Alembic revision

* Make the frontend build

* Fix scrolling offset bug

* Allow creation of recipes with custom settings

* Fix rebasing mistakes

* Add format_tsv_output test

* Exclude the tests data directory only

* Enforce camelCase for frontend functions

* Remove import of unused component

* Fix type and class initialization

* Add multi-language support

* Highlight words in mount

* Fix image ratio bug

* Better ocr creation page

* Revert awkward feature to scroll in Selection mode

* Rebasing alembic migrations sux

* Remove obsolete getShared function

* Add function docstring

* Move down ocr creation option

* Make toolbar icons more generic

* Show help at the bottom of the page

* move ocr types to own file

* Use template ref for the canvas

* Use i18n.tc to get strings directly

* Correct naming mistake

* Move Ocr editor to own directory

* Create Ocr Editor parts

* Safeguard recipe properties access

* Add loading frontend animation due to longer request time

* minor cleanup chores

Co-authored-by: Miroito <alban.vachette@gmail.com>
2022-09-25 15:00:45 -08:00

2.8 KiB

1levelpage_numblock_numpar_numline_numword_numlefttopwidthheightconftext
211000000640480-1
32110003692582269-1
4311100369258292-1
5411110369254430-1
65111113692602487.137558This
751111210992202487.137558is
851111314198151887.823906a
951111416992322487.823906lot
1051111521292282492.965874of
1151111625192312493.24751312
1251111729692683092.734741point
1351111837493532392.996040text
1451111943793262393.160057to
15511111047493522392.312637test
16511111153692442492.312637the
174111203612658231-1
1851112136132451890.505524ocr
1951112291126692490.505524code
20511123172126512491.169167and
21511124236132501889.765854see
22511125299126152485.827324if
23511126325126142493.116241it
24511127348126852492.394562works
25511128445132331830.119690on
26511129500126292430.119690all
275111210541127773092.090988types
284111303616018724-1
2951113136160282492.476135of
3051113272160412490.919365file
315111331231601002491.360367format.
3231120036194561167-1
334112103619454931-1
3451121136194552489.098892The
35511212102194753089.098892quick
36511213189194852491.415680brown
37511214287194523191.943085dog
385112153481941083192.167969jumped
39511216468200631891.970985over
40511217540194452492.843704the
414112203722854831-1
4251122137228553192.262550lazy
43511222103228502492.693161fox.
44511223165228552492.947639The
45511224232228753090.589806quick
46511225319228852491.051247brown
47511226417228513191.925011dog
485112274782281073191.471077jumped
494112303626256131-1
5051123136268631890.210129over
51511232109262442490.210129the
52511233165262563191.178192lazy
53511234231262502492.794647fox.
54511235294262552491.388016The
55511236360262753092.525742quick
56511237447262852490.425552brown
57511238545262523190.425552dog
584112404329651831-1
59511241432961073191.759590jumped
60511242162302641892.923576over
61511243235296442492.017929the
62511244292296553191.558884lazy
63511245357296502492.687485fox.
64511246420296552491.922661The
65511247486296753091.870224quick
664112503733052431-1
6751125137330852492.923935brown
68511252135330523191.468765dog
695112531963301083191.425491jumped
70511254316336631891.489830over
71511255388330452491.740379the
72511256445330553192.110054lazy
73511257511330502493.180054fox.