Fløra Lab
Table of Contents
Project
Fløra Lab is a flower classification app backed by a custom trained image classification model at its core. The trained dataset contains over two thousand self captured images from over 70 plant species of the last three years of my journey.
The app project has been developed and designed with Human Interface and Privacy guidelines in mind.
- The user interface is laid out through programmatic auto layout in Swift for UIKit.
- Together with UIBlurEffectView the classification result UI has been designed to look appealing even on screenshots the user may take after the naming process is done.
- Image classification is being processed by Core ML and Vision on-device only and no data ever leaves your iPad.
- If Camera and Photo Gallery access are denied, there is an option to insert an image from UIPasteboard.
- All classification result images were taken and edited by me.
Onboarding
On initial app launch the user gets welcomed by an onboarding screen – something I truly care about when starting a new project and introducing it to newcomers. It is the first impression that matters.
The animation that runs right at the beginning of the onboarding phase was designed in Pixelmator Pro and then animated in After Effects. Together with the power of the Lottie framework I embedded it in an AnimationView and moved on with the scale, translation and fade animations of UIKit.
Installation
You can run Fløra Lab on your iOS, iPadOS or macOS device – tested on iOS 15.4.1, iPadOS 15.4 and macOS 12.4.
Swift Playgrounds
iPad
On your iPad, download and decompress Flora-Lab/Fløra Lab.swiftpm.zip
and open it in Playgrounds. Tap the play button on the top left corner of the code edtitor or use the keyboard shortcut ⌘ R
to run the app.
Mac
On your Mac, download and decompress Flora-Lab/Fløra Lab.swiftpm.zip
, right click and select Open with/Playgrounds.app
. Click on the play button on the top left corner of the window or use the keyboard shortcut ⌘ R
to run the app.
Make sure you update your Mac to macOS 12.4 or later and the Playgrounds app to 4.1 or later.
Xcode
On your Mac, download and decompress Flora-Lab/Fløra Lab.swiftpm.zip
, right click and select Open with/Xcode.app
. Select your plugged in device or a simulator device, click on the play button on the top left corner of the window or use the keyboard shortcut ⌘ R
to run the app.
Copyright
Image classification model FlowerClassifier
is MIT licensed. Created and trained with Create ML 3.0 by Lukman Aščić.
The Lab app icon, Lab app icon animation and Lab flower assets are copyright Lukman Aščić. All rights reserved. None of these materials or parts of it may be reproduced or distributed by any means without prior written permission of the copyright owner.