Case // 01
CORV
Secure AI transcription for sensitive research data.
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
01Researchers 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
02A 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
03Within 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- 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
REFCORV is listed in two universities' IT service catalogues and was covered in the press.
- Service catalogueCORVUniversité de Genève
- Service catalogueTranscription automatique de fichiers audios et vidéosUniversité de Lausanne, Centre informatique
- PressUn nouvel outil gratuit de transcription sécurisémyScience · October 1, 2024
- NewsCorv : le nouvel outil de transcription audio et vidéo pour les données de rechercheUniversité de Lausanne, News du Ci · September 2, 2024
Related services
Need something similar? These are the services this project demonstrates.