Lunar crater detector
lunar crater detector on lunar images
2 min readupdated
The model is a specialized object detector based on the YOLO11s architecture, trained to find lunar craters ranging from 2 to 30 kilometers in diameter. It is built on real tiles from the global LRO WAC (Lunar Reconnaissance Orbiter Wide-Angle Camera) mosaic with a resolution of 100 meters per pixel and the Robbins 2018 catalog. The tool automatically determines coordinates and confidence for each detected crater in orbital images of the Moon.
Key features
- Training on real data: LRO WAC tiles and annotations from the authoritative Robbins 2018 lunar crater database were used.
- Good metrics: On a test set from previously unilluminated longitude ranges, the model achieved an mAP50 of 0.788.
- Regional limitation: Trained for latitudes up to 45 degrees and orthographic orbital images.
What you can do
- Orbital image analysis: Find and label craters on new lunar surface tiles at a 640-pixel resolution.
- Automate planetary science tasks: Use the model to process large arrays of space images and catalog impact structures.
Example
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
model = YOLO(hf_hub_download("mvdelibas/ay-krater-lro-wac-yolo11s-v1", "ay_krater_yolo11s.pt"))
result = model.predict("moon_tile.jpg", imgsz=640, conf=0.25)[0]
print(result.boxes.xyxy, result.boxes.conf)Read more
DetailsMetrics (test): mAP50 = 0.788, mAP50-95 = 0.531, Precision = 0.731, Recall = 0.697.
Limitations: craters smaller than 2 km are not labeled in the catalog (may be falsely detected as False Positives), the model does not work with polar regions, Martian images, and rover perspectives.
Dataset: about 3,000 tiles (121 thousand boxes), 60 training epochs.










Comments