Skip to content

Update infer.py - #31

Open
krataratha wants to merge 1 commit into
baidu:mainfrom
krataratha:patch-1
Open

Update infer.py#31
krataratha wants to merge 1 commit into
baidu:mainfrom
krataratha:patch-1

Conversation

@krataratha

Copy link
Copy Markdown

No description provided.

@rajpratham1 rajpratham1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a useful feature addition that improves the usability of multi-page OCR outputs. Since concurrent execution completes pages in arbitrary order, storing results by job index before merging ensures the final merged document preserves the original page sequence. The feature is optional (--merge_output), so it doesn't change the existing behavior for current users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants