Skip to content

Better photo detection#1

Merged
Madnex merged 4 commits intomainfrom
better_photo_detection
Jan 5, 2026
Merged

Better photo detection#1
Madnex merged 4 commits intomainfrom
better_photo_detection

Conversation

@Madnex
Copy link
Copy Markdown
Owner

@Madnex Madnex commented Jan 5, 2026

This pull request introduces support for multiple photo detection modes in ScanSplitter, including a new deep learning-based AI (U2-Net) mode, and adds robust handling and UI feedback for downloadable models (U2-Net and orientation). The changes span user documentation, core frontend logic, settings UI, API calls, and type definitions, enabling users to choose detection modes, manage model downloads, and see real-time status updates.

Detection Modes & Model Management

  • Added support for three detection modes: ScanSplitterv1, ScanSplitterv2 (default), and AI (U2-Net); users can now select the mode in the UI, and the backend is called with the appropriate parameters. [1] [2] [3] [4] [5]
  • Introduced model download management: the frontend checks model status and triggers downloads as needed for U2-Net and orientation models, polling for progress and handling errors. [1] [2] [3] [4] [5] [6] [7]

Frontend UI Enhancements

  • Updated the settings panel to allow detection mode selection, toggle between U2-Net lite/full models, and display real-time download progress or errors for required models. [1] [2] [3] [4]
  • Passed model status information from App to the SettingsPanel for user feedback. [1] [2]

API and Types

  • Extended API functions and types to support detection mode and model download operations, including new endpoints for model status and download, and new types for detection modes and model statuses. [1] [2] [3] [4] [5] [6]

Documentation

  • Updated the README.md to document the new detection modes, model download requirements, and updated CLI usage and options. [1] [2] [3]

These changes collectively improve ScanSplitter's flexibility, user experience, and robustness when handling advanced detection scenarios and large models.

Copilot AI review requested due to automatic review settings January 5, 2026 20:58
@Madnex Madnex merged commit d950869 into main Jan 5, 2026
7 checks passed
@Madnex Madnex deleted the better_photo_detection branch January 5, 2026 21:10
@Madnex Madnex review requested due to automatic review settings March 23, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant