Output to multiple supported formats at the same time

Bug #396193 reported by Yury V. Zaytsev on 2009-07-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cuneiform for Linux

Bug Description

Cuneiform should support multiple output formats at the same time w/o the need to run the recognition engine again, e.g. save the TEXT and the HOCR output on the same time.

Currently it is possible to run cuneiform two times to do the job:

  cuneiform -l ger -f hocr -o $FILE.html $FILE.tiff
  cuneiform -l ger -f text -o $FILE.text $FILE.tiff

Yury V. Zaytsev (zyv) wrote :

There are several problems with your patch.

1) It is not properly formatted. Next time use diff against the bzr trunk to make it easier for maintainer to incorporate it in the tree.

2) There is a logical issue. I find it unreasonable to constrain to the specific format. What I would expect is something like this:

zyv@mypride:~/Desktop$ cuneiform
Cuneiform for Linux 0.6.0
Usage: cuneiform [-l languagename -f format1 [format2 ...] --dotmatrix --fax -o result_file1 [result_file2 ...]] imagefile

So that you can actually specify a number of formats you want the results to be converted to and a matching number of filenames to store them.

Changed in cuneiform-linux:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions