This is a sample app to create a photo selection classifier using CreateML on an iOS Device.
In the demo video below, we are selecting only hamburger photos and share to album.
As a result, a trained photo selection classifier auto-selects hamburger photos.
(photos quoted from: https://unsplash.com/)
- Xcode 13 beta 4
- Swift 5.0+
- iOS 15.0+
It can only be built on an actual device (not simulator) because of CreateML framework.
- https://developer.apple.com/videos/play/wwdc2021/10037
- https://developer.apple.com/videos/play/wwdc2020/10156
- https://developer.apple.com/documentation/createml/creating_an_image_classifier_model
- https://developer.apple.com/documentation/coreml/core_ml_api/downloading_and_compiling_a_model_on_the_user_s_device
- https://developer.apple.com/documentation/vision/classifying_images_with_vision_and_core_ml