You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: When scanning multiple pages, like a whole book or chapter, it's tiresome to have to select single or double columns every scan.
Enhancement: Allow user to flag "don't ask again", and tell the user that he can change it back in the settings menu.
Enhancement 2: If in another scan, the same user tries to scan a two columns page, the OCR could detect it and ask the user if the document has more than one column.
The text was updated successfully, but these errors were encountered:
ltlombardi
changed the title
Ability to set one columns scan as default, avoiding asking every time.
Ability to set number of columns scan as default, avoiding asking every time.
Mar 6, 2016
Sorry if it is old but I hope it helps people with the same needs, I did this in this way:
In the OCRActivity.java, handlemessage() at the end of the
case OCR.MESSAGE_LAYOUT_ELEMENTS: {
I managed to pass a selected template before (in my case there are several), so if it is just columns view, you can order the rects and add them. Some of this variables were private so I changed to public in not the best way I guess, but just for a fast solution.
Collections.sort(lstRects, new Comparator<RectF>() {
@Override
public int compare(RectF r1, RectF r2) {
return (int) r1.left - (int) r2.left;
}
});
for (RectF r : lstRects) {
mImageView.mTouchedTextRects.add(r);
}
mButtonStartOCR.callOnClick();
Issue: When scanning multiple pages, like a whole book or chapter, it's tiresome to have to select single or double columns every scan.
Enhancement: Allow user to flag "don't ask again", and tell the user that he can change it back in the settings menu.
Enhancement 2: If in another scan, the same user tries to scan a two columns page, the OCR could detect it and ask the user if the document has more than one column.
The text was updated successfully, but these errors were encountered: