Re: [Jocr-devels] OCR without loading a file
Status: Alpha
Brought to you by:
joerg10
|
From: Joerg <Joe...@UR...> - 2006-11-16 21:11:31
|
On Thu, 16 Nov 2006, JS wrote:
> Hi,
>
> I want to use OCR for recognition of text within images that are loaded
> from another software. The problem is that every OCR library (including
> GOCR) seem to _force_ you to specify a filename etc.Now, I thought maybe
Why not using a pipe to stdin of gocr a la "djpeg | gocr -" ?
in C: pipe() fork() exec(gocr) or popen("gocr -")?
> I had missed something, so here would be my twofold question:
> 1) Is there a wait to use libjocr to process an image directly (e.g. an
> unsigned char*)
of course, its easy to replace gocr.c by your program and call pgm2asc().
Joerg
> 2) If not: what would you suggest me to do? I'd be ready to contribute
> some code but a bit of guidance would help a lot.
>
> Thanks!
>
> --
> ++ js
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Jocr-devels mailing list
> Joc...@li...
> https://lists.sourceforge.net/lists/listinfo/jocr-devels
>
>
|