Shakshi3104 / Vision-ML-SwiftUI

Classifying Images with Vision, Core ML and SwiftUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Classifying Image with Vision, Core ML and SwiftUI

Preprocess photos using the Vision framework and classify them with a Core ML model.

This code is a rewritten version of the sample code provided by Apple using SwiftUI.

Getting Started

This sample code project runs on iOS 14+. However, you can also use Vision and Core ML in your own apps on macOS 10.13, iOS 11, or tvOS 11.

For more information on how to use Vision, please see Apple's documentation: Classifying Images with Vision and Core ML

Difference in UI

Left: using SwiftUI, Right: using Storyboard

iPhone 8

iPhone 12 mini

About

Classifying Images with Vision, Core ML and SwiftUI

License:MIT License


Languages

Language:Swift 100.0%