Editing and Enhancing Documents
After capturing a document, OSS Document Scanner provides comprehensive editing tools to perfect your scans.

Rename
- Open the document
- click on the document name in the actionbar
- rename the document
- click the Save button
Cropping and Rotation
Manual Cropping
Fine-tune the document boundaries after capture:
- Open the edit view for a scanned page
- Select the Crop tool
- Drag corner handles to adjust the document area
- Drag edge midpoints for precise adjustments
- Use the grid overlay for alignment
- Tap Apply to save changes
Rotation
Correct document orientation, tap the rotate button to rotate in 90° increments
Perspective Correction
The app automatically applies perspective correction based on the detected document edges. This ensures:
- Parallel edges appear parallel
- Rectangular documents appear rectangular
- Text lines are straightened
Image Filters
Apply filters to enhance document readability:
Black & White
Converts to pure black and white (binary):
- Ideal for text documents
- Smallest file size
- Best for OCR processing
- Adjustable threshold for optimal results
Grayscale
Removes color while preserving tonal range:
- Good for documents with diagrams
- Smaller file size than color
- Natural appearance
Color Enhanced
Improves color documents:
- Automatic white balance
- Contrast enhancement
- Color saturation adjustment
Original
Keeps the image as captured:
- Full color preservation
- No processing applied
- Largest file size
Document Enhancement
Smart enhancement for documents:
- Shadow removal
- Uneven lighting correction
- Edge sharpening
- Background cleanup
Advanced Adjustments
Brightness and Contrast
Fine-tune image appearance:
- Tap Adjust in the edit toolbar
- Use sliders to adjust:
- Brightness: Lighten or darken the image
- Contrast: Increase or decrease tonal range
- Preview changes in real-time
- Tap Apply to save
OCR (Optical Character Recognition)
Extract text from scanned documents:
Running OCR
- Open a document page
- Tap the OCR button
- Select the language(s) of the text
- Wait for processing to complete
- View and copy extracted text
Detect and Copy (Android)
For quick text extraction, use the app shortcut action.
OCR Features
- Multi-language support: OCR works with many languages
- Copy text: Copy extracted text to clipboard
- Search: Search within extracted text
- Export: Include OCR text in PDF exports
- Transparent OCR in PDF: Add searchable text layer to exported PDFs
OCR Tips
- Use Black & White filter for best results
- Ensure good capture quality
- Select correct language(s)
- For handwriting, results may vary
- Download language models from Settings > OCR before use
OCR uses Tesseract for text recognition. Processing happens on-device for privacy. See app/services/ocr.ts for implementation details.
Page Management
Reordering Pages
In multi-page documents:
- Open the document view
- Tap the Reorder Pages menu entry in the three dot action menu
- or long-press and start dragging a page
- Drag to the new position
- Release to drop
- The document is automatically saved
Deleting Pages
Remove unwanted pages:
- Open the document view
- Select pages to delete (tap thumbnails)
- Tap the Delete button
- Confirm deletion
Adding Pages
Add more pages to existing documents:
- Open the document
- Tap Add Page or Camera buttons
- Capture new pages
- Pages are appended to the document
Best Practices
For Text Documents
- Use Black & White filter
- Ensure high contrast
- Run OCR for searchable PDFs
- Use perspective correction
For Photos/Diagrams
- Use Grayscale or Color Enhanced
- Adjust brightness/contrast as needed
- Keep original resolution
For Receipts
- Use Whitepaper
- Apply shadow removal
- Increase contrast slightly
- Consider Black & White for faded receipts