/YogaVision

YogaVision app uses Vision framework's ability to detect human body poses and CoreML's ability to recognize the poses to evaluate poses in the video.

Primary LanguageSwift

Yoga Vision

After seeing the new advancements in Vision and CoreML, I thought it would be interesting to build an app that detects various Yoga Poses.

Checkout my Medium article - Where I document the process of building this app - Medium Article

Preview (Youtube Preview Links)

Live Recognizer Preview

Live Recognizer Preview

Video Recognizer Preview

Video Recognizer Preview

Folder Structure

📦Files
┣ 📂MLModels
┃ ┣ 📜YogaImageClassifier.mlmodel
┃ ┗ 📜YogaVision.mlmodel
┣ 📂Recognizer
┃ ┣ 📜FileService.swift
┃ ┣ 📜LiveRecognizer.swift
┃ ┣ 📜PoseRecognizer.swift
┃ ┗ 📜VideoRecognizer.swift
┣ 📂System
┃ ┣ 📜AppDelegate+Injection.swift
┃ ┣ 📜AppDelegate.swift
┃ ┗ 📜SceneDelegate.swift
┣ 📂VideoComponents
┃ ┣ 📜VideoPicker.swift
┃ ┗ 📜VideoPlayer.swift
┣ 📂ViewControllers
┃ ┣ 📜CameraBufferViewController.swift
┃ ┣ 📜LiveRecognizerViewController.swift
┃ ┗ 📜MLInfo.swift
┗ 📂Views
┃ ┣ 📜ContentView.swift
┃ ┣ 📜LiveRecognizer+Representable.swift
┃ ┗ 📜TabSwitcherView.swift