Your images never leave your computer Runs on your own machine Every result reviewed & signed by you Research prototype — not a medical device

FertiVision Local

Reproductive medicine runs on what the eye sees through a lens — and on trust: that a count was made carefully, a grade assigned honestly, and a patient's images kept private. FertiVision Local is an open-science attempt to give clinicians and researchers measured, reproducible, fully private image analysis — running entirely on your own machine, with WHO 2021 and Gardner criteria built in, and your signature on every result.

From lens to signed report

📸 Capture  →  🔍 Measure  →  📋 Classify  →  ✍ Your signature

The full protocol-driven workflow — study sheet, calibration lock, editable draft measurements, review queue, case timeline — lives in the workspace, one click away. The landing page stays about the why; the app shows you the how.

01Why this matters — the science

Semen and embryo assessment still depends on human visual grading, and the literature has long documented meaningful inter-observer variability — counts and grades that differ between trained embryologists, between labs, between days. Meanwhile, the obvious fix — sharing images and building large collaborative datasets — collides with patient privacy.

Reproducibility

Every rule is an explicit, published cut point — WHO 2021 5th-percentile limits, Gardner & Schoolcraft grading — applied identically every time. No "it looked like a 4BB today". The criteria are inspectable open source.

Privacy as an enabler

Because images never leave the clinician's machine, analysis can happen anywhere — including on data that could never be uploaded to a vendor cloud. Privacy here is not a constraint; it is what makes the tool usable at all.

Measurement, not marketing

Every number this project states is measured on held-out expert-annotated data, with a confidence interval, and the validation code is public. When a component is not good enough yet, we say so — and the system refuses to switch it on.

02Honest performance — stated as it is

The AI sperm detector does not yet meet its own quality bar.
Measured against 1,478 expert-annotated frames from videos the model had never seen (VISEM-Tracking, 20 videos verified across three biology labs), the detector reached 56% detection accuracy — our pre-set acceptance bar is 85%. So the system refuses to use it and falls back to a fully auditable classical image-analysis method instead. We would rather show you an honest number than a polished demo.
0.56
Trained detector accuracy (needs 0.85 to switch on)
Active
Auditable classical counting method — in use today
0.44
Draft F1 if the detector were switched on (95% CI 0.44–0.45)

03What you can use it for today

Semen analysis (WHO 2021)

Concentration and motility-relevant counts from microscopy images, classified against WHO 2021 5th-percentile reference limits — oligo-/astheno-/teratozoospermia called by explicit, published cut points you can inspect.

Follicle tracking

Ultrasound follicle counts under a per-study calibration. Longitudinal progression is computed with a fixed ±15% change flag, rates per day, and guarded math — suitable for monitoring a patient over weeks.

Blastocyst grading (Gardner)

Expansion, ICM, and trophectoderm grades mapped to transfer recommendations per Gardner & Schoolcraft (1999), including low-confidence handling for incomplete grades.

A case timeline, like a chat feed

Every photo, video, document, or note for a case becomes a timeline point under the same protocol — so the follow-up visit has the full history in one place, each point signed off by the responsible clinician.

04Why privacy is structural, not a promise

Patient images are analysed inside your browser, on your machine. There is no upload code path at all — this is verifiable in the open source and enforced in the app. The only thing that crosses to the local server (which also runs on your machine) is structured numbers and text: counts, grades, dates, and your signature. Nothing is sent to any cloud, including ours.

05What is still pending

ItemStatus
AI sperm detector accuracy (56% measured, 85% required) Open — classical auditable method is used meanwhile
Prospective inter-rater study (app vs ≥2 blinded embryologists) Not started — required before any clinical use
Regulatory clearance (this is not a medical device) Not started
Report narrative drafting (needs a local install) Works locally only; this portal is informational

06Run it on your own machine

Two commands and a browser — no account, no data leaving your network. Full instructions (including Docker) are in the README:

# 1. Start the local review server
pip install -r requirements.txt
uvicorn server.app:app --port 8000

# 2. Open the app
python3 -m http.server 9000 --directory static
#    → http://localhost:9000   (images stay in the browser)

07Evidence & provenance

ClaimEvidence
Expert-annotated training data VISEM-Tracking (Scientific Data, 2023): 20 videos, 29,196 frames, verified in three biology labs — CC BY 4.0
Semen classification criteria WHO 2021 Laboratory Manual, 6th ed., 5th-percentile reference limits
Blastocyst grading criteria Gardner & Schoolcraft (1999)
No image ever uploaded Open source — the browser app contains no image-upload code; enforced by design and by test
Every number on this page Reproduced by the validation suite; see full provenance