Skip to content
This repository was archived by the owner on Sep 10, 2026. It is now read-only.
newmesPublic archive

About

CLARA iOS 앱 — 온디바이스 의료 비전 모델로 AI 임상 상담 데모 + 데이터 수집 에이전트 백엔드

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Archived 2026-09-10 — 프로젝트 종료(앱). 웹 레포: CLARA

CLARA_Call

An iOS app that demonstrates AI-powered clinical consultations using on-device medical vision models and a Data Collection Agent backend.

Features

  • On-device medical image embeddings via MedSigLIP vision encoder converted to CoreML — 448x448 input, 1152-dim embedding output, runs on CPU + Neural Engine
  • AI nurse consultations powered by a Data Collection Agent backend — interprets visual findings and responds with text + TTS audio

Requirements

  • Xcode 16.2+
  • XcodeGen (brew install xcodegen)
  • iOS 18.0+ deployment target
  • Python 3 with huggingface_hub installed (pip install huggingface_hub)
  • ~815 MB disk space for CoreML model

Getting Started

1. Clone the repo

git clone https://github.com/JacobNewmes/CLARA_Call.git
cd CLARA_Call

2. Fetch CoreML models

The models are hosted on Hugging Face Hub and are not checked into git. Run the fetch script to download them:

./scripts/fetch-models.sh

This downloads into CLARA/Resources/:

Model Size Purpose
MedSigLIP_VisionEncoder.mlpackage 815 MB Medical image embedding

3. Generate the Xcode project

The .xcodeproj is not checked in — it's generated from project.yml:

xcodegen generate
open CLARA.xcodeproj

4. Configure environment variables

In Xcode, go to Product > Scheme > Edit Sceme > Run > Environment Variables and add:

Variable Description
GEMINI_API_KEY Required for generating TTS(text-to-speech) audio file on Data Collection Agent backend server

Note: If the API key has reached its daily quota, the demo will not be functional.

5. Build and run

In Xcode, go to Signing & Capabilities and select your development team to sign the provisioning profile. Then select a physical iOS device (CoreML models require Neural Engine — Simulator won't work well) and hit Cmd+R.

On first launch, CoreML compiles the models for your device's Neural Engine. This takes about 20 seconds (on iPhone 15 Pro) and is cached for subsequent runs.

How It Works

  1. Startup — The app loads MedSigLIP VisionEncoder onto the Neural Engine. An incoming call screen is shown while loading; once ready, CLARA "calls" the user.
  2. Accept call — User taps Accept to enter the consultation. CLARA asks an opening question via audio.
  3. 3-tap demo — Each tap plays a pre-recorded patient video reply. After the first reply, audio and a mid-frame embedding are extracted and sent to the Data Collection Agent backend, which returns a nurse response with TTS audio.

About

CLARA iOS 앱 — 온디바이스 의료 비전 모델로 AI 임상 상담 데모 + 데이터 수집 에이전트 백엔드

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages