Skip to content

Commit 6abd219

Browse files
authored
Treshold (#38)
* feat: remove low and high threshold parameters from ring detection and introduce a custom slider component * feat: manage analyze query parameter during analysis lifecycle * feat: add @react-native-community/slider dependency to package.json and package-lock.json * fix: update layout of ProgressStep component to use flex row for better alignment * refactor: remove outdated comment regarding handleRetryAnalysis function * refactor: reorganize Edge Detection Settings popover for improved layout and accessibility
1 parent 454e82b commit 6abd219

File tree

7 files changed

+290
-202
lines changed

7 files changed

+290
-202
lines changed

tree-disk-api/src/api/endpoints/rings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ async def detect_rings(
3434
cx: int,
3535
cy: int,
3636
sigma: float = Query(3.0, description="Sigma parameter (optional)"),
37-
th_low: float = Query(5.0, description="Low threshold (optional)"),
38-
th_high: float = Query(20.0, description="High threshold (optional)"),
37+
# th_low: float = Query(5.0, description="Low threshold (optional)"),
38+
# th_high: float = Query(20.0, description="High threshold (optional)"),
3939
image: UploadFile = File(...),
4040
) -> Response:
4141
"""
@@ -57,8 +57,8 @@ async def detect_rings(
5757
cx=cx,
5858
cy=cy,
5959
sigma=sigma,
60-
th_low=th_low,
61-
th_high=th_high,
60+
# th_low=th_low,
61+
# th_high=th_high,
6262
save_results=SAVE_RESULTS,
6363
debug=DEBUG,
6464
)

0 commit comments

Comments
 (0)