nemoitis / ChatParser

Easier, faster, and more efficient way to extract text from Chat Screenshot.
0 stars 0 forks source link

Unable to extract text correctly from tinder screenshots with light background #2

Closed nemoitis closed 9 months ago

nemoitis commented 9 months ago

Input

image

Output

he: Kes Orenge [uice
he: uhat ere VoU Up to Or Beturdet?
she: Starting uni Imas
she: Kakifirs Saturoaytbh
she: But mnaybe Saturday ornextieek
he: Ah dotche 4eS goind to suggest WNC eet Up Saturdey end detto knowi Gach other some mores tark thc nicest boty otorende juice eround
she: atw 8uess forgotto tellu Sth
she: Mitrt not Egyptian
she: internationalstucenthere
he: Howi lond ere vou here FOr? Ard ichere ere you from originelly
he: sent
she: Hust Gothere aferthe summer break
she: And actually not far
she: FNE 1med

Issue

The extracted text is horribly wrong comparing to other samples.

Potential Solution

Try converting the image to grayscale using convert('LA')

nemoitis commented 9 months ago

More samples: