Merged
Conversation
samaloney
approved these changes
Jun 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:

and the result is in line with solarmonitor:
(there is a small alpha AR which is not detected but putted inside the beta one with 0.67 confidede)