Skip to content

Add confidence scores to SAM prediction output - #152

Open
YanCheng-go wants to merge 1 commit into
masterfrom
feature/74-scores-in-predictions
Open

Add confidence scores to SAM prediction output#152
YanCheng-go wants to merge 1 commit into
masterfrom
feature/74-scores-in-predictions

Conversation

@YanCheng-go

Copy link
Copy Markdown
Owner

Summary

  • SAM's raster_to_vector now includes the best IOU score per object as a "score" property in GeoJSON features
  • Scores are rounded to 4 decimal places
  • Updated OpenAPI spec and API docs to reflect score in feature properties

Closes #74

Test plan

  • 7 unit tests pass (test_scores_in_output.py)
  • Verify SAM predictions include score property with a running server

🤖 Generated with Claude Code

SAM's raster_to_vector now includes the best IOU score per object
in the GeoJSON feature properties as "score".

Closes #74

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

feature: add score in the output predictions according to the scores from the model

2 participants