Thread: OCR on jolla
View Single Post
pichlo's Avatar
Posts: 6,453 | Thanked: 20,983 times | Joined on Sep 2012 @ UK
#30
Originally Posted by skvark View Post
What do you mean by "rendering of some common programming languages"?
Sorry if I used a wrong term. What I mean is, take a picture of a snippet of e.g. a C code from a book and convert it to text. The formatting may come out wrong but most languages do not care. In pathological cases like e.g. Python, the user will have to do some post-processing.

And yes, taking an image of a screen is not going to work so well in most cases, the background is too hard for the preprocessing step unless there are clearly pure black/white regions.
Mine was black text on pure white background but it did not work because you could clearly see the raster in the photo, even though it was invisible with a naked eye. I am aware that this is a challenge and was not expecting miracles.