vinayj1857 / orion-viewer

Automatically exported from code.google.com/p/orion-viewer
0 stars 0 forks source link

slow response time on OCR pdf #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Changing page on any OCR pdf

What version of the product are you using? On what operating system?

nook simple touch (1.21), android 2.1
orion_viewer_0.43.3_armeabi_v5.apk

Please provide any additional information below.

Very slow (around 7-15 sec) turning page on any OCR pdf. Without OCR 
orion-viewer turns pages very fast. 

Original issue reported on code.google.com by ata...@gmail.com on 29 Oct 2013 at 3:19

GoogleCodeExporter commented 9 years ago
Update: slow response time on particular PDF files (maybe specific language 
issue?).
Attached one of problematic pdf files.

Original comment by ata...@gmail.com on 29 Oct 2013 at 1:29

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Was it same slow on previous version?

Original comment by mikhael.bogdanov on 30 Oct 2013 at 8:08

GoogleCodeExporter commented 9 years ago
I downloaded orion_viewer_0.39.1_armeabi_v5, and looks like the same problem 
was before.

Original comment by ata...@gmail.com on 30 Oct 2013 at 11:14

GoogleCodeExporter commented 9 years ago
maybe problem in pdf file try to convert it pdf->pdf throug 
http://online2pdf.com/

Original comment by mikhael.bogdanov on 30 Oct 2013 at 12:40

GoogleCodeExporter commented 9 years ago
Yay, pdf->pdf fixed problem and now really pleasure to read! 
But I have hundred such problematic pdf files - any way to fix it without third 
party software?

Original comment by ata...@gmail.com on 30 Oct 2013 at 1:18

GoogleCodeExporter commented 9 years ago
I think that it much faster to regenerate book on computer than on any android 
device. Maybe some batch script could convert all your books)

Original comment by mikhael.bogdanov on 30 Oct 2013 at 2:05

GoogleCodeExporter commented 9 years ago
Probably PDFs are prone to being slow to load, because there's an image of each 
page on top of the (invisible) text. Solution is to put text over image (web 
convertor is slow and gives timeout error frequently)

Original comment by ata...@gmail.com on 30 Oct 2013 at 2:47

GoogleCodeExporter commented 9 years ago
If you want to investigate this issue you can check format in which encoded 
each image in original and converted pdf's. And also image size (Mb) and 
dimension(width and height).

Original comment by mikhael.bogdanov on 30 Oct 2013 at 3:34

GoogleCodeExporter commented 9 years ago
I will do, anyway is possible to request some loading page progress animation? 
sometimes you do not know if is white (empty) page or just loading (white) page.

Original comment by ata...@gmail.com on 30 Oct 2013 at 3:47

GoogleCodeExporter commented 9 years ago
Maybe in future, but now i'm moving to support only android 2.2+, so for old 
devices i will fix only critical and perfomance issues. Or if Android 2.2 or if 
only it's bitmap part will be ported to NST new version would work on it.

Original comment by mikhael.bogdanov on 30 Oct 2013 at 5:37

GoogleCodeExporter commented 9 years ago
There are rumours that new NST also based on andoid 2.1 (not 2.3). Whatever, 
without SD card slot on new NST it is impossible to root it at all. Sorry for 
offtopic.

Original comment by ata...@gmail.com on 30 Oct 2013 at 5:51

GoogleCodeExporter commented 9 years ago
What do you mean is it possible to run android 2.2 application on rooted nst?

Original comment by mikhael.bogdanov on 31 Oct 2013 at 3:57

GoogleCodeExporter commented 9 years ago
Нет, я так понял что вы переходите на 2.2 
потому что новый nook glowlight 2 (по слухам) 
работает на 2.3. наверное не так понял.

еще: не работает настройки тап повернуть 90 
или 270 градусов. настроил легкий тап чтоб 
повернуть 90, но неработает. еще жаль, что 
нет тап настройки для выхода из програмы. 
но наверное надо сделать новый запрос.

Original comment by ata...@gmail.com on 31 Oct 2013 at 4:20

GoogleCodeExporter commented 9 years ago
Про glowlight 2 я и не знал. На самом деле могло 
бы работать и на 2.1, но там нет нативных 
битмепов (bitmap.h и все что с ним связано)...

Original comment by mikhael.bogdanov on 31 Oct 2013 at 5:25

GoogleCodeExporter commented 9 years ago
удалось понизить поддерживаемую версию до 
2.1, в последней версии появилось то, о чем вы 
просили в последнем комментарии

Original comment by mikhael.bogdanov on 2 Nov 2013 at 5:17

GoogleCodeExporter commented 9 years ago
спасибо! уже испробовал. все работает, 
только 270 настройка поворачивает на 90 
градусов (наверное -270 здесь).

Original comment by ata...@gmail.com on 2 Nov 2013 at 5:43

GoogleCodeExporter commented 9 years ago
На нуке нет инвертированного ландшафтного 
режима, он в более поздних андроидах 
появился

Original comment by mikhael.bogdanov on 2 Nov 2013 at 6:21