TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

OCR at Edge on Cloudflare Constellation

80 pointsby _bhrzalmost 2 years ago

11 comments

DarthNeboalmost 2 years ago
I did my share of OCR funny business by running the Firebase OCR SDK inside an android app acting as a webserver, through nested virtualization back in 2018. Nothing at that time beat it's accuracy & throughput for something which ran offline once the weights were fetched into the container.
bencevansalmost 2 years ago
Looking forward to GPU support for workers. Cloudflare announced they were working on it in 2021 [1], but it doesn&#x27;t seem generally available yet; they still have a signup page for notification [2].<p>I know other companies have struggled with demand, so maybe they&#x27;re doing it on an invite basis.<p>[1]: <a href="https:&#x2F;&#x2F;blog.cloudflare.com&#x2F;workers-ai&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;blog.cloudflare.com&#x2F;workers-ai&#x2F;</a> [2]: <a href="https:&#x2F;&#x2F;www.cloudflare.com&#x2F;nvidia-workers&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.cloudflare.com&#x2F;nvidia-workers&#x2F;</a>
评论 #36572356 未加载
评论 #36575324 未加载
评论 #36573003 未加载
tmikaeldalmost 2 years ago
I don&#x27;t get it, how is this useful?<p>- Takes 1.5 seconds to run, so there goes the &quot;edge&quot; benefit.<p>- And if it takes that long, it would cost more than having it running on a proper instance&#x2F;vps.
评论 #36572405 未加载
piotrrojekalmost 2 years ago
What&#x27;s the best for OCR currently that I could deploy for myself? Like time I tried Tesseract 5 I wasn&#x27;t too impressed.
评论 #36575222 未加载
评论 #36572654 未加载
评论 #36572638 未加载
DeathArrowalmost 2 years ago
Why are Cloudflare Workers limited to languages that compile to Wasm? Can&#x27;t they use a container of some sort to isolate the code? Many languages can be compiled to Wasm but many times is quirky.
评论 #36572496 未加载
评论 #36572565 未加载
评论 #36572503 未加载
jamil7almost 2 years ago
The &quot;Why Edge Compute?&quot; section compares running OCR on a Cloudflare Worker against on-device but the first two advantages also apply to running on-device (low latency and low cost). Is this a mistake in the article or do I not understand correctly?
评论 #36573878 未加载
sligalmost 2 years ago
The beta link is broken: <a href="https:&#x2F;&#x2F;www.cloudflare.com&#x2F;constellation&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.cloudflare.com&#x2F;constellation&#x2F;</a>
评论 #36572386 未加载
jgalt212almost 2 years ago
I use the word Edge and Microservice in my head interchangeably. If something does not make sense for a microservice, then it does not make sense for the Edge.
ushakovalmost 2 years ago
Isn&#x27;t constellation just relaying the inference job from the worker to a more powerful machine?
评论 #36572317 未加载
AndrewKemendoalmost 2 years ago
Is there a reason you didn&#x27;t include any non-alphanumeric characters in your dictionary?
facu17yalmost 2 years ago
you can do it for free with tesseract.js