DiamondLightSource / DiamondLightSource/I15J_RCS

Dump image to disk when we see <20 pucks

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When we see less than 20 pucks we want to get some history of why so that we can fix it going forward.

## Acceptance Criteria
* When the `/result` endpoint is called and we find <20 images we dump the image to disk somewhere along with data about which pucks we did see
* We only ever keep a small set of these images (e.g. ~20) when there are more we overwrite previous ones

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the handler for the `/result` endpoint and trace how detected puck data and the image are available there. Decide where the diagnostic images and puck data should be stored, then verify that fewer than 20 pucks triggers capture and that retaining roughly 20 images overwrites older entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, computer-vision
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.