Live data from Hacker News

Rolling your own serverless OCR in 40 lines of code

christopherkrapu.com

31–40 of 69 posts

Re: Rolling your own serverless OCR in 40 lines of code

#31
post #29

Not sure what “your own” in the title is supposed to mean if you are running a model that you didn’t train using a framework that you didn’t write on a server that you don’t own.

I originally tried to do this on my own server but my GPU is too old :(

Re: Rolling your own serverless OCR in 40 lines of code

#33
post #31
post #29

Not sure what “your own” in the title is supposed to mean if you are running a model that you didn’t train using a framework that you didn’t write on a server that you don’t own.

I originally tried to do this on my own server but my GPU is too old :(

Slammed an A380 in my old server that doesn't even have a GPU power connector & it works pretty well for stuff that will fit on it. They're only like, $150 brand new nowadays; could be a decent option.

Re: Rolling your own serverless OCR in 40 lines of code

#35

Earlier quoted context omitted.

Thanks for noting this - for a moment I was excited.

When people mentions the number of lines of code, I've started to become suspicious. More often than not it's X number of lines, calling a massive library loading a large model, either locally or remote. We're just waiting for spinning up your entire company infrastructure in two lines of code, and then just being presented a Terraform shell script wrapper. I do agree with the use of serverless though. I feel like we…

>implement RSA with this one simple line of python!

Re: Rolling your own serverless OCR in 40 lines of code

#36
post #3

Wouldn't "Serverless OCR" mean something like running tesseract locally on your computer, rather than creating an AI framework and running it on a server?

Serverless means spinning compute resources up on demand in the cloud vs. running a server permanently.

> Serverless means spinning compute resources up on demand in the cloud vs. running a server permanently.

Not quite. Serverless means you can run a server permanently, but you need pay someone else to manage the infrastructure for you.

Re: Rolling your own serverless OCR in 40 lines of code

#37

Earlier quoted context omitted.

Thanks for noting this - for a moment I was excited.

When people mentions the number of lines of code, I've started to become suspicious. More often than not it's X number of lines, calling a massive library loading a large model, either locally or remote. We're just waiting for spinning up your entire company infrastructure in two lines of code, and then just being presented a Terraform shell script wrapper. I do agree with the use of serverless though. I feel like we…

> When people mentions the number of lines of code, I've started to become suspicious.

Low LoC count is a telltale sign that the project adds little to no value. It's a claim that the project integrates third party services and/or modules, and does a little plumbing to tie things together.

Re: Rolling your own serverless OCR in 40 lines of code

#39
post #20

Wouldn't "Serverless OCR" mean something like running tesseract locally on your computer, rather than creating an AI framework and running it on a server?

Running it locally would typically be called “client(-)side”. But this caught me for a bit as well. :-)

That's the beauty of such stupid terms.

I use carless transportation (taxis).

Post reply on HN