Inspiration
I had come across an article a while back with shocking statistics, exposing the truth about exactly how much we waste, all while trying to save the planet. As I mentioned in the video, almost 8,000 tons of recyclable material is put into landfills yearly, and 23% of trash sent to recycling centers isn't recycled. Not only is this a massive waste of resources, but it's avoidable, too, if the knowledge gap about recycling was eliminated.
I created SnapCycle as a way to solve this in a fun, enjoyable game-like app.
What it does
SnapCycle has two sections. The analyzing section allows a user to submit an image taken from their camera or photo library and determine whether the objects inside it are recyclable---and where they can be recycled, all through a comprehensive AI analysis. The second section allows a user to collect "saplings," those which they can grow by showing proof of recycling.
How I built it
SnapCycle was built using Gemini AI SDK, a package for Swift that allowed for one to make queries to the API, which we used for the analysis. The rest of the app, and the logic for the seedlings, as most iOS apps are, was built using Swift and SwiftUI.
Challenges I faced
I was still pretty new to Swift and iOS development, so figuring out the complicated MVVM networks was almost impossible. The API also had many problems in regard to privacy concerns. Somehow, however, juggling YouTube tutorials, an all-nighter, and more, I managed to overcome these and make a working app.
Accomplishments that I'm proud of
I'm proud of the UI, as, having done backend for the majority of my coding experience, I didn't fancy myself much of a graphic designer. However, I think it turned out pretty good.
What I learned
I learned so many valuable tricks and techniques for iOS development, which will be invaluable when it comes to the next steps for SnapCycle.
What's next for SnapCycle
I'm planning on creating varients of saplings and making the game feature much more engaging and (eventually) publishing it on the App Store.
Built With
- gemini-vision-api
- swift
- swift-ui

Log in or sign up for Devpost to join the conversation.