Re: ocr success

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I think this is one of the greatest achievements.

Agree, I am very pleased, it is far from perfect, but quite good to get
an over view of what something is. Eg. I read a letter fine and got 95%
of the idea of it. Used news paper, and well probably 30% good, although
a bit big for the scanner so probably that's why. The images seem to
place random code in the doc (that's ok, some quick editing with emacs,
nano, vi or your favourite editor will fix that.

It can't read hand writing yet, but I'm hoping that'll come one day. I
really like it though, and since I have never had any ocr access since 3
hours ago, I'm very happy with it...

> A few days back some hacker on the orca list had sent me a script for
> doing ocr.
> I have some how misplaced it i believe and I would request for another
> copy.

Yep, I'll email it to you off list...

> I have one major question?  will any of the tools mentioned in the
> original post do rotation of the image if I place the page up side down?

Not that I know of... Although I would like this myself, I guess you
have a 25% chance don't you, and you should keep trying if fails...

That's my current solution, sorry

> I think most free ocr softwares can't do it but I will be pleased to
> know that I am wrong in my analysis.

Please correct me if I have mistaken

> I think we really need a howto from daniel for this.

No worries, please give me sometime and I'll gladly post an url.

Also, I forgot to attach the patch I wrote to allow tessaract to
compile... So here it is...

If you would like the svn server addresses let me know.

Hope that  helps a little, and I'll do my best on ahowto.

Thanks,

Daniel
Index: viewer/svutil.cpp
===================================================================
--- viewer/svutil.cpp	(revision 201)
+++ viewer/svutil.cpp	(working copy)
@@ -19,7 +19,8 @@
 //
 // SVUtil contains the SVSync and SVNetwork classes, which are used for
 // thread/process creation & synchronization and network connection.
-
+#include <string.h>
+#include <stdlib.h>
 #include "svutil.h"
 
 #ifdef WIN32
Index: viewer/scrollview.cpp
===================================================================
--- viewer/scrollview.cpp	(revision 201)
+++ viewer/scrollview.cpp	(working copy)
@@ -26,7 +26,10 @@
 const int kSvPort = 8461;
 const int kMaxMsgSize = 4096;
 const int kMaxIntPairSize = 45;  // Holds %d,%d, for upto 64 bit.
-
+#include <stdlib.h>
+#include <string.h>
+#include <stdint.h>
+#include <limits.h>
 #include "scrollview.h"
 
 #include <stdarg.h>
Index: viewer/svmnode.cpp
===================================================================
--- viewer/svmnode.cpp	(revision 201)
+++ viewer/svmnode.cpp	(working copy)
@@ -24,6 +24,8 @@
 // menu structure there.
 // A SVMenuNode can both be used in the context_ of popup menus as well as
 // menu bars.
+#include <stdlib.h>
+#include <string.h>
 #include "svmnode.h"
 
 #include <iostream>
_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]