SkillsCapabilitiesExploreContact
What we do
Software Engineering
Native and Hybrid App Development
Headless CRM and Auction Storefront
Machine-Vision Physical Therapy App
thumbnail

Machine-Vision Physical Therapy App

2020-5-31
Skill
Role
Web
App
Ml
Summary:
  • Ported a Core ML pipeline to TensorFlow.js and shipped the model logic as a Swift-compiled WASM module shared between web and iOS
  • Built live synchronization between a web canvas and an iOS app so therapist and patient saw the same drawing in real time
  • Integrated the Bullet physics engine into the WASM model to lift prediction quality on noisy machine-vision input

Problem

A physical-therapy product used Swift, Core ML, and TensorFlow to read patient movement from a camera and score it against a clinical protocol. They needed the model to run on the web as well as on iOS, needed better ML data hygiene, and needed a deterministic way to inspect frame-by-frame model output.

What I did

  1. Translated the Core ML model to TensorFlow.js so the same scoring could run in the browser.
  2. Compiled the core scoring logic in Swift to WebAssembly and shared it between the web client and the iOS app.
  3. Built a live synchronization layer between the web canvas and the iOS app so therapist and patient stayed in sync.
  4. Implemented complex physical-therapy tests in Swift / SwiftUI.
  5. Integrated the Bullet physics engine into the WASM module to lift prediction quality against noisy input.
  6. Improved ML data management with Python tooling.
  7. Built data-analysis tooling for deterministic frame-by-frame insight into the machine-vision pipeline.
  8. Set up Terraform deployments for the back-end services.

Outcome

The same scoring model ran on iOS and on the web from a single Swift source, with live therapist/patient sync, better training data pipelines, and reproducible per-frame analysis.

Stack

  • Languages. Swift, TypeScript, Python
  • Platforms. GCP
  • Frameworks. TensorFlow (Python / iOS / JS), SwiftUI, React, Bullet Physics, Terraform
Previous
Featured Work
CNC Surface Grinder RetrofitWelding PositionerStaübli Reborn: Industrial Robot with a Modern Control System
Company Info
About UsContact UsPrivacy Policy
Specific Solutions LLC
Portland, OR