Log file Viewer
Help
|
Karma
| Search:
#pil logs for Monday the 18th of March, 2013
(
Back to #pil overview
) (
Back to channel listing
) (
Animate logs
)
[
15:59:36
] <
shantanoo
> hi
[
15:59:38
] <
shantanoo
> anyone around
[
15:59:57
] <
shantanoo
> i am trying to create tiff file using pil
[
16:00:03
] <
shantanoo
> for unicode text
[
16:00:06
] <
shantanoo
> http://pastebin.com/4bAiwkEU - sample
[
16:00:20
] <
shantanoo
> but i am getting garbage in the output
[
16:13:12
] <
wiredfool
> shantanoo: have you tried saving it as a png?
[
16:13:32
] <
shantanoo
> wiredfool: got the issue.
[
16:13:46
] <
wiredfool
> ok
[
16:13:53
] <
shantanoo
> had to change the draw.text line to
[
16:13:54
] <
shantanoo
> draw.text((0, 50),a, font=font)
[
16:13:57
] <
shantanoo
> and it worked.
[
16:14:06
] <
wiredfool
> ah. perfect
[
16:14:12
] <
shantanoo
> it was using non-unicode font :)
[
16:15:06
] <
shantanoo
> little to question
[
16:15:24
] <
shantanoo
> anyone has tried tesseract-ocr?
[
16:15:54
] <
wiredfool
> I tried a while back, but it seemed really raw. Probably 2 years ago now
[
16:17:20
] <
shantanoo
> i am trying to train it, but not able to understand it properly.
[
16:17:30
] <
shantanoo
> was going though http://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3
[
16:17:47
] <
shantanoo
> was planning to create the tiff file using pil
[
16:17:58
] <
shantanoo
> and then passing it for training
[
16:19:51
] <
wiredfool
> not sure I can help you thee
[
16:20:59
] <
shantanoo
> wiredfool: you may like to have a look at http://www.youtube.com/watch?v=3Ba7mflTI1I
[
16:21:40
] <
shantanoo
> http://code.google.com/p/jtesseract/