Skip to content

Feature/detection tuning tab#2888

Open
jerrylewisbh wants to merge 2 commits into
aaronwmorris:devfrom
jerrylewisbh:feature/detection-tuning-tab
Open

Feature/detection tuning tab#2888
jerrylewisbh wants to merge 2 commits into
aaronwmorris:devfrom
jerrylewisbh:feature/detection-tuning-tab

Conversation

@jerrylewisbh
Copy link
Copy Markdown

The Problem

Currently, there is no easy way to tune detection thresholds interactively. The only workflow is to change the threshold in Settings, save, wait for the next capture, and check the logged star count.

Changes Made
This PR adds a Detection tuning tab to the Image Processing page, providing immediate visual feedback for threshold tunning.

  • Adds a "Detection" tab (styled consistently as a tuning tool) to the Image Processing interface.
  • Seeds the tuning fields with current configuration values so the tab opens with meaningful defaults.
  • Introduces a "Run Detection" toggle and result badges for star and meteor counts.
  • When detection is enabled, it runs star and meteor detection on the processed preview image and draws the results directly on the image in-place.
  • Dynamically updates the UI after each request to display the live detection counts and automatically shows or hides the relevant threshold field based on the currently active detection method (Template vs. SEP).

Dependency Note: This PR depends on PR #2887 (feature/sep-star-detection) as the new tab supports tuning for both detection methods.

Adds IndiAllSkyStarsSEP using the sep library to estimate the sky
background and detect real astronomical sources, selectable via a new
DETECT_STARS_METHOD config key ('template' or 'sep'). Adds
DETECT_STARS_SEP_THOLD (sigma threshold, default 5.0). The Settings
page shows both fields with JS show/hide between the two thresholds.
Adds a Detection tab to the interactive image processing tool. Users can
enable star and meteor detection on the preview image with a checkbox.
The star threshold row shown automatically matches the active method
(template threshold or SEP sigma threshold) as configured in Settings.
Detection counts are displayed as result badges after processing.
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