Recent

Author Topic: Tesseract for ocr  (Read 2137 times)

Packs

  • Sr. Member
  • ****
  • Posts: 476
Tesseract for ocr
« on: February 07, 2025, 01:05:14 pm »

rvk

  • Hero Member
  • *****
  • Posts: 6683
Re: Tesseract for ocr
« Reply #1 on: February 07, 2025, 02:26:31 pm »
it is not working for me .
You can do better than that, can't you?

It works here...

Packs

  • Sr. Member
  • ****
  • Posts: 476
Re: Tesseract for ocr
« Reply #2 on: February 07, 2025, 04:17:43 pm »
BigPino67/Tesseract-MICR-OCR

anyone is tried this in lazarus.

or anyone can help me how to use it in lazarus

cdbc

  • Hero Member
  • *****
  • Posts: 1930
    • http://www.cdbc.dk
Re: Tesseract for ocr
« Reply #3 on: February 07, 2025, 04:57:38 pm »
Sorry mate, It's NOT my job, to study for you!!!
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

Packs

  • Sr. Member
  • ****
  • Posts: 476
Re: Tesseract for ocr
« Reply #4 on: February 07, 2025, 05:50:12 pm »
Dear Friend,

@cdbc I have not asked specifically to you .

somebody is written TTesseract ocr I need for micr line .

I have done same thing in python but I want in freepascal.

it is just request my friend .

Bart

  • Hero Member
  • *****
  • Posts: 5531
    • Bart en Mariska's Webstek
Re: Tesseract for ocr
« Reply #5 on: February 07, 2025, 06:01:48 pm »
it is not working for me .

Please define "is not working for me".
What happens (compilation error, exception @runtime etc)?
What did you expect to happen?
Which version of Lazarus are you using, which version of the compiler?

Without such information, I don't see how anyone could be of assistence here.

Bart

Packs

  • Sr. Member
  • ****
  • Posts: 476
Re: Tesseract for ocr
« Reply #6 on: February 07, 2025, 06:14:05 pm »
I want to read cheque micr line

Packs

  • Sr. Member
  • ****
  • Posts: 476
Re: Tesseract for ocr
« Reply #7 on: February 07, 2025, 06:15:59 pm »
I. Want to read cheque micr line from Lazarus.

I have used BigPino67/Tesseract-MICR-OCR sample data

In python it is working.

Same I want in Lazarus. If anyone tried please help me

MarkMLl

  • Hero Member
  • *****
  • Posts: 8306
Re: Tesseract for ocr
« Reply #8 on: February 07, 2025, 06:17:16 pm »
I want to read cheque micr line

You've said that, but you've not said what you've tried and what happened.

Do you mean MICR or OCR?

I assume that the older https://forum.lazarus.freepascal.org/index.php/topic,70131.msg546290.html#msg546290 is a duplicate so I suggest you delete it. The more noise- one-line postings that read ambiguously- you create the less help you're likely to get/

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Packs

  • Sr. Member
  • ****
  • Posts: 476
Re: Tesseract for ocr
« Reply #9 on: February 07, 2025, 06:31:36 pm »
Micr

TRon

  • Hero Member
  • *****
  • Posts: 4133
Re: Tesseract for ocr
« Reply #10 on: February 07, 2025, 06:43:23 pm »
Do you mean MICR or OCR?
He does mean the MICR. It seems to a special font used in the canadian banking system which is used for banking cheques.

But even that seem to be too much to mention and I/we have to waste time on figuring that out. Remember that OP's time is much more precious then yours or mine. As always with this kind of incentive I'm already done for the day, over and out  :)
Today is tomorrow's yesterday.

rvk

  • Hero Member
  • *****
  • Posts: 6683
Re: Tesseract for ocr
« Reply #11 on: February 07, 2025, 06:46:56 pm »
BigPino67/Tesseract-MICR-OCR is just trainingsdata.
So use the normal examples for tesseract and use those trainingsdata to initialize.

And no, I don't have the normal examples at hand, and I don't have time to search here on the forum or www.

cdbc

  • Hero Member
  • *****
  • Posts: 1930
    • http://www.cdbc.dk
Re: Tesseract for ocr
« Reply #12 on: February 07, 2025, 07:16:05 pm »
Hi
@Tron:
Quote
But even that seem to be too much to mention and I/we have to waste time on figuring that out.
Exactly what I meant, with my remark above!
Thanks mate, for putting it in so clear text, that he might just understand it....
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

Packs

  • Sr. Member
  • ****
  • Posts: 476
Re: Tesseract for ocr
« Reply #13 on: February 07, 2025, 07:38:16 pm »
Dear friend,

Don't take it personally.

I just ask for help . If you help me I am always greatful 🙏

If you guide me I am greatful 🙏.

I don't want to waste your time.

rvk

  • Hero Member
  • *****
  • Posts: 6683
Re: Tesseract for ocr
« Reply #14 on: February 07, 2025, 07:42:38 pm »
If you guide me I am greatful 🙏.
Sure... You can start here
https://forum.lazarus.freepascal.org/index.php/topic,53651.msg397148.html

(Beginning at the second line of the first post)

 

TinyPortal © 2005-2018