Skip to content

nerdsupremacist/StopTouchingYourFace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StopTouchingYourFace

iOS macOS

During these strange times, it's important that we all remember that we shouldn't touuch our faces.

Here's SwiftUI App that alerts you when you have touched your face. This happens to be an App version of my submission for the WWDC20 Swift Student Challenge

How does it work?

Well it uses a small (not great) CoreML Classification Model I created using Microsoft's Custom Vision. That classifies wether or not someone in the picture is touching their face. I say that it's not great, because I was lazy and only trained it with 200 images.

Sine my model isn't amazing, I make sure that there's actually a face in the image with Visions VNDetectFaceRectanglesRequest.

And the rest is just pretty SwiftUI code 😍

Why?

Well like I said, this is a submission to the WWDC20 Swift Student Challenge so it's not obviously meant for production. This is just a proof of concept + an opportunity to try out some new things...

Contributions

Contributions are welcome and encouraged!

Related Work

This is heavily inspired by this article by Em Walker.

Similar tools of course exist out there for the web. Most notably this and this.

Learn

This is currenlty a research project. More details about how it works, will be published later.

License

This App is available under the MIT license. See the LICENSE file for more info.

About

SwiftUI App that alerts you when you have touched your face

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages