How gustavo-87/camscanner_app works
CamScanner is a .NET MAUI document-scanning app. Users create or open a lot, capture or import document images, and manage them locally; they can view a document, run OCR, edit recognized text, and export documents or lots. SQLite stores lot and document records while images are stored on-device. The README documents capture, gallery import, document management, OCR, sharing, Excel and ZIP export. Several UI and storage details are unsampled, so links without direct excerpt evidence are omitted or marked unverified.
Main entry points: MainPage.xaml.cs Lot library · DetallePage.xaml.cs Document detail · ExcelExportService.cs Excel export · LotePage.xaml.cs Lot view
Components 19
Scanning workflow
- Lot library
src/MainPage.xaml.cs - Lot view
src/LotePage.xaml.cs - Lot card
src/LoteCard.cs - Document detail
src/DetallePage.xaml.cs - Text editor
src/TextoPage.xaml.cs - Data browser
src/DatabasePage.xaml.cs
Local persistence
- Document record
src/Models/Documento.cs - Lot record
src/Models/Lote.cs - SQLite database
src/Data/CamScannerDatabase.cs - Image storage
src/Services/AlmacenImagenes.cs
Text and export
- OCR contract
src/Services/IOcrService.cs - Excel export
src/Services/ExcelExportService.cs - ZIP export
src/Services/ZipExportService.cs - File saving
src/Services/ArchivoService.cs
Platform adapters
- Android OCR
src/Platforms/Android/OcrService.cs - iOS OCR
src/Platforms/iOS/OcrService.cs
Other components
- User
- Device gallery
- Device sharing
Connections 28
- User → Lot library: uses
README.md - Lot library → Lot view: opens
README.md - Lot library → Document detail: opens
README.md - Lot library → Lot card: renders
src/MainPage.xaml.cs - Lot library → Device gallery: imports images
src/MainPage.xaml.cs - Lot library → SQLite database: manages records
src/MainPage.xaml.cs - Lot library → Image storage: stores images
- Lot library → Excel export: exports lots
src/MainPage.xaml.cs - Lot library → ZIP export: creates archive
src/MainPage.xaml.cs - Lot library → File saving: saves exports
src/MainPage.xaml.cs - Lot library → Device sharing: shares exports
src/MainPage.xaml.cs - Lot view → SQLite database: reorders documents
src/LotePage.xaml.cs - Lot view → Excel export: exports lot
src/LotePage.xaml.cs - Lot view → File saving: saves workbook
src/LotePage.xaml.cs - Lot view → Device sharing: shares workbook
src/LotePage.xaml.cs - Data browser → SQLite database: queries and updates
src/DatabasePage.xaml.cs - Document detail → OCR contract: recognizes image
src/DetallePage.xaml.cs - Document detail → SQLite database: loads lot data
src/DetallePage.xaml.cs - Document detail → Text editor: opens editor
src/DetallePage.xaml.cs - Document detail → Excel export: exports document
src/DetallePage.xaml.cs - Document detail → File saving: saves workbook
src/DetallePage.xaml.cs - Document detail → Device sharing: shares image
src/DetallePage.xaml.cs - Android OCR → OCR contract: implements
src/Platforms/Android/OcrService.cs - iOS OCR → OCR contract: implements
src/Platforms/iOS/OcrService.cs - ZIP export → Excel export: embeds workbook
src/Services/ZipExportService.cs - ZIP export → Image storage: reads images
src/Services/ZipExportService.cs - Excel export → Document record: exports fields
src/Services/ExcelExportService.cs - Excel export → Lot record: exports fields
src/Services/ExcelExportService.cs