Skip to content

Convert image for best recognition? #115

Open
@Viton-zizu

Description

Excuse me.
How i can transform my image for better recognition?
I have image with Russians chars, but when i recognize picture, i have realy bad result

Bitmap pictureInfoArea = src.ToBitmap();
TesseractEngine engine = new TesseractEngine("tessdata/", "rus", EngineMode.Default);
var page = engine.Process(pictureInfoArea, PageSegMode.Auto);
string s = page.GetText();

probably, i can teaching tesseract for best result?
sorry for my worse english
This black text in tesseract
[spoiler]
РОССИЙСКАЯ
Паспорт выдан „
ФЕДЕРАЦИЯ
отдвлвнивм угас госсии_„щ
В Р-НЕ ГОР.
А 1ёДо2.2оо9
дата выдачи, ‚
.. ‚ Кодуподратздежения '
27овоо4Т$
ёо во
[/spoiler]
This black text true
[spoiler]
ОТДЕЛЕНИЕМ УФМС РОССИИ
ПО ХАБАРОВСКОМУ КРАЮ
В КОРОВСКОМ Р-НЕ ГОР ХАБАРОВСКА
11.02.2002
[/spoiler]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions