Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertical receipt OCR outputs garbage #77

Closed
Dielee opened this issue Nov 19, 2020 · 4 comments
Closed

Vertical receipt OCR outputs garbage #77

Dielee opened this issue Nov 19, 2020 · 4 comments
Assignees
Labels

Comments

@Dielee
Copy link
Contributor

Dielee commented Nov 19, 2020

Vertical receipts, are rotated and otuputs garbage OCR.

Image:
noExif

OCR:

—
oO
x
4 J SL a; Jg —J
DOT nom CD oo Or GICO oOO QD+rOoO ADn2O n RDDLDLDDNnD m RANnrnO oo 18)
BODOOOORGHSNAOIOODOH-DNOGOHD Dr OO DR ND OSJON NM DL OODOVOODODDPDDIDIODPDNGCSOO DON DXDNN DM O1
DOSIOOONDDSIOSOSJIIIINDOOITOOGIIDRB IS OGISIND OD TIAISIOOOOO OO m Hmm OO AG OIH HH MD MIND OO N O0 (Od
BDH-OCONDONDOD DO SIGIHHADODOOSNS- OIOCO OO DAGSI- ALDODDIDODTIODHTDODOOOGIGIGIO OT DD OD OD OO SS SSH O-m OO co
= OOo TI III DODOOTITSNSITITS-TOr-DDONDONSNIDOSIDLGIDODAROODTONT-DBODDOIOIGIDOCGIITDODDDOOON CID O1 O
€ TOT UV oO <TD... zz vo u> UVOoy  TUUDODU{VTUOVDUUODUIVUDUDU do UV OO DVD U P>;> > UUUD ZZ T2Z3ET
=& 9 CC — 7 Doo9 - OO 2 — << Do — OO —- < u () —- —- 09 — 00T) u u u Do — —- 7 TODD CO cc CC - -— - a -+--. 09
>t rDOo00%o08 - D35 oo - TS C To 5 JO I Too VO Oo CE DIDI PCOOO Oo Oo oT oo oo OL cc. cLO CE TC OO HH OO D ED ER
+5 ı ıı OO -O9 I 2—-00—-0 010-1 31 _I) JS5=s ı 1 1 ı  Lı DD ı ı __ID2IS ID 1 11V VD ı 1 I DDIDdDd A
> VS ZU u un OD AT — NIOD oo DD — ı Aw Ävy SIuvzZzu3 dd -— m << o vo oO DB. DI DD nn Tv DD zz OO VO > JH A or ©
xu_n ° cc: 0709 adornd-er I DDr DIO TO TA DO OHIO DCCOoO PP OT D OD — — ——— DO AT CC CHI IT ID oıo ” oo —
ca o N O00ZRFI 9 TO AO DD DoVOODOO —-O TI VO TO —- Oo cc rt 3 3 o- NN 3 — —- DD — DIVE rTITITO DD > bs yon ttnmdr-
<D a rt oda än a aoe esnn ı — 3; rt0 O0 © 02 X Zu 9) ONNCTOTOTDOTDOONDTODDI OO N Hd —_- —-
SE DV —-- Io TD ı DZ TUI TO dm I Dom IT D + I ON DOO—OD D-O0—929 000 oo Do DT.) = Or ntnro DD Dx x —- I
—- ge TITII-- oO -— oo TI) cc oo DD od —-D 9 rHtQO co ı DTIT7’WVOo ı TI DR RTITI RAR TID zCı ı O9 rHrtrtrt TI I — —ı
<D DO vv. AI DD I DI Oo u CZ 5 c [em A —- 0 c 7’ DpoD pp I ı VO CC DD U DI — — og TIororoIT, ı  ı 1ı 433m m =OoO
nm Tao 1) Jj -- oo x ch ı1 DI +07 vV or > O0 —-—- O7VOvVyvVv C vv DDD THIOTıboıvy om ovyovpgogogc mh —-
<D x — >. DD -5-...:. 7905 -00O0CcC > I a re 3 5 _—o0— —- co oe» OT AOODOTDT TC — 2x Dıxı — oO
=> MO > E 00 OX—-0O0d0 5 — OD +» © D N “D ON 07 an ze ı @ —NNI Do (o DD —.2Z2Z “oO
— Io O2 — J1O3 >= nn IT I 73 > —— D< _ —: + — ho DD. I —- _— . NNN -—- —.- Om Orm-
>t D-%0 oT OO ı © _- om + ua Q — oO © . — —— 2 no oO ge) {on =——r v0. %.
€ OD —- >D- Or De Tr &D oc —D- Ed “& DO 0 — —— vo © OOMNCOIND O0]
= DV A Ar on © . = 23 — 0 N — aA EC DD re = = a  e B oo 01
- Orts. os O-HOrs Hm DOHr HH Or OH Hs Or Or OO OO HH OO Hmm Dr OO HH. OOrHmdHe0o C
SORTITGTONSOOHDOCNOOROODSFENIGSODOOSITCOLAONSJTDTDOGTIDOALII OTTO ONSINNSIOIINSNSNSNS2OOGHEOImW u
DISOOOITOSOOSGOTASDTD TAI OCOODOCOOOOCOODSOCOODVOCOODODOOGOCOCOOOCODODOOOCOOCOSOSOGCOOGOOVDTOOCOOOO DO AO
VU>>r>>>>>- >> >> oT py,>->>>UVU>>>r>->>>r>r;,>>r>>->,D>->r>r>r>->->->,>,>r,>r,>r,>r,>-r>r,>>r>,>r>,>>->-UDOD ur


Any ideas ?

@Dielee
Copy link
Contributor Author

Dielee commented Nov 19, 2020

Possible solution here: e41d6cc

@mre
Copy link
Member

mre commented Nov 19, 2020

Yeah your PR makes a lot of sense. We should not assume that images are rotated by 90 degrees by default. 😆

@monolidth monolidth added the bug label Nov 19, 2020
@monolidth monolidth self-assigned this Nov 19, 2020
@monolidth
Copy link
Member

This should be fixed now.

@monolidth
Copy link
Member

See commit: a50fc4a

Regards,
William

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants