GoBooDo icon indicating copy to clipboard operation
GoBooDo copied to clipboard

Blue links + image not available = Tesseracts image misclassification

Open mrelg opened this issue 3 years ago • 1 comments

This bug is due to google itself, but it should be alleviated.

Tesseract is overkill for detecting "Image not available" and it can fail as demonstrated in this bug (see picture) This is classified as a regular page.

Beater way of detecting "image not available" is thru &jscmd=click3 "flags"

https://books.google.com/books?id=xxxxxxxxxxxx&hl=en&pg=PAn&jscmd=click3 returns something like this: {"page":[{"pid":"PA...","src":"https://books.google.com/.....","flags":0,"order":...,"uf":"https://..."}, ... { ...

image not available: "flags":8 (presumably !=0 ) image available: "flags":0

mrelg avatar Jul 29 '22 20:07 mrelg

That is an interesting observation, can you make a pull request with the changes so that we can experiment.

vaibhavk97 avatar Aug 17 '22 06:08 vaibhavk97