International internship · Feb–Jun 2026

Medical imaging pipeline

A Python pipeline that turns measurements embedded in echocardiographic studies into structured, reviewable research data.

My role
AI & software engineering intern
Stack
Python, DICOM, OpenCV, OCR, image processing
Context
2Ai IPCA · Barcelos, Portugal

Recover structure from clinical images

Measurements needed for research were burned into echocardiographic images instead of being available as clean fields. Processing them manually was slow, difficult to repeat, and hard to audit across large study batches.

Detection, extraction, and review

  • Read echocardiographic DICOM studies and detected the regions containing burned-in measurements.
  • Combined OCR and image processing to extract values and export normalized JSON.
  • Built resumable batch processing so long runs could continue safely after interruption.
  • Added validation queues and review tools so uncertain output remained visible to a human reviewer.
  • Extracted ECG traces for downstream analysis.

Use metadata before expensive visual matching

I developed a source-video matcher using DICOM metadata and OpenCV ECC alignment. Metadata narrowed the candidate set before image alignment, reducing one representative run from roughly 21 hours to 23 minutes.

Make research processing dependable

  • Resumable workIntermediate state prevents an interrupted batch from restarting at zero.
  • Human validationReview queues separate uncertain extraction from accepted output.
  • Traceable outputStructured exports retain the connection between source studies and extracted values.
  • Practical handoffCross-platform documentation makes the pipeline reproducible beyond my own workstation.