Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #59107 > unrolled thread
| Started by | Java Jive <java@evij.com.invalid> |
|---|---|
| First post | 2019-10-05 16:59 +0100 |
| Last post | 2019-10-08 15:20 -0400 |
| Articles | 20 on this page of 74 — 17 participants |
Back to article view | Back to alt.os.linux
Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-05 16:59 +0100
Re: Hand-Writing Recognition Software "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-05 13:49 -0500
Re: Hand-Writing Recognition Software Wildman <best_lay@yahoo.com> - 2019-10-06 01:14 -0500
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 13:43 +0100
Re: Hand-Writing Recognition Software Paul <nospam@needed.invalid> - 2019-10-06 13:41 -0400
Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-07 19:59 +0100
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-08 19:41 +0100
Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-08 20:13 +0100
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-10 16:21 +0100
Re: Hand-Writing Recognition Software William Unruh <unruh@invalid.ca> - 2019-10-10 19:04 +0000
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-10 21:44 +0100
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-12 13:33 +0100
Hand-Writing Recognition (now stitching) Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-12 17:18 +0100
Re: Hand-Writing Recognition (now stitching) Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-12 19:23 +0200
Re: Hand-Writing Recognition (now stitching) Software Java Jive <java@evij.com.invalid> - 2019-10-12 18:25 +0100
Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-12 16:10 +0200
Re: Hand-Writing Recognition Software William Unruh <unruh@invalid.ca> - 2019-10-13 14:34 +0000
Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-12 15:31 +0200
Re: Hand-Writing Recognition Software Big Al <Big_Al@invalid.com> - 2019-10-05 17:10 -0400
Re: Hand-Writing Recognition Software "Carlos E. R." <robin_listas@es.invalid> - 2019-10-06 00:05 +0200
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 13:50 +0100
Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-06 15:04 +0200
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 16:06 +0100
Re: Hand-Writing Recognition Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-06 19:23 +0100
Re: Hand-Writing Recognition Software F Russell <fr@random.info> - 2019-10-06 19:51 +0000
Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-06 23:21 +0200
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 23:25 +0100
Re: Hand-Writing Recognition Software "David E. Ross" <nobody@nowhere.invalid> - 2019-10-05 17:05 -0700
Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-06 14:50 +0200
Re: Hand-Writing Recognition Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-06 01:22 +0100
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 13:59 +0100
Re: Hand-Writing Recognition Software F Russell <fr@random.info> - 2019-10-06 00:55 +0000
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 13:17 +0100
Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-06 15:01 +0200
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 17:06 +0100
Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-06 22:44 +0200
Re: Hand-Writing Recognition Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-07 00:36 +0100
Re: Hand-Writing Recognition Software Paul <nospam@needed.invalid> - 2019-10-06 21:00 -0400
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 11:47 +0100
Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-07 20:13 +0100
Re: Hand-Writing Recognition Software F Russell <fr@random.info> - 2019-10-06 13:45 +0000
Re: Hand-Writing Recognition Software Tin Man <tinman3192891steele@yahoo.com> - 2019-10-06 10:13 -0400
Re: Hand-Writing Recognition Software William Unruh <unruh@invalid.ca> - 2019-10-06 15:04 +0000
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 17:36 +0100
Re: Hand-Writing Recognition Software F Russell <fr@random.info> - 2019-10-06 17:48 +0000
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 00:02 +0100
Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-07 20:21 +0100
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-08 12:54 +0100
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-08 13:05 +0100
Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-08 20:06 +0100
Re: Hand-Writing Recognition Software William Unruh <unruh@invalid.ca> - 2019-10-06 15:01 +0000
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-06 16:23 +0100
Re: Hand-Writing Recognition Software William Unruh <unruh@invalid.ca> - 2019-10-06 18:12 +0000
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 00:03 +0100
Re: Hand-Writing Recognition Software "NY" <me@privacy.invalid> - 2019-10-07 20:07 +0100
Re: Hand-Writing Recognition Software pyotr filipivich <phamp@mindspring.com> - 2019-10-06 08:05 -0700
Re: Hand-Writing Recognition Software "Mayayana" <mayayana@invalid.nospam> - 2019-10-06 13:15 -0400
Re: Hand-Writing Recognition Software Ken Hart <kwhart1@frontier.com> - 2019-10-06 20:28 -0400
Re: Hand-Writing Recognition Software Paul <nospam@needed.invalid> - 2019-10-06 21:46 -0400
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 12:22 +0100
Re: Hand-Writing Recognition Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-07 12:39 +0100
Re: Hand-Writing Recognition Software Paul <nospam@needed.invalid> - 2019-10-07 09:03 -0400
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 16:40 +0100
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 18:19 +0100
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 18:50 +0100
Re: Hand-Writing Recognition Software Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-07 20:34 +0200
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-08 12:05 +0100
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 17:27 +0100
Re: Hand-Writing Recognition Software "J. P. Gilliver (John)" <G6JPG@255soft.uk> - 2019-10-08 04:43 +0100
Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-07 13:43 +0200
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-07 16:49 +0100
Re: Hand-Writing Recognition Software "Carlos E.R." <robin_listas@es.invalid> - 2019-10-12 15:02 +0200
Re: Hand-Writing Recognition Software Java Jive <java@evij.com.invalid> - 2019-10-08 15:43 +0100
Re: Hand-Writing Recognition Software Paul <nospam@needed.invalid> - 2019-10-08 15:20 -0400
Page 3 of 4 — ← Prev page 1 2 [3] 4 Next page →
| From | F Russell <fr@random.info> |
|---|---|
| Date | 2019-10-06 13:45 +0000 |
| Message-ID | <qncr670uru@news3.newsguy.com> |
| In reply to | #59130 |
On Sun, 06 Oct 2019 13:17:45 +0100, Java Jive wrote: > > The scanner I'm actually using is a fairly old HP C9850A; > You are in luck. The GNU/Linux scanning software SANE supports the HP 5490C (which is the C9850A). The following driver is included with SANE: https://sourceforge.net/projects/hp5400backend/files/hp5400-backend/beta_1_20030526 This is BETA software but it may do the basic job that you need. Furthermore, with SANE, the scanning process can be scripted (automated). You could also check eBay for cheap, used scanners that are supported by SANE and then hack them according to the article. The SANE support matrix is here: http://www.sane-project.org/sane-mfgs.html > > The big problems with items too big to scan in one go are: > > Bezel Scanner Glass Bezel > =====\ /===== > \================/ > > This means the stuff at the edge tends to be stretched and distorted, > making it difficult to marry up with adjoining images. > This is very easily fixed. The image is simply cropped to remove the edges and keep the flat central portion. The overlaps would need to be correspondingly greater but that's no problem. In fact, with SANE, the process can be automated: scanimage [parameters] | pamcut -cropright X -cropleft Y -croptop Z -cropbottom W | pamtotiff > image.tif The output from SANE scanimage is a PNM file which is then piped to pamcut, from the netpbm package, which removes the edges and outputs and converts to TIFF format for further processing. > > Automatic exposure can make different sections of the same document > look very different > This can also be corrected, although perhaps not as easily. The "exposure" can be defined exactly through GAMMA curves in SANE. An optimal setting may have to be determined through some initial test scans. Also, automated post-processing can be extremely effective. Here is just one example: http://www.fmwconcepts.com/imagemagick/textcleaner/index.php There are many other possibilities for post-processing but I would need to see an actual example of the material to make recommendations. > > Although nominally the same, the vertical and horizontal > resolutions are actually slightly different, > I don't understand. A scanner will scan in strips (lines) and the resolution (dpi) is the same in spite of direction. > > There is no easy way to align the different sections of scan. > You need to establish a reference for each document before scanning. It doesn't matter how it's done as long as it is consistent across the entire document. Since you are viewing the backs during scanning, perhaps you can draw lines or other marks on the back of each document. These marks don't need to be permanent and could be done with a special tape that is only loosely bound. A carpenters square or other alignment tools can also help if you are marking the documents. You can also try deskewing: https://github.com/Flameeyes/unpaper But deskewing can be very tedious when applied to type of scanning that you are doing. Finally, good software is essential and GNU/Linux has a great deal of professional image processing tools. For stitching, the panotools is the basis for everything else on GNU/Linux: http://panotools.sourceforge.net If you can establish a reliable scanning protocol, much or even most of the process can be fully automated with command-line tools, and this could save much time and labor. To me, this is a very challenging project. Certainly there is professional equipment available at very high cost which would be used by institutions. But the challenge is to do a professional job using the inexpensive tools available with GNU/Linux.
[toc] | [prev] | [next] | [standalone]
| From | Tin Man <tinman3192891steele@yahoo.com> |
|---|---|
| Date | 2019-10-06 10:13 -0400 |
| Message-ID | <jgtjpe181alnvjj51k499h38c1ghttcodv@4ax.com> |
| In reply to | #59140 |
On 6 Oct 2019 13:45:43 GMT, F Russell <fr@random.info> wrote: >On Sun, 06 Oct 2019 13:17:45 +0100, Java Jive wrote: > >> >> The scanner I'm actually using is a fairly old HP C9850A; >> > >You are in luck. The GNU/Linux scanning software SANE supports >the HP 5490C (which is the C9850A). The following driver is >included with SANE: > >https://sourceforge.net/projects/hp5400backend/files/hp5400-backend/beta_1_20030526 > >This is BETA software but it may do the basic job that you need. > >Furthermore, with SANE, the scanning process can be scripted (automated). > >You could also check eBay for cheap, used scanners that are supported >by SANE and then hack them according to the article. > >The SANE support matrix is here: > >http://www.sane-project.org/sane-mfgs.html Wow! The Linux driver is still in beta for a scanner that was released circa 2005. Go Linux!
[toc] | [prev] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2019-10-06 15:04 +0000 |
| Message-ID | <qncvqn$9it$2@dont-email.me> |
| In reply to | #59142 |
On 2019-10-06, Tin Man <tinman3192891steele@yahoo.com> wrote: > On 6 Oct 2019 13:45:43 GMT, F Russell <fr@random.info> wrote: > >>On Sun, 06 Oct 2019 13:17:45 +0100, Java Jive wrote: >> >>> >>> The scanner I'm actually using is a fairly old HP C9850A; >>> >> >>You are in luck. The GNU/Linux scanning software SANE supports >>the HP 5490C (which is the C9850A). The following driver is >>included with SANE: >> >>https://sourceforge.net/projects/hp5400backend/files/hp5400-backend/beta_1_20030526 >> >>This is BETA software but it may do the basic job that you need. >> >>Furthermore, with SANE, the scanning process can be scripted (automated). >> >>You could also check eBay for cheap, used scanners that are supported >>by SANE and then hack them according to the article. >> >>The SANE support matrix is here: >> >>http://www.sane-project.org/sane-mfgs.html > > > Wow! > The Linux driver is still in beta for a scanner that was released > circa 2005. > Go Linux! cdrecord, the cd writer software on linux is still in alpha and always has been, depite the release of something like a 100 versions. What people call something does not necessarily relate to what it is.
[toc] | [prev] | [next] | [standalone]
| From | Java Jive <java@evij.com.invalid> |
|---|---|
| Date | 2019-10-06 17:36 +0100 |
| Message-ID | <qnd562$6qf$1@gioia.aioe.org> |
| In reply to | #59140 |
On 06/10/2019 14:45, F Russell wrote: > > On Sun, 06 Oct 2019 13:17:45 +0100, Java Jive wrote: >> >> The scanner I'm actually using is a fairly old HP C9850A; > > You are in luck. The GNU/Linux scanning software SANE supports > the HP 5490C (which is the C9850A). The following driver is > included with SANE: > > https://sourceforge.net/projects/hp5400backend/files/hp5400-backend/beta_1_20030526 > > This is BETA software but it may do the basic job that you need. > > Furthermore, with SANE, the scanning process can be scripted (automated). > > You could also check eBay for cheap, used scanners that are supported > by SANE and then hack them according to the article. > > The SANE support matrix is here: > > http://www.sane-project.org/sane-mfgs.html Thanks, I'll bookmark that. >> The big problems with items too big to scan in one go are: >> >> Bezel Scanner Glass Bezel >> =====\ /===== >> \================/ >> >> This means the stuff at the edge tends to be stretched and distorted, >> making it difficult to marry up with adjoining images. > > This is very easily fixed. The image is simply cropped to remove the > edges and keep the flat central portion. The overlaps would need to > be correspondingly greater but that's no problem. Yes, that's exactly what I do. > In fact, with SANE, the process can be automated: > > scanimage [parameters] | pamcut -cropright X -cropleft Y -croptop Z -cropbottom W | pamtotiff > image.tif > > The output from SANE scanimage is a PNM file which is then piped to > pamcut, from the netpbm package, which removes the edges and outputs > and converts to TIFF format for further processing. > >> Automatic exposure can make different sections of the same document >> look very different > > This can also be corrected, although perhaps not as easily. > > The "exposure" can be defined exactly through GAMMA curves in SANE. > An optimal setting may have to be determined through some initial > test scans. > > Also, automated post-processing can be extremely effective. Here is > just one example: > > http://www.fmwconcepts.com/imagemagick/textcleaner/index.php > > There are many other possibilities for post-processing but I would > need to see an actual example of the material to make recommendations. www.macfh.co.uk/Temp/Will_Of_C_P_MacFarlane_-_Double_Probate.png >> Although nominally the same, the vertical and horizontal >> resolutions are actually slightly different, > > I don't understand. A scanner will scan in strips (lines) and > the resolution (dpi) is the same in spite of direction. I presume that the vertical distance it steps down the document is ever so slightly different from the horizontal resolution of the sensors across the scanning bar. >> There is no easy way to align the different sections of scan. > > You need to establish a reference for each document before > scanning. It doesn't matter how it's done as long as it > is consistent across the entire document. > > Since you are viewing the backs during scanning, perhaps you can > draw lines or other marks on the back of each document. These > marks don't need to be permanent and could be done with a special > tape that is only loosely bound. > > A carpenters square or other alignment tools, can also help > if you are marking the documents. I have a carpenters set square, but: :-( There is no reliable straight edge to measure from, because the carriage mechanism is not quite precisely aligned with the inner edges of the scanner glass aperture in the bezel - it strays a few pixels across by the time it reaches the bottom of the document, and the outer edges of the scanner are <sarcasm> streamlined for that impression of swish speed so you can scan at GTX speeds </sarcasm> - of course it's bollocks, a typical triumph of design over functionality that is the curse of modern life, in this case the curved edge of the scanner makes it well nigh impossible to measure from anything reliably. :-( The scanner glass is not illuminated until you start the scan, so you can't see the lines of text through the back, and therefore the only practical way to align them is to do trial scans until you get it right. > You can also try deskewing: > > https://github.com/Flameeyes/unpaper > > But deskewing can be very tedious when applied to type of > scanning that you are doing. Yes, that rather sounds like doing rotations of fractions of a degree within Paint Shop Pro, it can work, but it can also be very time-consuming. In my experience it's easier to get the scan aligned as well as possible in the first place. > Finally, good software is essential and GNU/Linux has a great > deal of professional image processing tools. > > For stitching, the panotools is the basis for everything > else on GNU/Linux: > > http://panotools.sourceforge.net > > If you can establish a reliable scanning protocol, much or > even most of the process can be fully automated with command-line > tools, and this could save much time and labor. > > To me, this is a very challenging project. Certainly there is > professional equipment available at very high cost which would > be used by institutions. But the challenge is to do a professional > job using the inexpensive tools available with GNU/Linux. Yes, challenging is not a description I would argue with! Thanks for your suggestions.
[toc] | [prev] | [next] | [standalone]
| From | F Russell <fr@random.info> |
|---|---|
| Date | 2019-10-06 17:48 +0000 |
| Message-ID | <qnd9cs01hl2@news3.newsguy.com> |
| In reply to | #59153 |
On Sun, 06 Oct 2019 17:36:16 +0100, Java Jive wrote: > > www.macfh.co.uk/Temp/Will_Of_C_P_MacFarlane_-_Double_Probate.png > The scan is not optimal. The histogram is heavily shifted to the "white" end. But I managed to improve things considerably through automated post-processing. Manual tweaking in an image editor would give the best results but, in your project, automation through scripting is probably desired. Your scan was first histogram normalized with pnmnorm (from the netpbm package) after converting the PNG to PNM: pamtopng Will.png | pnmnorm > will-normalized.pnm Then this normalized image was passed, without parameters, through the textcleaner script: textcleaner will-normalized.pnm will-cleaned.png The resulting image is posted here: http://s000.tinyupload.com/?file_id=13280754916408973062 (the result also contains the same gamma chunk of 0.4545) Both pnmnorm and textcleaner can be further tweaked using extra parameters and this may give even better results. But a bit of automated post-processing can give considerable improvement, and the stitching process can also be automated.
[toc] | [prev] | [next] | [standalone]
| From | Java Jive <java@evij.com.invalid> |
|---|---|
| Date | 2019-10-07 00:02 +0100 |
| Message-ID | <qndrq3$1g00$1@gioia.aioe.org> |
| In reply to | #59157 |
On 06/10/2019 18:48, F Russell wrote: > > On Sun, 06 Oct 2019 17:36:16 +0100, Java Jive wrote: >> >> www.macfh.co.uk/Temp/Will_Of_C_P_MacFarlane_-_Double_Probate.png >> > > The scan is not optimal. The histogram is heavily shifted to the > "white" end. > > But I managed to improve things considerably through automated > post-processing. Manual tweaking in an image editor would give > the best results but, in your project, automation through scripting > is probably desired. > > Your scan was first histogram normalized with pnmnorm (from the > netpbm package) after converting the PNG to PNM: > > pamtopng Will.png | pnmnorm > will-normalized.pnm > > Then this normalized image was passed, without parameters, through > the textcleaner script: > > textcleaner will-normalized.pnm will-cleaned.png > > The resulting image is posted here: > > http://s000.tinyupload.com/?file_id=13280754916408973062 Yes, that's certainly better, thank you. I think what I may do is finish the scanning first, and then start investigating things like this.
[toc] | [prev] | [next] | [standalone]
| From | "NY" <me@privacy.invalid> |
|---|---|
| Date | 2019-10-07 20:21 +0100 |
| Message-ID | <qng37q$e7p$1@dont-email.me> |
| In reply to | #59153 |
"Java Jive" <java@evij.com.invalid> wrote in message news:qnd562$6qf$1@gioia.aioe.org... > www.macfh.co.uk/Temp/Will_Of_C_P_MacFarlane_-_Double_Probate.png That is a wonderful document to find, and you've managed to get a legible scan from ink that looks as if it varies in darkness (I won't say blackness, because I imagine it's a sort of muddy brown!). And the handwriting is not as bad as I was expecting for 1810. Genealogists of the future will have it very easy, since all modern documents are typed or computer printed, so bad handwriting isn't an issue. Mind you, modern laser-printer paper doesn't last as long as vellum or old paper before it starts to crack and go yellow: I've found documents that I printed maybe 30 years ago which are starting to suffer "paper rot".
[toc] | [prev] | [next] | [standalone]
| From | Java Jive <java@evij.com.invalid> |
|---|---|
| Date | 2019-10-08 12:54 +0100 |
| Message-ID | <qnhtdf$1vpf$1@gioia.aioe.org> |
| In reply to | #59227 |
On 07/10/2019 20:21, NY wrote: > > "Java Jive" <java@evij.com.invalid> wrote in message > news:qnd562$6qf$1@gioia.aioe.org... >> >> www.macfh.co.uk/Temp/Will_Of_C_P_MacFarlane_-_Double_Probate.png > > That is a wonderful document to find, and you've managed to get a > legible scan from ink that looks as if it varies in darkness (I won't > say blackness, because I imagine it's a sort of muddy brown!). And the > handwriting is not as bad as I was expecting for 1810. What you're probably forgetting is that in those days they didn't have fountain pens - apparently the first patent for a fountain pen dates from 1827. Think back to writers such as Jane Austen and the dramatisations of them you've seen on TV, where quill pens are used. With this type of pen, it is inevitable that the density of the ink will be patchy - darker where the quill has just been dipped in the ink, becoming fainter over the following words until the writer deems it time to dip it again.
[toc] | [prev] | [next] | [standalone]
| From | Java Jive <java@evij.com.invalid> |
|---|---|
| Date | 2019-10-08 13:05 +0100 |
| Message-ID | <qnhu2p$3ag$1@gioia.aioe.org> |
| In reply to | #59246 |
On 08/10/2019 12:54, Java Jive wrote: > On 07/10/2019 20:21, NY wrote: >> >> "Java Jive" <java@evij.com.invalid> wrote in message >> news:qnd562$6qf$1@gioia.aioe.org... >>> >>> www.macfh.co.uk/Temp/Will_Of_C_P_MacFarlane_-_Double_Probate.png >> >> That is a wonderful document to find, and you've managed to get a >> legible scan from ink that looks as if it varies in darkness (I won't >> say blackness, because I imagine it's a sort of muddy brown!). And the >> handwriting is not as bad as I was expecting for 1810. > > What you're probably forgetting is that in those days they didn't have > fountain pens - apparently the first patent for a fountain pen dates > from 1827. Actually, looking further, this Wikipedia articles suggests that they go back *much* further than that, including similar inventions from the ancient Muslim world, a Leonardo da Vinci device, and English patents around the time of C P Macfarlane's Will! However ... "First patents Progress in developing a reliable pen was slow until the mid-19th century because of an imperfect understanding of the role that air pressure plays in the operation of pens. Furthermore, most inks were highly corrosive and full of sedimentary inclusions." https://en.wikipedia.org/wiki/Fountain_pen ... hence ... > Think back to writers such as Jane Austen and the > dramatisations of them you've seen on TV, where quill pens are used. > With this type of pen, it is inevitable that the density of the ink will > be patchy - darker where the quill has just been dipped in the ink, > becoming fainter over the following words until the writer deems it time > to dip it again.
[toc] | [prev] | [next] | [standalone]
| From | "NY" <me@privacy.invalid> |
|---|---|
| Date | 2019-10-08 20:06 +0100 |
| Message-ID | <qnin48$slj$1@dont-email.me> |
| In reply to | #59246 |
"Java Jive" <java@evij.com.invalid> wrote in message news:qnhtdf$1vpf$1@gioia.aioe.org... > On 07/10/2019 20:21, NY wrote: >> >> "Java Jive" <java@evij.com.invalid> wrote in message >> news:qnd562$6qf$1@gioia.aioe.org... >>> >>> www.macfh.co.uk/Temp/Will_Of_C_P_MacFarlane_-_Double_Probate.png >> >> That is a wonderful document to find, and you've managed to get a legible >> scan from ink that looks as if it varies in darkness (I won't say >> blackness, because I imagine it's a sort of muddy brown!). And the >> handwriting is not as bad as I was expecting for 1810. > > What you're probably forgetting is that in those days they didn't have > fountain pens - apparently the first patent for a fountain pen dates > from 1827. Think back to writers such as Jane Austen and the > dramatisations of them you've seen on TV, where quill pens are used. With > this type of pen, it is inevitable that the density of the ink will be > patchy - darker where the quill has just been dipped in the ink, > becoming fainter over the following words until the writer deems it time > to dip it again. I hadn't realised that goosefeather quill pens were the only way to write in ink until as late as the 1820s. Was it the steel nib and small reservoir that was patented in 1827 (still requiring the pen to be dipped into an inkwell every so often) or was it the larger "tank" of ink (often a rubber bladder compressed by a lever action to make it suck up ink) that was patented? I've never used a quill or a steel-nibbed pen that needed dipping every few words, but I have "fond" memories of carrying around a bottle of Quink (blue-black, royal blue or black, as the mood took me!) to fill up my fountain pen at school - biros were banned ;-) I can't remember whether Pentel and other water-based-ink ballpoint pens were allowed: they came out a few years after I started at the school where everyone used fountain pens.
[toc] | [prev] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2019-10-06 15:01 +0000 |
| Message-ID | <qncvk7$9it$1@dont-email.me> |
| In reply to | #59130 |
On 2019-10-06, Java Jive <java@evij.com.invalid> wrote: > On 06/10/2019 01:55, F Russell wrote: >> >> On Sat, 05 Oct 2019 16:59:57 +0100, Java Jive wrote: >> >>> These are so large that they have had to be scanned in sections, >>> anything from 9-16 in number, and then the individual images joined >> >> You may want to try this DIY modification to make scanning and >> stitching easier: >> >> https://mpetroff.net/2013/09/scanner-modifications-to-scan-large-documents >> >> He even includes scripts to automate the scanning/stitching process. > > Thanks, I haven't read all of that but enough. > > The scanner I'm actually using is a fairly old HP C9850A; it's old > enough that it doesn't have 64-bit drivers so it's attached to an XP > 32-bit laptop. It has ADF, but almost none of the documents to be > scanned are in a condition that I'd want to use ADF, and anyway when I > could do so, the foolscap sheets were missing the bottom inch or so off > each document. As it happens, some years ago the ADF packed up after a > close encounter of the coffee kind, so I bought another scanner of the > same model for spares or repair and cannibalised parts from it to get > mine fully working again. I did wonder whether to try and adapt the > carriage of the spare to do something similar to your suggestion, but > ruled it out as being too much work. It really sounds like you should get a new scanner that has a large enough flatbed that it CAN scan your documents. Or go to a copying shop and get them reduced to 8.5x11 or A4 (whatever you use). YOuhave by this time wasted enough time, that evenif you only value your time at $10/hr, you could have paid for a new scanner. It is stupid to tryto paint your house with a toothbrush. Note that most copiers nowadays will allow you scan documents to a usb stick so if this is a rare event (scanning those oversize articles) that would also be a possible approach which would be much cheaper than what you are trying to do now. > > The big problems with items too big to scan in one go are: > > :-( As above, although it's described as a flatbed scanner, it isn't > really because the surrounding bezel is raised above the glass like so > (a fixed font will be needed to display this ASCII art): > > Bezel Scanner Glass Bezel > =====\ /===== > \================/ > > This means the stuff at the edge tends to be stretched and distorted, > making it difficult to marry up with adjoining images. > > :-( Automatic exposure can make different sections of the same document > look very different in terms of background noise, greasy fingerprints, > yellowing of documents, etc, so it's necessary to remember after > scanning the first section to set the exposure manually to be the same > for the rest of that document, then to remember to set it back to > automatic again ready for the next. Needless to say, I forget > sometimes, curse, and have to start a document again. > > :-( Although nominally the same, the vertical and horizontal > resolutions are actually slightly different, so if one section of a > document is scanned vertically, and another horizontally, one of the > sections will require squashing or stretching slightly to marry up with > the other. > > :-( There is no easy way to align the different sections of scan. The > parchments have irregular edges that are stretched out at the corners, > and even the sheets of paper have often been cut by hand, and opposite > edges are not parallel, and are not at right-angles to the other edges, > thus even if the scanner travel was accurately aligned with the inner > edges of the bezel, which it isn't, and even if the edges of the scanner > glass were not masked out 1-5mm into the scan, which they are and each > edge is different (rolls eyes), *still* you wouldn't be able simply to > abut each sheet against an edge of the bezel! Thus I have resorted to > scanning each section several times at draft resolution trying to align > the writing to being perfectly horizontal, and then doing a hi-res scan. > You might think I could plonk it on the scanner sufficiently close, > and then rotate slightly each section in the image editing program, > which is Paint Shop Pro, as required to align them, but if you have to > do that on one side of the document, by the time you've reached the > other side, the errors have multiplied to the point where things can get > very tricky, and by trial and error I've found that it's best to start > with the scanning of each section aligned as well as possible the same > as the rest, and then start stitching from the centre working outwards > to the edges. > >> As far as handwriting recognition software, FOSS cannot compete >> with the major commercial software firms. >> >> If you cannot type fast enough to transcribe the material directly >> then you may want to consider voice recognition software. Reading >> each document aloud can give you a direct text output. > > Yes, I think I still have a copy of Dragon. > > Which brings me to a trip down memory lane ... My very first computer > was a Commodore Pet, into which I wanted to key in the hex coding for > Supermon from a listing of it in a magazine. I realised that it would > be a terrible chore trying to keep moving between the magazine and the > keyboard, so I read the listing aloud into my tape-recorder at a > measured pace which I hoped allowed enough time to type in the coding > during the next phase, and then did the actual typing as I played it > back. It was certainly much easier doing it like that. I barely made > an error, which certainly wouldn't have been the case typing it in > directly from the magazine.
[toc] | [prev] | [next] | [standalone]
| From | Java Jive <java@evij.com.invalid> |
|---|---|
| Date | 2019-10-06 16:23 +0100 |
| Message-ID | <qnd0t0$1ioe$1@gioia.aioe.org> |
| In reply to | #59146 |
On 06/10/2019 16:01, William Unruh wrote: > > It really sounds like you should get a new scanner that has a large > enough flatbed that it CAN scan your documents. Or go to a copying shop > and get them reduced to 8.5x11 or A4 (whatever you use). YOuhave by this > time wasted enough time, that evenif you only value your time at $10/hr, > you could have paid for a new scanner. It is stupid to tryto paint your > house with a toothbrush. I value my time at £15/hr when I work for others, but, as I am retired now except one remaining legacy client, and have both a house and a car needing repair, I can't afford to spend money on a new scanner for a one-off job. > Note that most copiers nowadays will allow you scan documents to a usb > stick so if this is a rare event (scanning those oversize articles) that > would also be a possible approach which would be much cheaper than what > you are trying to do now. That might be a possibility. I could enquire at the local library, but it's a very small out of the way place, so I'm not hopeful for much help there. They usually have a something of a bother even getting books I ask to borrow!
[toc] | [prev] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2019-10-06 18:12 +0000 |
| Message-ID | <qndaqo$fj6$1@dont-email.me> |
| In reply to | #59150 |
On 2019-10-06, Java Jive <java@evij.com.invalid> wrote: > On 06/10/2019 16:01, William Unruh wrote: >> >> It really sounds like you should get a new scanner that has a large >> enough flatbed that it CAN scan your documents. Or go to a copying shop >> and get them reduced to 8.5x11 or A4 (whatever you use). YOuhave by this >> time wasted enough time, that evenif you only value your time at $10/hr, >> you could have paid for a new scanner. It is stupid to tryto paint your >> house with a toothbrush. > > I value my time at £15/hr when I work for others, but, as I am retired > now except one remaining legacy client, and have both a house and a car > needing repair, I can't afford to spend money on a new scanner for a > one-off job. > >> Note that most copiers nowadays will allow you scan documents to a usb >> stick so if this is a rare event (scanning those oversize articles) that >> would also be a possible approach which would be much cheaper than what >> you are trying to do now. > > That might be a possibility. I could enquire at the local library, but > it's a very small out of the way place, so I'm not hopeful for much help > there. They usually have a something of a bother even getting books I > ask to borrow! If you are in any size of town/city, there should be commercial copy shops which will usually have much higher end copiers (larger sheets, etc). They will charge you of course, but a lot less than the 15 pounds times the number of hours you have used I suspect. Of course if you are wayout in the countryside with the nearest village having a population of 20, then self reliance is a necessity not an option.
[toc] | [prev] | [next] | [standalone]
| From | Java Jive <java@evij.com.invalid> |
|---|---|
| Date | 2019-10-07 00:03 +0100 |
| Message-ID | <qndrs3$1g00$2@gioia.aioe.org> |
| In reply to | #59160 |
On 06/10/2019 19:12, William Unruh wrote: > > If you are in any size of town/city, I'm not, Scottish Highlands.
[toc] | [prev] | [next] | [standalone]
| From | "NY" <me@privacy.invalid> |
|---|---|
| Date | 2019-10-07 20:07 +0100 |
| Message-ID | <qng2di$8js$2@dont-email.me> |
| In reply to | #59130 |
"Java Jive" <java@evij.com.invalid> wrote in message news:qncm1c$1vun$1@gioia.aioe.org... > :-( As above, although it's described as a flatbed scanner, it isn't > really because the surrounding bezel is raised above the glass like so (a > fixed font will be needed to display this ASCII art): > > Bezel Scanner Glass Bezel > =====\ /===== > \================/ > > This means the stuff at the edge tends to be stretched and distorted, > making it difficult to marry up with adjoining images. The best way to get round that is to arrange a fair amount of overlap between tiles, and crop off the edges of each scan where the document is not in contact with the glass, such that what remains still has a bit of overlap..
[toc] | [prev] | [next] | [standalone]
| From | pyotr filipivich <phamp@mindspring.com> |
|---|---|
| Date | 2019-10-06 08:05 -0700 |
| Message-ID | <r40kpe1pjq89o3o8v8tium9600ls09lf4p@4ax.com> |
| In reply to | #59107 |
Java Jive <java@evij.com.invalid> on Sat, 5 Oct 2019 16:59:57 +0100 typed in alt.windows7.general the following: > >As I'm currently nearing the end of the scanning phase, next will be >sorting the documents into boxes and the files into sub-directories - >of course they are already, because I was trying to make sense of it all >as I worked through it, but only after I know entirely what is there >will I be able to finalise how best it should be divided up into >meaningful chunks of information. After that will come the probably >much longer phase of converting as much of it as possible into >searchable text. It's this last stage I really would like to shorten as >much as possible, because I'd like to have a chance of finishing it >before I die !-) > >So, does anyone here have any experience of software to recognise >hand-writing in an image file (*.png) and produce a text file from it? I had the opportunity to examine a facsimile of a 15th century document. "Yep, those are letters." says I, "but that's some kind of ligature, and that's an abrev, and is that a 'jot', 'title', or error?" And then there is me, trying to read what I wrote last year, ten years, forty years ago. Actually, that's "easy", it is my hand, and the subject is (mostly) known. What you're trying to do is recognize someone else's handwriting, in a "foreign" language (It might nominally be English, but the then contemporary understanding and abbreviations may be quite different.), from pictures. Training a neural network to read various handwritings is difficult. It is even harder when the neural network is not a human being, but a computer. And do not, repeat, do not lose those originals. They are more likely to survive than computer images. At least the retrieval technology is not likely to go obsolete in a decade or two. tschus pyotr -- pyotr filipivich The two oldest cliches are "The Old Days were better." and "After all, these are Modern Times."
[toc] | [prev] | [next] | [standalone]
| From | "Mayayana" <mayayana@invalid.nospam> |
|---|---|
| Date | 2019-10-06 13:15 -0400 |
| Message-ID | <qnd7h3$t6o$1@dont-email.me> |
| In reply to | #59107 |
"Java Jive" <java@evij.com.invalid> wrote | So, does anyone here have any experience of software to recognise | hand-writing in an image file (*.png) and produce a text file from it? | I got curious. My sense is that Ray Kurzweil makes the best stuff, though it's not free and he may have downloaded himself to a chip by now. (That was his plan -- to take mega-vitamins in order to live long enough to download himself to a chip.... I guess everyone needs a hobby.) Another thing well regarded is Google's Tesseract. I found FreeOCR. Simple. Small. No hiccups. Uses Tesseract v. 3. But some reasonably readable handwriting came through as complete nonsense. There's now a v. 4 but so far I haven't found a free program using Tesseract v. 4 that will install properly for me. That might be worth a try, but I'd be very surprised if it works. Even non-typical fonts can be a problem, so it's hard to imagine how they'd get a method to recognize handwriting dependably.
[toc] | [prev] | [next] | [standalone]
| From | Ken Hart <kwhart1@frontier.com> |
|---|---|
| Date | 2019-10-06 20:28 -0400 |
| Message-ID | <qne0se$5lp$1@gioia.aioe.org> |
| In reply to | #59154 |
On 10/6/19 1:15 PM, Mayayana wrote: > "Java Jive" <java@evij.com.invalid> wrote > > | So, does anyone here have any experience of software to recognise > | hand-writing in an image file (*.png) and produce a text file from it? > | > > I got curious. My sense is that Ray Kurzweil makes the best > stuff, though it's not free and he may have downloaded himself > to a chip by now. (That was his plan -- to take mega-vitamins > in order to live long enough to download himself to a chip.... I > guess everyone needs a hobby.) > > Another thing well regarded is Google's Tesseract. I found > FreeOCR. Simple. Small. No hiccups. Uses Tesseract v. 3. > But some reasonably readable handwriting came through > as complete nonsense. There's now a v. 4 but so far I > haven't found a free program using Tesseract v. 4 that > will install properly for me. That might be worth a try, but > I'd be very surprised if it works. Even non-typical fonts > can be a problem, so it's hard to imagine how they'd get > a method to recognize handwriting dependably. > > I installed gImageReader and tesseract-ocr 3.04, just for fun, since Mr "Jive" posted a sample (the last will of Charles P McFarlane), and Mr Russell posted a cleaned image of the same. (I assume that the tesseract files would be the same for any other OCR frontend, so it would be a waste of time to try other OCR's that use tesseract V3.) The original image resulted in gibberish, and not that much of it, considering the size of the document. The cleaned image resulted in about three times as much gibberish, with a few- very few- readable phrases. For example, near the end was this example of the lawyer's art: " j : :— fitted, the last Will and/Lesmnsifii Vzafifiaz‘jf (fag: Pg/grc‘axfzfflive Cgmm’ '[awfuny comm." I noticed that there was a tesseract language file for Middle English 1100-1500. Since Gutenberg's movable type was late 1400's, I thought this might be good. No such luck- absolutely no intelligible text. Then I noticed there was a tesseract-script. I combined that with both Middle English and English. It churned away for about 20 minutes and came up with what appeared to be the proper amount of gibberish. In my opinion, the suggestion to check with organizations that deal with the blind will be the best bet. Good luck! -- Ken Hart kwhart1@frontier.com
[toc] | [prev] | [next] | [standalone]
| From | Paul <nospam@needed.invalid> |
|---|---|
| Date | 2019-10-06 21:46 -0400 |
| Message-ID | <qne5d9$vc1$1@dont-email.me> |
| In reply to | #59173 |
Ken Hart wrote:
> On 10/6/19 1:15 PM, Mayayana wrote:
>> "Java Jive" <java@evij.com.invalid> wrote
>>
>> | So, does anyone here have any experience of software to recognise
>> | hand-writing in an image file (*.png) and produce a text file from it?
>> |
>>
>> I got curious. My sense is that Ray Kurzweil makes the best
>> stuff, though it's not free and he may have downloaded himself
>> to a chip by now. (That was his plan -- to take mega-vitamins
>> in order to live long enough to download himself to a chip.... I
>> guess everyone needs a hobby.)
>>
>> Another thing well regarded is Google's Tesseract. I found
>> FreeOCR. Simple. Small. No hiccups. Uses Tesseract v. 3.
>> But some reasonably readable handwriting came through
>> as complete nonsense. There's now a v. 4 but so far I
>> haven't found a free program using Tesseract v. 4 that
>> will install properly for me. That might be worth a try, but
>> I'd be very surprised if it works. Even non-typical fonts
>> can be a problem, so it's hard to imagine how they'd get
>> a method to recognize handwriting dependably.
>>
>>
>
> I installed gImageReader and tesseract-ocr 3.04, just for fun, since Mr
> "Jive" posted a sample (the last will of Charles P McFarlane), and Mr
> Russell posted a cleaned image of the same.
>
> (I assume that the tesseract files would be the same for any other OCR
> frontend, so it would be a waste of time to try other OCR's that use
> tesseract V3.)
>
> The original image resulted in gibberish, and not that much of it,
> considering the size of the document.
>
> The cleaned image resulted in about three times as much gibberish, with
> a few- very few- readable phrases. For example, near the end was this
> example of the lawyer's art:
> " j : :— fitted, the last Will and/Lesmnsifii Vzafifiaz‘jf (fag:
> Pg/grc‘axfzfflive Cgmm’ '[awfuny comm."
>
> I noticed that there was a tesseract language file for Middle English
> 1100-1500. Since Gutenberg's movable type was late 1400's, I thought
> this might be good. No such luck- absolutely no intelligible text.
>
> Then I noticed there was a tesseract-script. I combined that with both
> Middle English and English. It churned away for about 20 minutes and
> came up with what appeared to be the proper amount of gibberish.
>
>
> In my opinion, the suggestion to check with organizations that deal with
> the blind will be the best bet.
>
> Good luck!
>
Here's an article that claims there was some success in
this area, in 2011. Using multiple convolutional neural networks.
https://towardsdatascience.com/https-medium-com-rachelwiles-have-we-solved-the-problem-of-handwriting-recognition-712e279f373b
But what is being done here, is different than the bulk of the
description in the previous link. It's not even handwriting
in the example, just OCR.
https://cloud.google.com/blog/products/ai-machine-learning/how-the-new-york-times-is-using-google-cloud-to-find-untold-stories-in-millions-of-archived-photos
What the academics have worked on, is this problem.
Individually scribbled characters, not cursive writing.
They've beaten the piss out of this problem (2011 and later),
and it's like a "neural network convention" on this topic.
https://miro.medium.com/max/1750/1*cf7luBAWvHApT-ohFZta5Q.jpeg
Rather than solving this problem. I'm not seeing
any claims they can handle this. Cursive handwriting.
(And for the record, this looks like *machine generated* cursive!)
http://static.nautil.us/10346_c8661fbb8d748c08800779b570047110.png
Paul
[toc] | [prev] | [next] | [standalone]
| From | Java Jive <java@evij.com.invalid> |
|---|---|
| Date | 2019-10-07 12:22 +0100 |
| Message-ID | <qnf75s$1hkd$1@gioia.aioe.org> |
| In reply to | #59176 |
Last night I spent mostly housekeeping the results so far, but also ... I rediscovered why I'm working the scanner from Windows XP - when I tried from Linux, menu option in recent edition of Ubuntu with XCFE, it didn't know what size the scanner-glass was, auto left it too small, while the manual settings offered weren't the right size either. I also installed Enblend (that's it's actual name, not Emblend), but thereafter couldn't find a menu option for it. As it was getting late, I didn't pursue this further. I discovered how to stitch non-overlapping images in Irfanview, but that just seemed to glue them together at the edges, I've yet to try images with overlap to see if they're stitched appropriately. Also ... On 07/10/2019 02:46, Paul wrote: > > Ken Hart wrote: >> >> On 10/6/19 1:15 PM, Mayayana wrote: >>> >>> "Java Jive" <java@evij.com.invalid> wrote >>> >>> | So, does anyone here have any experience of software to recognise >>> | hand-writing in an image file (*.png) and produce a text file from it? >>> >>> [...] >>> >>> Another thing well regarded is Google's Tesseract. I found >>> FreeOCR. Simple. Small. No hiccups. Uses Tesseract v. 3. >>> But some reasonably readable handwriting came through >>> as complete nonsense. There's now a v. 4 but so far I >>> haven't found a free program using Tesseract v. 4 that >>> will install properly for me. That might be worth a try, but >>> I'd be very surprised if it works. Even non-typical fonts >>> can be a problem, so it's hard to imagine how they'd get >>> a method to recognize handwriting dependably. >> >> I installed gImageReader and tesseract-ocr 3.04, just for fun, since >> Mr "Jive" posted a sample (the last will of Charles P McFarlane), and >> Mr Russell posted a cleaned image of the same. >> >> [...] and >> came up with what appeared to be the proper amount of gibberish. >> >> In my opinion, the suggestion to check with organizations that deal >> with the blind will be the best bet. Thanks for doing this, it saved me the disappointment! It is beginning to seem that speaking the documents out loud into Dragon might be my best bet. > Here's an article that claims there was some success in > this area, in 2011. Using multiple convolutional neural networks. > > https://towardsdatascience.com/https-medium-com-rachelwiles-have-we-solved-the-problem-of-handwriting-recognition-712e279f373b > > But what is being done here, is different than the bulk of the > description in the previous link. It's not even handwriting > in the example, just OCR. > > https://cloud.google.com/blog/products/ai-machine-learning/how-the-new-york-times-is-using-google-cloud-to-find-untold-stories-in-millions-of-archived-photos > > What the academics have worked on, is this problem. > Individually scribbled characters, not cursive writing. > They've beaten the piss out of this problem (2011 and later), > and it's like a "neural network convention" on this topic. > > https://miro.medium.com/max/1750/1*cf7luBAWvHApT-ohFZta5Q.jpeg > > Rather than solving this problem. I'm not seeing > any claims they can handle this. Cursive handwriting. > (And for the record, this looks like *machine generated* cursive!) > > http://static.nautil.us/10346_c8661fbb8d748c08800779b570047110.png Interesting links, for which thanks, though, as you suggest, perhaps not very helpful to my central problem! I'm wondering though, whether it might be worth contacting someone like the academic Rachel Wiles who wrote the first article above to see if she can offer any advice.
[toc] | [prev] | [next] | [standalone]
Page 3 of 4 — ← Prev page 1 2 [3] 4 Next page →
Back to top | Article view | alt.os.linux
csiph-web