Patent ID: 7743320

Claim:
A computer-implemented method for numbering page images, the method comprising: obtaining images of pages of content in a document in an order in which the pages appear in the document; extracting candidate page numbers from the content of the page images; saving extracted candidate page numbers in a plurality of sequences of numbers wherein for each sequence a candidate page number extracted from a page image is one different than a candidate page number extracted from an adjacent page image in the order in which the pages appear in the document; merging a first sequence and a second sequence of the plurality of sequences beginning with a more reliable sequence, wherein merging includes comparing the first sequence with the second sequence to determine whether a difference between a highest candidate page number in the first sequence and the lowest candidate page number in the second sequence matches a number of page images spanned by a gap between the first and the second sequences, and if so, assigning consecutive page numbers to the page images in the gap; determining whether to abandon numbering of page images based on a variable completeness threshold determined based on a method of extracting candidate page numbers; and labeling the page images in accordance with the extracted and assigned page numbers in the merged sequence.