i need to group scanned pages into documents. Each document starts with a predefined mark in the corner of the page, can be a black square or something else and in any corner (will be added by stamp before scanning).
The idea is:
- Scanned page 1 with mark - Scanned page 2 - Scanned page 3 - Scanned page 4 with mark - Scanned page 5
I need to create first tif with 3 pages and second tif with 2 pages. Do you have an exemple code?