Comments (4)
This should be possible:
- render canvas to image and send image to OCR
- use the response to modify the canvas (e.g. dim everything, and brighten recognized words)
- render this modified canvas to image, and use that for the page backgrounds
from chaya.
Would be good to include bounding boxes for each line, in the line's attrs
. This will also help if we want tight bounding boxes for lines/regions later.
from chaya.
Done:
![image](https://private-user-images.githubusercontent.com/767530/331810216-af678b34-d483-44fd-bf5e-e127bee77ef9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyMzgzNzgsIm5iZiI6MTcyNDIzODA3OCwicGF0aCI6Ii83Njc1MzAvMzMxODEwMjE2LWFmNjc4YjM0LWQ0ODMtNDRmZC1iZjVlLWUxMjdiZWU3N2VmOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMVQxMTAxMThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05Y2JiNjEyYTA0NWQxZDNiNTVjNDI1Mzg4MTdkNWUyMWQyZTI1OWNkOGEzMDdmM2QwYjcwOTIzMDMwMDczNzhhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.IwNB354-teGiIlX_1Gqf5sanlRzOlmhvwCrIKByvFqo)
in 25d8516.
from chaya.
Made the boxes slightly wider in 177f878.
from chaya.
Related Issues (20)
- Custom image size and text (font) size HOT 3
- Joining lines into regions (chunks) HOT 8
- Two-column mode / OCR on manually specified regions HOT 4
- Move save button into PM menu HOT 2
- Image view options HOT 4
- Manually incorporate prosemirror-example-setup HOT 1
- Mark for non-breaking hyphen
- Warn on closing tab when there are unsaved changes
- Chunk types (paragraph, verse, footnote, …) HOT 2
- Release versions HOT 2
- Ungroup button HOT 1
- Auto-detect chunks HOT 4
- Break apart lines HOT 3
- Button to delete chunk
- Reconsider highlighting of OCR-recognized words HOT 1
- More prominent warning when creating a new file HOT 1
- Export to other formats
- Giving names (labels) to chunks
- Transliteration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chaya.