Author Topic: Regarding OCR  (Read 1798 times)

0 Members and 1 Guest are viewing this topic.

Offline KhameleonTopic starter

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Regarding OCR
« on: November 10, 2009, 03:56:57 PM »
0
Could Anyone give a little assistance on how to use OCR?
most of the subs are premade for certain gumps... I'm trying to read the Percentage number in the bottem right corner of the Imbuing page.

in these two subs.. X Y preety strait forward.. what is the 0 C and T? e?
this has got me scratching my head for ours..

; call kalocr.txt getChar <x> <y> <o> <c> <t>
; call kalocr.txt getText <x> <y> <o> <c> <t> <e>

Offline Scotch_Tape

  • Jr. Member
  • **
  • Posts: 55
  • Activity:
    0%
  • Reputation Power: 1
  • Scotch_Tape has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Regarding OCR
« Reply #1 on: November 11, 2009, 05:19:37 PM »
0
Quote
<o> = text | number (see info about "problem with O")

Here is what that is all about...


Quote
problem with 'O': this OCR script "reads" characters displayed using a very specific and very common UO font by recognizing the shape of each character. the problem with 'O' is that both 'O' and ZERO have the same shape and as such it is impossible for this script to tell them apart. you can specify "text" or "number" to control how 'O' is returned by some of the routines (useful if you know your scanning text without numbers or text with only numbers).

if you want it to read numbers set it to zero, if just letters set it to o.


Tags: