You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently experimented with adding OCR to Manifests using tesseract.js and then indexing the text in a SQLite database in a service worker, which then serves an "enhanced" version of the manifest to the viewer:
The neat thing about such a worker, and why I think it might be a good fit for iiif-commons, is that it's completely independent from any viewer app, since it's only exposed to the client via regular HTTP and standard IIIF APIs (except for some optional messages that could be sent to the worker, like for indexing newly created annotations).
I'm working on a prototype implementation for the search use case and would love to get some feedback as to which direction this could take.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've recently experimented with adding OCR to Manifests using tesseract.js and then indexing the text in a SQLite database in a service worker, which then serves an "enhanced" version of the manifest to the viewer:
reenc.mp4
https://twitter.com/jbaiter_/status/1686452012009799690
This got me thinking: What if we were to create a general-purpose IIIF Service Worker, that enriches IIIF Resources on the client?
Here are some things that could be possible:
rendering
s that get generated on the fly in the service worker with https://github.com/jbaiter/pdiiifThe neat thing about such a worker, and why I think it might be a good fit for iiif-commons, is that it's completely independent from any viewer app, since it's only exposed to the client via regular HTTP and standard IIIF APIs (except for some optional messages that could be sent to the worker, like for indexing newly created annotations).
I'm working on a prototype implementation for the search use case and would love to get some feedback as to which direction this could take.
Beta Was this translation helpful? Give feedback.
All reactions