Foundation ML models and patterns for iOS apps
- π§ Image classification wrapper
- π Prediction result handling
- β‘ Async/await support
- π― Type-safe predictions
- Image Classification
- Text Classification
- Object Detection (coming soon)
import CoreMLStarter
let classifier = ImageClassifier()
let result = try await classifier.predict(image: uiImage)
print(result.label) // "cat"
print(result.confidence) // 0.95Perfect for Detroit ML developers! ποΈ