8000 GitHub - Arbor78/orion-mod: Personal test field on tweaking Orion Viewer (mainly for Nook Simple Touch)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Arbor78/orion-mod

8000
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orion-mod

Personal test field on tweaking Orion Viewer (mainly for Nook Simple Touch)

This project is a tweak on the Orion Viewer by Michael Bogdanov:

http://code.google.com/p/orion-viewer/

Currently it is based on Orion-viewer 0.38.5

Current tweaks

Notes

  • Make sure the page settings(zoom etc) are reset to default and the screen is in portrait mode before you start the reflow. Possibly landscape mode will be support in the future.

  • The reflow will destory part of orion-viewer's functionality:

    • FIXED: Text selection: Orion Viewer will auto-matically draw the next page when the last patch of bitmap is reached and thus, it will override the current bitmap and the last part cannot make words selection. This is rather strange behavior as k2pdfopt uses one single "Masterinfo" to collect the data, which should be modified in the future.

      This issue is fixed by adding a native LRU cache based on pages intead of bitmaps. It seems to work

Build and Usage

  • User can download prebuilt version from release directory. In order to use OCR for words selection in reflow mode, please download the tesseract-eng-chn.tar.gz, unpack it and copy the tesseract directory to /sdcard/data/

  • Build the mupdf library cd mupdf-1.1-source/android ndk-build

  • copy libmupdf.so lto orion-viewer/orion_viewer/libs/armeabi/

  • In orion-viewer/orion_viewer, configure your sdk_dir and run ant debug

Screenshots

Reflow:

Chinese reflow over scanned PDF

Before Reflow
After Reflow

English reflow over text PDF

Before Reflow

After Reflow

OCR Words Extraction

Scanned PDF

Scanned PDF OCR Words

About

Personal test field on tweaking Orion Viewer (mainly for Nook Simple Touch)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 79.2%
  • Java 18.0%
  • Objective-C 1.5%
  • Makefile 0.6%
  • Roff 0.2%
  • Batchfile 0.2%
  • Other 0.3%
0