468 Commits

Author SHA1 Message Date
Pierre-Yves Nicolas
48985fb6b4 Avoid crash when processing a captured image fails (#93) 2026-01-16 14:12:47 +01:00
Pierre-Yves Nicolas
855dbe75ed Avoid crash when camera is unavailable (#92) 2026-01-15 21:31:05 +01:00
Pierre-Yves Nicolas
5500fc5175 Set capture resolution strategy to avoid huge images 2026-01-15 15:42:24 +01:00
Pierre-Yves Nicolas
d7870a8116 Quad detection: drop legacy fallback on live analysis 2026-01-15 14:29:20 +01:00
Pierre-Yves Nicolas
6ae87aed15 ExportQuality: externalize strings 2026-01-15 11:07:47 +01:00
Pierre-Yves Nicolas
5464935291 Adjust values for ExportQuality 2026-01-15 09:55:54 +01:00
kevin0712
b979362fa8 add chinese(traditional) translation (#91) 2026-01-14 21:40:39 +01:00
Pierre-Yves Nicolas
548ba3ec79 Add test cases for ImageRepository and PageStore 2026-01-13 14:45:31 +01:00
Pierre-Yves Nicolas
817dd062c5 Introduce PageStore (used by ImageRepository) 2026-01-13 14:00:00 +01:00
Pierre-Yves Nicolas
8c65eb58f3 Add comment about renaming of legacy files 2026-01-13 09:47:21 +01:00
Pierre-Yves Nicolas
84df865a5d Avoid chaining rotations (to avoid JPEG recompressions) 2026-01-12 20:58:50 +01:00
Pierre-Yves Nicolas
aa9e3893b9 ImageRepository.page(id): constant time complexity 2026-01-12 17:57:20 +01:00
Pierre-Yves Nicolas
3c68e08a03 Revamp ImageRepository 2026-01-12 16:31:31 +01:00
Pierre-Yves Nicolas
3b4ba3f027 Improve UX feedback during export preparation 2026-01-11 10:40:06 +01:00
Pierre-Yves Nicolas
3f95130f77 Implement deletion of source image 2026-01-11 10:12:32 +01:00
Pierre-Yves Nicolas
5c5b6e921e New setting to control the quality of exported PDFs (#70) 2026-01-11 10:12:32 +01:00
Pierre-Yves Nicolas
fcdcea1891 Store page metadata after capture 2026-01-11 10:12:32 +01:00
Pierre-Yves Nicolas
0439971e57 Store "source" (unprocessed captured image) 2026-01-11 10:12:32 +01:00
Pierre-Yves Nicolas
3eb1a54457 Prepare release: v1.10.0 2026-01-06 11:03:22 +01:00
Pierre-Yves Nicolas
402b25b791 Avoid crashing when the selection of the export directory fails (#86) 2026-01-05 21:18:51 +01:00
Pierre-Yves Nicolas
d48d2784cd Save files to Downloads via MediaStore on Android 10+ (fix #85) 2026-01-05 20:16:16 +01:00
Yurt Page
b149b39873 fastlane i18n ru 2026-01-01 11:46:49 +01:00
Yurt Page
8c1fab1476 fastlane full_description.txt: simplify markup 2026-01-01 11:46:49 +01:00
pynicolas
1c439f0916 README.md: mention fairscan-intent-sample 2025-12-30 14:52:53 +01:00
Pierre-Yves Nicolas
73d4ecebed Prepare release: v1.9.0 2025-12-22 10:11:14 +01:00
pynicolas
b5bf93b7ec Allow other apps to call FairScan to scan a document to PDF (#81)
* Intent for external calls

* External calls: start on camera screen

* Isolate captured images for each scan session

* Remove access to settings when called externally
2025-12-22 10:03:38 +01:00
Pierre-Yves Nicolas
8d87a8a430 Prepare release: v1.8.0 2025-12-10 18:22:05 +01:00
pynicolas
fe91f3e241 Improve distinction between color and grayscale documents (#79)
Better differentiate color and grayscale documents:
- Look for colored pixels only in the intersection of the mask and quadrilateral
- Apply a white balance (grey world) to the document
- Exclude pixels with extreme luminance
- Erode segmentation mask
2025-12-10 17:08:21 +01:00
pynicolas
87433fa96a New module: evaluation (#78) 2025-12-07 21:39:49 +01:00
pynicolas
3d9d5565f1 Extract module imageprocessing (#76) 2025-12-06 08:08:20 +01:00
pynicolas
8ac844d8fd Upgrade AboutLibraries to 13.1.0 (#75) 2025-12-05 14:45:10 +01:00
Pierre-Yves Nicolas
560c8ced68 targetSdk 35 -> 36 2025-12-05 12:04:15 +01:00
Pierre-Yves Nicolas
f26a6cc45f Upgrade most dependencies 2025-12-05 08:07:46 +01:00
Pierre-Yves Nicolas
5393dae39e compileSdk 35->36 2025-12-05 06:43:18 +01:00
Pierre-Yves Nicolas
3a9cc642c7 Restore back button in CameraScreen and DocumentScreen (fix #74)
It was removed by mistake in 7c9267a
2025-12-05 06:31:01 +01:00
Pierre-Yves Nicolas
4a3a1f700f Prepare release: v1.7.0 2025-12-01 16:33:05 +01:00
Pierre-Yves Nicolas
77d3d0e647 Add enableOnBackInvokedCallback in manifest to avoid warning in logs 2025-12-01 15:43:49 +01:00
Pierre-Yves Nicolas
4da6d24e7e Fix bug with JPEG when clicking twice on Save 2025-12-01 15:24:52 +01:00
Pierre-Yves Nicolas
4b6d1ca02d AboutScreen: adjustments 2025-12-01 08:36:12 +01:00
Pierre-Yves Nicolas
515d116c8e Avoid adding index to file name if only 1 file 2025-12-01 07:07:04 +01:00
pynicolas
4453eb1be0 Allow export to JPEG (#68)
* SettingScreen: export format

* Allow export to JPEG

* Adjust messages in UI to work with PDF and JPEG

* Message for file size should depend on number of files

* Fix call to MediaScanner to avoid crash when scanning multiple files

* Fix strange handling of Open button
2025-11-30 16:55:36 +01:00
Pierre-Yves Nicolas
7fbda5339a Remove unused parameter (forgotten in previous commit) 2025-11-29 07:15:50 +01:00
Pierre-Yves Nicolas
051c320bde Move addRecentDocument from HomeViewModel to ExportViewModel 2025-11-28 16:53:59 +01:00
Pierre-Yves Nicolas
2d15cd129e Fix list of recent documents after introduction of the custom export dir 2025-11-28 16:42:11 +01:00
Pierre-Yves Nicolas
5d7011614b SettingsScreen: translate strings 2025-11-28 16:42:11 +01:00
Pierre-Yves Nicolas
53c9bc3630 Export PDF to preferred dir if it was defined 2025-11-28 16:42:11 +01:00
Pierre-Yves Nicolas
7c9267a866 New SettingsScreen with export dir preference 2025-11-28 16:42:11 +01:00
Pierre-Yves Nicolas
96b2d5b830 Move code for UI state to screen-specific packages 2025-11-27 08:43:27 +01:00
Pierre-Yves Nicolas
156924a8ee MainActivity: extract code from onCreate 2025-11-26 21:03:35 +01:00
Pierre-Yves Nicolas
4b103c6aea Format timestamp in error log 2025-11-26 20:00:37 +01:00