Re: [fpc-pascal] Reading text from images

2006-12-13 Thread Adrian Maier
On 12/9/06, Darius Blaszijk [EMAIL PROTECTED] wrote: This technique is called OCR. No idea if there is a pascal implementation, but it should not be too hard to make one. It's based on neural networks that learn to recognize any character from any font. Hi, There is little use in reinventing

Re: [fpc-pascal] Reading text from images

2006-12-13 Thread Marco van de Voort
On 12/9/06, Darius Blaszijk [EMAIL PROTECTED] wrote: This technique is called OCR. No idea if there is a pascal implementation, but it should not be too hard to make one. It's based on neural networks that learn to recognize any character from any font. Hi, There is little use in

Re: [fpc-pascal] Reading text from images

2006-12-13 Thread Antal
That's why I'm asking. Also, I tried to find documentation on reading/writing PDF with FPC, but on the site I've got two links, one of them broken. Basically for me it would be important to read from PDF or JPEG, so the format is not that important, but I have to generate some platform

Re: [fpc-pascal] Reading text from images

2006-12-13 Thread Adrian Maier
On 12/13/06, Marco van de Voort [EMAIL PROTECTED] wrote: On 12/9/06, Darius Blaszijk [EMAIL PROTECTED] wrote: This technique is called OCR. No idea if there is a pascal implementation, but it should not be too hard to make one. It's based on neural networks that learn to recognize any

[fpc-pascal] fpcdoc gives a lot of warnings

2006-12-13 Thread Vincent Snijders
Hi, If I use thhe fpc 2.1.1 version of fpdoc on the rtl documentation files, I get a lot of warnings like: Writing 7520 pages... [no context] Invalid description (illegal XML element: #text) [no context] Invalid description (illegal XML element: #text) [no context] Invalid description

Re: [fpc-pascal] fpcdoc gives a lot of warnings

2006-12-13 Thread Graeme Geldenhuys
I'm experiencing the same thing in fpGUI, but thought it was because we did a lot of refactoring so the .xml and .pas units are out of sync. I never investigated it further. Graeme. On 12/13/06, Vincent Snijders [EMAIL PROTECTED] wrote: Hi, If I use thhe fpc 2.1.1 version of fpdoc on the

Re[2]: [fpc-pascal] Reading text from images

2006-12-13 Thread Пётр Косаревский
1. As far as I know, there are no free pascal (or Freepascal) libraries working with PDF consistently. However, open-source xPDF and Ghostscript (C/C++) do process PDF files (with some glitches, though). Full PDF reference is available from Adobe, 1.7 (Acrobat 8) included. There are some

Re: [fpc-pascal] fpcdoc gives a lot of warnings

2006-12-13 Thread Michael Van Canneyt
On Wed, 13 Dec 2006, Vincent Snijders wrote: Hi, If I use thhe fpc 2.1.1 version of fpdoc on the rtl documentation files, I get a lot of warnings like: Writing 7520 pages... [no context] Invalid description (illegal XML element: #text) [no context] Invalid description (illegal XML

Re: [fpc-pascal] Implementing a true Singleton - Can we decrease the visibility of a method?

2006-12-13 Thread Marc Santhoff
Am Montag, den 11.12.2006, 09:38 +0200 schrieb Graeme Geldenhuys: On 12/8/06, Marc Santhoff [EMAIL PROTECTED] wrote: One working solution is to use a global var. This is bad but acceptable for a singleton imo. If would be nice if the variable could be hidden. This is kinda what I have

Re: [fpc-pascal] Implementing a true Singleton - Can we decrease the visibility of a method?

2006-12-13 Thread Steve Williams
Marc Santhoff wrote: constructor TSingleton.create; begin if not(assigned(s)) then begin inherited; (*... do initializations ...*) s := self; writeln('creating new singleton'); end else begin