All works
Case study · iOS · Core ML · Vision
AppleDetect
An iOS app that grades apples with on-device machine learning: the camera detects every apple in a crate, a Core ML model sorts each one into quality classes, and the result guides which crate it goes into.
- My role
- Independent mobile developer
- Platform
- iOS · Swift
- Focus
- On-device machine learning
The brief
Sorting apples by quality is slow by hand. The client wanted a phone to look at a crate and tell which apples belong in which class, without sending images to a server.
What I did
- Built the native iOS app in Swift with Vision and Core ML.
- Integrated a Create ML object-detection model that finds and boxes every apple, with tuned confidence and overlap thresholds.
- Used DeepLabV3 segmentation to remove the background.
- Added live camera capture and an image cropper.
- Built a performance monitor showing CPU, memory, FPS and inference time, and the count of detected apples.
Stack
- Swift
- Vision
- Core ML
- Create ML
- DeepLabV3
- AVFoundation
Team
I built the iOS app and the machine learning integration myself. The work integrates an existing model; no claim on model training or accuracy.
The result
Apple grading that runs entirely on the device, with live feedback on how fast the model runs.