Skip to content

export highlighted rect in scanned page to Evernote#579

Merged
houqp merged 12 commits into
koreader:masterfrom
chrox:master
May 15, 2014
Merged

export highlighted rect in scanned page to Evernote#579
houqp merged 12 commits into
koreader:masterfrom
chrox:master

Conversation

@chrox

@chrox chrox commented May 15, 2014

Copy link
Copy Markdown
Member

And the highlighted text in scanned page is totally searchable after exported to Evernote.

screenshot from 2014-05-15 16 58 36

chrox added 7 commits May 15, 2014 16:11
I don't know if it's a bug in luajit but on an x86_64 CPU:
```lua
> = ffi.cast("uint32_t", 0xFFFFFFFFE) + 0
4294967294LL
```
while on an ARM CPU:
```lua
> = ffi.cast("uint32_t", 0xFFFFFFFFE) + 0
4294967295LL
```
so that booknotes will still be exported after switching user account
@chrox

chrox commented May 15, 2014

Copy link
Copy Markdown
Member Author

I don't know if it's a bug in luajit but on an x86_64 CPU:

> = ffi.cast("uint32_t", 0xFFFFFFFFE) + 0
4294967294LL

while on the Kindle ARM CPU:

> = ffi.cast("uint32_t", 0xFFFFFFFFE) + 0
4294967295LL

@Markismus

Copy link
Copy Markdown
Member

Did koreader make the scanned text searchable or evernote?

@chrox

chrox commented May 15, 2014

Copy link
Copy Markdown
Member Author

Of course the OCR is taking place in Evernote cloud. And I found the accuracy is far better than tesseract especially for Chinese.

@Markismus

Copy link
Copy Markdown
Member

Nice. I'll look into it as an alternative for Fraktur OCR.

houqp added a commit that referenced this pull request May 15, 2014
export highlighted rect in scanned page to Evernote
@houqp houqp merged commit 295d040 into koreader:master May 15, 2014
@houqp

houqp commented May 15, 2014

Copy link
Copy Markdown
Member

also, this is a really cool hack :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants