On Mon, Sep 29, 2008 at 15:22, womxbat <[EMAIL PROTECTED]>wrote: > > I see in the documentation that: > > $ ocroscript recognize @file-list > text.html > > can be used to recognize multiple "pages". Are pages just files?
Yes. > What is the syntax of file-list? A list of files, separated by newlines. If i try ocroscript rec-ltess @file-list I get the following error: > > rec-ltess.lua:28: unknown format (file extension) Well, probably your individual files don't have the right file extensions or format. They just get read one-by-one using read_image_gray(array,"filename.jpg") internally. Try reading or recognizing the pages one by one. The I/O routines only read files that end in .jpeg, .jpg, .png, .pbm, .pgm, .ppm, or .pnm (upper or lower case). In case you're trying to read TIFF files, that's not yet supported, but it's on our todo list (or if you like to provide a patch...). Tom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ocropus" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ocropus?hl=en -~----------~----~----~----~------~----~------~--~---
