Commit Graph

20 Commits

Author SHA1 Message Date
genki
0f6c9060bf Pre UI Sweep 2026-01-11 21:06:38 -05:00
genki
ae1b78e170 Util Functions Expansion -
Training UI fix for Physicals

Keep it moving ?
2026-01-11 00:12:55 -05:00
genki
749357ba14 Label Changes - CheckPoint - Incoming Game 2026-01-10 23:29:14 -05:00
genki
52c5643b5b Added onClick from Albumviewscreen.kt 2026-01-10 22:00:23 -05:00
genki
11a1a33764 Oh yes - Thats how we do
No default params for KSP complainer fuck

UI sweeps
2026-01-10 09:44:29 -05:00
genki
f51cd4c9ba feat(training): Add parallel face detection, exclude functionality, and optimize image replacement
PERFORMANCE IMPROVEMENTS:
- Parallel face detection: 30 images now process in ~5s (was ~45s) via batched async processing
- Optimized replace: Only rescans single replaced image instead of entire set
- Memory efficient: Proper bitmap recycling in finally blocks prevents memory leaks

NEW FEATURES:
- Exclude/Include buttons: One-click removal of bad training images with instant UI feedback
- Excluded image styling: Gray overlay, disabled buttons, clear "Excluded" status
- Smart button visibility: Hide Replace/Pick Face when image excluded
- Progress tracking: Real-time callbacks during face detection scan

BUG FIXES:
- Fixed bitmap.recycle() timing to prevent corrupted face crops
- Fixed FaceDetectionHelper to recycle bitmaps only after cropping complete
- Enhanced TrainViewModel with exclude tracking and efficient state updates

UI UPDATES:
- Added ImageStatus.EXCLUDED enum value
- Updated ScanResultsScreen with exclude/include action buttons
- Enhanced color schemes for all 5 image states (Valid, Multiple, None, Error, Excluded)
- Added RemoveCircle icon for excluded images

FILES MODIFIED:
- FaceDetectionHelper.kt: Parallel processing, proper bitmap lifecycle
- TrainViewModel.kt: excludeImage(), includeImage(), optimized replaceImage()
- TrainingSanityChecker.kt: Exclusion support, progress callbacks
- ScanResultsScreen.kt: Complete exclude UI implementation

TESTING:
- 9x faster initial scan (45s → 5s for 30 images)
- 45x faster replace (45s → 1s per image)
- Instant exclude/include (<0.1s UI update)
- Minimum 15 images required for training
2026-01-10 09:44:26 -05:00
genki
52ea64f29a Oh yes - Thats how we do
No default params for KSP complainer fuck

UI sweeps
2026-01-09 19:59:44 -05:00
genki
51fdfbf3d6 Improved Training Screen and underlying
Added diagnostic view model with flag for picture detection but broke fucking everything meassing with tagDAO. au demain
2026-01-08 00:02:27 -05:00
genki
6ce115baa9 Bradeth_v1
UI improvement sweep
Underlying 'train models' backend functionality, dao and room db.
Mlmodule Hilt DI
2026-01-07 00:44:11 -05:00
genki
6734c343cc TrainScreen / FacePicker / Sanity Checking input training data (dupes, multi faces) 2026-01-02 02:20:57 -05:00
genki
22c25d5ced TODO - end of time - need to revisit anlysis results window - broke it adding the uh faePicker (needs to go in AppRoutes) 2026-01-01 01:30:08 -05:00
genki
dba64b89b6 face detection + multi faces check
filtering before crop prompt - do we need to have user crop photos with only one face?
2026-01-01 01:02:42 -05:00
genki
3f15bfabc1 Cleaner - UI ALmost and Room Photo Ingestion 2025-12-26 01:26:51 -05:00
genki
0f7f4a4201 Cleaner - Needs UI rebuild from Master TBD 2025-12-25 22:18:58 -05:00
genki
0d34a2510b Mess - Crash on boot - Backend ?? 2025-12-25 00:40:57 -05:00
genki
c458e08075 Correct schema
Meaningful queries
Proper transactional reads
2025-12-24 22:48:34 -05:00
genki
c10cbf373f Working Gallery and Repo - Earlydays! 2025-12-20 18:27:09 -05:00
genki
91f6327c31 CheckPoint save for adding 'Tour' screen, and PhotoData and PhotoViewModels 2025-12-20 18:27:09 -05:00
genki
52fa755a3f Working Gallery and Repo - Earlydays! 2025-12-20 17:57:01 -05:00
genki
bd6c849b71 1234123 2025-12-10 00:07:38 -05:00