PhotoSelectionClassifier

This is a sample app to create a photo selection classifier using CreateML on an iOS Device.

Demo

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/)

PhotoSelectionClassifierDemo

Requirements

  • Xcode 13 beta 4
  • Swift 5.0+
  • iOS 15.0+

Important

It can only be built on an actual device (not simulator) because of CreateML framework.

Sequence Diagram

image

GitHub

https://github.com/rockname/PhotoSelectionClassifier