SkillAgentSearch skills...

PhotoSelectionClassifier

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

Install / Use

/learn @rockname/PhotoSelectionClassifier
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

References

  • 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

Related Skills

View on GitHub
GitHub Stars22
CategoryEducation
Updated1y ago
Forks1

Languages

Swift

Security Score

65/100

Audited on Oct 25, 2024

No findings