Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: OCR2

by ambrus (Abbot)
on Aug 06, 2004 at 14:19 UTC ( [id://380558]=note: print w/replies, xml ) Need Help??


in reply to OCR2

At first this did not work for me, it only gave 4 warnings but no output. Than I've removed the c-m line endings and suddenly it worked. (v5.8.2 built for i686-linux)

Update:
It seems that you are using a perfect hash function into 16 buckets for recognizing the characters. Very smart.

Replies are listed 'Best First'.
Re^2: OCR2
by Anonymous Monk on Aug 06, 2004 at 14:44 UTC
    Yes, ambrus, in regards to your hidden update, you are correct, but I must give credit to my friend Ton for that. This was one of the first golfs I attempted, and I've been hooked ever since. At the time I really didn't know what I was doing, but Ton's solution is one of the more elegant. You can see several other algorithms at terje's minigolf.
Re^2: OCR2
by o0lit3 (Friar) on Aug 06, 2004 at 14:52 UTC
    Update: Apologies for the above node being posted anonymously as I was not yet logged in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://380558]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-25 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found