Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OCR
#6
Almost every other time I run the OCR, I get this error. If I back out and restart, it sometimes will work, sometimes not.

any ideas?
(running latest version of QM on Windows XP

Error (RT) in OCR-MLS-Trigger: 0xC6C81091,
OCR running error


Code:
Copy      Help
POINT+ OCRpos; xm(OCRpos)
CaptureRect5 OCRpos.x OCRpos.y-100 100 100

str img="$common documents$\My QM Share\clipboard.bmp" ;;this is an image containing text


typelib MODI {A5EDEDF4-2BBC-45F3-822B-E60C278A1A79} 11.0
MODI.Document doc._create

doc.Create(img.expandpath)
doc.OCR(MODI.miLANG_ENGLISH -1 0)

MODI.Image im=doc.Images.Item(0)
str s=im.Layout.Text
act win("Display" "#32770" "" 1);err
'1
out s ;;and this is the text
;str mls.format("There is a midline shift of %s" s)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)