UTC02:22:32
LAUSANNE03:22:32
46.5196°N 6.6322°E

Case // 01

CORV

Secure AI transcription for sensitive research data.

All projects

Fact sheet

I co-designed and built CORV, a self-service platform that transcribes interviews and recordings with speaker diarisation, without any data leaving the institution's servers. Launched at the University of Lausanne, it is now in UNIL's official IT service catalogue, used at the CHUV and deployed at the University of Geneva.

Context
University of Lausanne (UNIL), DCSR
Role
Co-designer and full-stack developer, from requirements to production
Team
Agile team of 3 engineers, each at 20%
Status
In production
  • 3institutions using it: UNIL, CHUV and UNIGE
  • 1,400+users in the first year
  • 10,000+transcription jobs
  • 8,000+ hof audio and video
  • 4x to 12xcheaper than commercial quotes (CHF 17K vs 74K to 220K a year)

Challenge

01

Researchers needed to transcribe interviews containing personal and health data. Commercial services quoted CHF 74K to 220K per year and processed audio on third-party clouds, which clashes with the Swiss Federal Act on Data Protection (nFADP) and the Human Research Act (HRA).

Approach

02

A web application where a researcher uploads audio or video, picks a language or lets it be detected, and receives an email when the transcript is ready. WhisperX transcribes and a diarisation step labels who spoke when. Everything runs on internal servers, reachable only from the campus network or VPN, and files are deleted as soon as the results are downloaded.

Outcome

03

Within a year, more than 1,400 people used CORV for over 10,000 jobs and 8,000 hours of media, at about CHF 17K per year: four to twelve times cheaper than the quotes. CORV then entered UNIL's official IT service catalogue, was covered by myScience, and is now deployed at the University of Geneva too. I presented it to the Swiss Research Data Support community, the Faculty of Biology and Medicine and the CHUV.

Architecture

SCHEMA
CORV: ArchitectureInternal servers, no data sent to the internetClientApplicationProcessingResultsWeb browserCampus network or VPNonlyFlask web appUpload, job tracking,downloadSQL databaseJobs and usage statisticsWhisperX jobsTranscription, languageauto-detectionDiarisationWho spoke when, persegmentEmail noticeSent when the job is doneDownload + purgeFiles deleted afterdownloadHTTPSjobs
Upload, transcription, diarisation and delivery all run inside the institution's infrastructure. Nothing is sent to the internet: the dashed boundary is where sensitive data lives, and only briefly.
Client
Web browserCampus network or VPN only
Application
Flask web appUpload, job tracking, download
SQL databaseJobs and usage statistics
Processing
WhisperX jobsTranscription, language auto-detection
DiarisationWho spoke when, per segment
Results
Email noticeSent when the job is done
Download + purgeFiles deleted after download

Swipe sideways to explore the diagram

What I did

  • Requirements analysis with researchers and data stewards, under nFADP and HRA constraints
  • Privacy by design: no data leaves the institution, files are purged right after download, only usage statistics are kept
  • Open-source speech models (Whisper, WhisperX, Hugging Face) integrated into a production job flow
  • Cost and risk comparison against commercial vendors to support the build decision
  • Adoption beyond its first home: UNIL service catalogue, CHUV and University of Geneva
  • User adoption: documentation, FAQ and presentations to faculties and partners

Stack

Back end
  • Python
  • Flask
  • SQL
AI
  • WhisperX
  • Whisper
  • Hugging Face
Front end
  • TypeScript
  • Tailwind CSS
Infrastructure
  • Docker
  • Linux
  • On-premise servers

Public references

REF

CORV is listed in two universities' IT service catalogues and was covered in the press.

Related services

Need something similar? These are the services this project demonstrates.

Get in touch