Skip to content

Full Disk Detection API #5

Merged
samaloney merged 5 commits intoARCAFF:mainfrom
edoardolegnaro:YOLO
Jun 6, 2025
Merged

Full Disk Detection API #5
samaloney merged 5 commits intoARCAFF:mainfrom
edoardolegnaro:YOLO

Conversation

@edoardolegnaro
Copy link
Copy Markdown

Added detection API.
Modified Dockerfile to account for opencv dependency of YOLO.

Example of usage:

curl -X 'POST' \ 'http://127.0.0.1:8000/arcnet/full_disk_detection' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -d '{ "time": "2025-04-01T12:00:00+00:00" }'

[{"time":"2025-04-01T12:00:30.200000","bbox":{"bottom_left":{"latitude":-20.203333693972063,"longitude":-67.69541256042584},"top_right":{"latitude":-10.056992026483698,"longitude":-24.042161594625497}},"hale_class":"Beta-Gamma","confidence":0.9037618637084961},{"time":"2025-04-01T12:00:30.200000","bbox":{"bottom_left":{"latitude":16.039458660726346,"longitude":2.346035411738709},"top_right":{"latitude":25.696572601435832,"longitude":20.370414632674514}},"hale_class":"Beta","confidence":0.9016443490982056},{"time":"2025-04-01T12:00:30.200000","bbox":{"bottom_left":{"latitude":-21.6460607619992,"longitude":49.051393204524814},"top_right":{"latitude":-5.766099082231392,"longitude":71.31379851687643}},"hale_class":"Beta","confidence":0.8721749186515808},{"time":"2025-04-01T12:00:30.200000","bbox":{"bottom_left":{"latitude":5.198161486627498,"longitude":17.69236193360928},"top_right":{"latitude":24.475982071740567,"longitude":53.496076940079035}},"hale_class":"Beta","confidence":0.823497474193573},{"time":"2025-04-01T12:00:30.200000","bbox":{"bottom_left":{"latitude":0.11430450005995421,"longitude":-40.23106316977737},"top_right":{"latitude":10.676385774014449,"longitude":-16.75888750030481}},"hale_class":"Beta-Gamma","confidence":0.7561596035957336},{"time":"2025-04-01T12:00:30.200000","bbox":{"bottom_left":{"latitude":-33.197363915437265,"longitude":-33.42006113180207},"top_right":{"latitude":-25.53109722711417,"longitude":-11.357358346851925}},"hale_class":"Beta","confidence":0.6935678720474243},{"time":"2025-04-01T12:00:30.200000","bbox":{"bottom_left":{"latitude":-21.25355677596261,"longitude":-22.000078921658712},"top_right":{"latitude":-7.562138411684868,"longitude":-1.995461159045874}},"hale_class":"Beta","confidence":0.6738229990005493}]

For visualisation, this is the plot of the boxes:
image
and the result is in line with solarmonitor:

image

(there is a small alpha AR which is not detected but putted inside the beta one with 0.67 confidede)

@samaloney samaloney merged commit 10489c2 into ARCAFF:main Jun 6, 2025
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.

2 participants