Preprint
Article

This version is not peer-reviewed.

For Robots, Seeing Is Not Reading: Can Vision-Language Models Replace Text Recognition Pipelines?

Submitted:

25 November 2026

Posted:

26 November 2026

You are already at the latest version

Abstract
Robots could read handwritten notes and report their content by speech, but it is unclear which reading approach is most reliable. Two-stage pipelines combine optical character recognition with a large language model, whereas vision-language models read the image directly. The first part compared both approaches on synthetic handwritten nursing notes in German. Seven systems transcribed the notes, and thirteen systems extracted medications and vital signs, scored against a manually verified reference. For transcription, a local vision-language model had a median character error rate of 1.60%. It was significantly more accurate than every system it was tested against. For the optical character recognition systems, the font had a large effect on the error rate. For extraction, neither architecture was consistently better across model families. All systems reported clinical entries that were not in the note. In notes without a medication to be extracted, every system except the local vision-language model invented at least one medication. In the second part, a pilot test on a humanoid robot used real handwriting. The deployed model had a median character error rate of 4.5% on flatbed scans but 33.0% on camera images. Image capture, failure checks, and human confirmation are therefore essential when robots read handwritten clinical notes.
Keywords: 
;  ;  ;  ;  ;  ;  

1. Introduction

1.1. Motivation

Recognizing handwritten documents is needed in applications ranging from data entry to accessibility [1]. Transferring such documents into digital systems by hand takes time and can introduce errors and omissions. The risk increases when entries are incomplete, heavily abbreviated, or hard to read.
A robot that operates in human environments could take over this step. It captures the document with its own camera, processes it, and reports the content by speech in a single interaction. No additional device is needed, and the user does not have to operate any software. With a scanner, a person has to scan the document, process the result on a computer, and then read it. The robot responds by speech and can be addressed in dialogue. It could therefore also support people for whom reading or operating a device is difficult, such as people with visual or motor impairments.
Reading documents reliably on a robot is, however, difficult for several reasons. First, handwriting varies between writers, and optical character recognition (OCR), the established approach to digitizing documents, is less reliable on handwriting than on printed text [1,2]. Second, a robot adds constraints that a flatbed scanner does not have. Its camera has a fixed resolution, and lighting, distance, and the orientation of the sheet vary. Third, language models can generate content that is not present in the source [3], which is critical when the extracted values are used further. Fourth, documents can contain sensitive data, so processing on or near the robot may be required.
Large language models (LLMs) can correct and structure OCR output, which leads to two-stage pipelines. Vision-language models (VLMs) process the image directly and combine visual and linguistic context in a single step. Which of these approaches reads handwritten documents more reliably is an open practical question.
This study uses handwritten nursing notes as an application example. In hospitals, nursing documentation is often still kept on paper, including the charts for vital signs [4]. In a survey of German nursing homes, almost half of the respondents documented on paper or in a hybrid form [5]. Nursing documentation also takes up a considerable share of nurses’ working time [6]. The notes contain domain-specific terms, abbreviations, and clinically relevant values such as medications and vital signs. Errors in these values matter, which makes the case suitable for evaluating reliability.
The robot scenarios described above motivate the work but are not evaluated in it. Instead, the study examines whether current models read such notes reliably enough for these scenarios. It has two parts. The first part compares two-stage pipelines with end-to-end VLMs on synthetic handwritten nursing notes. The second part is a pilot test on the robot Pepper with real handwriting. The following section reviews prior work on reading and extracting information from handwritten documents.

1.2. Related Work

This section covers document digitization, the recognition of clinical documents, the extraction of structured data with language models, and robots that read text.
Two approaches have emerged for document digitization. In the first, an OCR system recognizes the text and an LLM subsequently corrects and structures it. This approach is motivated by the fact that poor scan quality, complex layouts and domain-specific abbreviations increase the error rate of conventional OCR. Veninga [7] fine-tuned the character-level model ByT5 for OCR post-correction and compared it with a prompt-based Llama model. De Araújo et al. [8] proposed post-OCR spelling correction using language models. In the clinical domain, Kang et al. [9] extracted, corrected and structured karyotype data from oncology notes despite OCR errors.
In the second approach, a VLM processes the image directly, without a separate OCR step. Lamm and Keuper [10] examined in a retail case study whether VLMs can replace OCR-based pipelines in production. Specialized VLMs such as olmOCR [11] and LightOnOCR [12] are trained specifically for reading documents. On OCRBench, even large multimodal models showed marked weaknesses, particularly on handwritten text [13]. The two approaches also differ in their error patterns. Vesalainen et al. [14] compared TrOCR with a VLM on historical texts. The VLM achieved lower error rates but smoothed wording and normalized spelling. TrOCR preserved the original orthography more faithfully but was more prone to cascading errors.
Recognition errors are particularly critical in the clinical domain, where a mistranscribed drug name or dose can have clinical consequences. Abbreviations and inconsistent spelling further complicate recognition. Schäfer et al. [15] applied VLMs to scanned transfusion reaction reports. MeDocVL [16] is a VLM specialized for medical documents and was evaluated on medical invoices. Handwriting poses an additional challenge. Carchiolo et al. [2] concluded that general-purpose OCR systems are not yet reliable enough for extracting clinical data from handwritten records. Pather et al. [17] compared 17 multimodal models on handwritten maternity case records. The best commercial models reached an exact-match accuracy of about 85%. Small open-source models performed considerably worse in a preliminary test on synthetic forms.
For the subsequent extraction step, Huang et al. [18] showed that ChatGPT can extract structured data from pathology reports with high accuracy and without task-specific training. The i2b2 medication challenge evaluated the extraction of medications and their attributes, such as dosage, separately for each field [19]. However, language models can invent content [3]. Analyzing discharge summaries with open-source models, Das et al. [20] found that the models were less consistent in identifying follow-up recommendations and that hallucinations occurred. With regard to data protection, privacy-preserving open-weight models performed comparably to GPT-4o in extracting findings from chest radiography reports [21].
Robots that read text in their environment are not new. Case et al. [22] deployed a mobile robot that read door signs and added room names to its map. Pepper [23], the robot also used in this work, has been evaluated in a ten-week case study in a care home [24]. A recent review summarizes nursing staff’s attitudes toward such robots [25].
In summary, to the authors’ knowledge, three gaps remain. First, no study has compared two-stage pipelines and end-to-end VLMs on handwritten German nursing notes. This includes comparing local models with models accessed via an application programming interface (API). Second, no study was found that assesses extraction from handwritten notes at field level with attention to invented entries. Third, no study was found in which a robot reads handwritten nursing documentation and extracts the clinically relevant information. The first part of this study addresses the first two gaps, and the second part addresses the third (Section 1.3).

1.3. Contributions and Research Questions

The first part of the study, with synthetic notes under controlled conditions, addresses three research questions:
RQ1
How accurately do OCR systems and VLMs transcribe handwritten notes?
RQ2
Do end-to-end VLMs extract key information, such as medications with doses and vital signs, more accurately than two-stage OCR and LLM pipelines?
RQ3
How often do the systems report entries that are not in the note? The second part, a pilot test on Pepper, addresses the fourth:
RQ4
How does an end-to-end VLM perform on a real robot with real handwriting?
The contributions are as follows:
  • A paired comparison of seven transcription systems and 13 extraction systems on synthetic handwritten nursing notes. Extraction is evaluated field by field against a manually verified gold reference.
  • A locally run VLM with 8 billion parameters (8B) was quantized to 4 bits and ran on a consumer graphics processing unit (GPU). It transcribed significantly more accurately than each system it was tested against. In extraction, it was significantly more accurate than the two pipelines with a text-only model of the same family that it was tested against. One of these two differences was significant only in the main test (Section 3.4). No significant difference was detected compared with the API-based VLM it was tested against.
  • Legibility of the input strongly affected the results. For the OCR systems, the font had a large effect on the character error rate (CER; ε 2 = 0.67–0.78). The model used on the robot transcribed flatbed scans of the same sheets far more accurately than the robot’s camera images.
  • All 13 extraction systems invented at least one clinical entry. A field-level evaluation makes such entries visible.
  • An integration on the robot Pepper with fixed model versions and logging of each step. The API-based models were not deterministic despite fixed decoding parameters, but a repeated transcription run changed no test decision.
This study builds on the first author’s bachelor’s thesis [26]. Section 2 describes the data, systems, and evaluation of both parts. Section 3 reports the results, Section 4 discusses them, and Section 5 concludes.

2. Materials and Methods

This section describes the experimental design, the synthetic dataset, and the evaluated systems with their settings and prompts. It then covers the evaluation measures, the tests on the robot Pepper, the statistical analysis, the use of generative AI, and the involvement of human writers.

2.1. Experimental and Technical Design

The study evaluates two tasks on images of handwritten nursing notes (Figure 1). The images are either rendered from synthetic scenarios (Section 2.2) or captured by the camera of the robot Pepper (Section 2.7).
Task 1 is transcription. Each system produces the full text of the note, which is evaluated by the character error rate (CER) against the ground truth. Task 1 covers the OCR systems EasyOCR, Surya, and LightOnOCR-2-1B and the VLMs.
Task 2 is structured extraction. Each system produces a JavaScript Object Notation (JSON) object with fixed fields for header data, medications, and vital signs. The main measure is the micro-averaged F1 over the clinical fields (medications and vital signs; clinical micro F1) against the gold reference. Two architectures are compared. In the end-to-end architecture, a VLM (Qwen3-VL-8B, GPT-4o-mini, Ministral 3 14B, or Ministral 3 8B) extracts the fields directly from the image. In the two-stage pipeline, an OCR system first transcribes the image. A text-only LLM (Qwen3-8B, GPT-4o-mini, or Ministral 3 8B) then extracts the fields from this text. Each of the three OCR systems is combined with each LLM. In a reference condition, the LLMs receive the clean scenario text instead of OCR output, which gives an upper bound for the pipelines. All prompts are zero-shot. On the robot, Ministral 3 8B performs both tasks.
The comparison in Task 2 addresses two questions. The first is whether end-to-end VLMs extract clinical information more accurately than two-stage pipelines. The second is whether the OCR system changes the extraction result of the same LLM, which is answered descriptively.
Section 2.2 to Section 2.6 and Section 2.8 describe the first part of the study, and Section 2.7 and Section 2.10 describe the second part. Section 2.9 applies to both.

2.2. Synthetic Dataset

For data protection reasons, real nursing records could not be used, and no public dataset of German handwritten nursing documentation was found. A synthetic dataset was therefore constructed. It is based on 50 scenarios from inpatient geriatric care, generated with the chat assistants ChatGPT (OpenAI) and Gemini (Google) and used without clinical validation. The exact model versions and prompts were not recorded. Because of this, the generated scenario texts are deposited in full on Zenodo (see Data Availability). Each scenario is stored as a JSON object including patient name, age, room, care level, date, and a free-text note. The notes are written in German, the language of the intended setting in German care facilities. Patient ages range from 71 to 94 years. Care levels 1 to 5 comprise 6, 15, 16, 9, and 4 scenarios, respectively. Note length ranges from 174 to 1,336 characters (median 433). The notes contain common clinical abbreviations such as RR (blood pressure), BZ (blood glucose), and SpO2 (peripheral oxygen saturation).
The notes were rendered as handwriting-like images by a Python pipeline based on the Pillow library. Each image shows a header with patient name and date above the note. The resulting corpus comprises 3,000 images generated with 24 font files from 22 handwriting font families. Each font file was assigned to exactly 125 images, whereas the scenario was sampled at random for each image (48–77 images per scenario). Further parameters varied per image (Table S1; distribution per evaluation subset in Figure S1). Page formats (A5, or A4 at 150 or 300 dpi) were drawn with probabilities that depend on text length. The images also varied in five paper colors, four ruling types (blank, lined, squared, dotted), and three writing styles (normal, careful, stressed). They further used three pen colors (black, dark blue, dark gray) and, in some images, reduced ink opacity. A separate random seed was used for each image. None of the font files covers the full character set of the notes. The degree sign, capital sharp s, arrow, and check mark in particular are missing from some or all fonts. These characters are retained in the reference text but absent from the rendered image, affecting 331 of the 3,000 images. With a reference cleaned of these characters, the font effects remained unchanged (Section 3.2). Without the affected documents, no decision of the Task 1 test family changed (Section 2.5). Figure 2 shows example images and the derivation of the evaluation subsets.
Four subsets were derived for evaluation (Figure 2b; Table S2). The test corpus consists of the first image of each font–scenario pair present among the 3,000 images (1,112 images). Owing to the random scenario assignment, 88 of the 1,200 possible pairs do not occur. The OCR systems were evaluated on the OCR evaluation set ( N = 559 images). It applies the same rule to every second scenario in alphabetical order of patient names (25 scenarios, all 24 font files). For the VLMs in Task 1, the VLM subset ( N = 48 images) was used. It was selected from the generation metadata such that every font file is represented at least once (Table S3). This selection is not random, and five of these images lie outside the test corpus. The selection used only the generation metadata and no model output, and the set was fixed before the VLMs were run. Task 2 is based on the Task-2 sample ( N = 65 images). It comprises the 48 images of the VLM subset and one randomly drawn test-corpus image (seed 42) for each of the 17 remaining scenarios. All 50 scenarios, each with a manually verified gold reference, are thus covered. Within each subset, all systems processed identical images, enabling paired comparisons. Each rendered image is treated as one document.

2.3. Models and Inference Settings

Three groups of systems were compared (Table 1). Three OCR systems transcribe the image: EasyOCR [27], Surya [28], and LightOnOCR-2-1B [12]. Four VLMs read the image directly: Qwen3-VL-8B [29], GPT-4o-mini [30], Ministral 3 14B, and Ministral 3 8B [31]. For Task 2, each OCR system was combined with each of three LLMs: Qwen3-8B [32], GPT-4o-mini, and Ministral 3 8B. This yields nine two-stage pipelines and, together with the four VLMs, 13 systems. Ministral 3 8B as a VLM is reported descriptively and is not part of the statistical tests (Section 2.8).
Local models ran on an Intel Core i5-13400F CPU with 32 GB of RAM and an NVIDIA GeForce RTX 3060 GPU with 12 GB. The operating system was Windows 11. Qwen3-VL-8B and Qwen3-8B were loaded with 4-bit NormalFloat (NF4) quantization [33,34], double quantization, and bfloat16 compute precision. The software comprised PyTorch 2.10.0, transformers 4.57.6, and bitsandbytes 0.49.1. LightOnOCR-2-1B ran in bfloat16 with transformers 5.3.0. EasyOCR used the German language setting. The thinking mode of Qwen3-8B was disabled, and no output contained a reasoning block.
For local models, the seed was set before each document, and PyTorch was restricted to deterministic algorithms. Repeated runs of Qwen3-VL-8B and LightOnOCR-2-1B on three documents each gave identical outputs. In the preceding thesis, LightOnOCR-2-1B was run with sampling but without a fixed seed; here, the seed was fixed. The VLMs could generate up to 2048 tokens, whereas the preceding thesis used a limit of 1024. Stored EasyOCR and Surya outputs from the preceding thesis were reused; repeat runs of both systems on three documents reproduced them exactly. Images were sent to the API models as base64-encoded PNG files without resizing. The detail parameter of GPT-4o-mini was not set, so the API default applied. For Qwen3-VL-8B, the processor resized each image to lie between 200,704 and 1,003,520 pixels. API models were called with fixed version names. The model name reported in each response was stored and matched the requested version in all responses. Despite a temperature of 0 and a fixed seed, the API models did not return identical outputs for identical requests. A repeated Task 1 run of the three API models changed none of the test decisions (Supplementary Text S1). The Mistral VLM version of the preceding thesis had been retired [35], and requests to it were answered by a newer model (Supplementary Text S2). Wall-clock time per document was recorded for all LLM and VLM runs (Section 3.8).

2.4. Prompts

All models were used zero-shot, without examples, training, or fine-tuning. The prompts were written in German; only the system prompt of the API models in Task 1 was in English. The Task 1 prompt was taken unchanged from the preceding thesis. It requests an exact transcription without summarizing or adding content and marks unclear words as [UNK]. As in the preceding thesis, Qwen3-VL-8B received a different system prompt than the API models.
Task 2 used a new prompt that requests a single JSON object following an output template with placeholders for header fields, medications, and vital signs. The vital-sign type is one of RR (blood pressure), Puls (pulse), Temp (temperature), SpO2, BZ (blood glucose), and AF (respiratory rate). Missing information is coded as null or as an empty list. The field rules contain example values such as “5 mg”, “120/80”, and “36,7”; their reappearance in outputs is analyzed in Section 3.6. Times, events, and nursing measures are excluded from extraction. The prompts for OCR text and for images differ only in the description of the input, and the pipelines append the OCR text. The gold-reference rules for dose changes and optional entries (Section 2.6) are not part of the prompt. Supplementary Text S3 gives all prompts verbatim. The robot application uses the Task 1 and Task 2 prompts verbatim (Section 2.7).

2.5. Transcription Metrics

Transcription accuracy was measured with the CER, the main metric of Task 1. CER is the number of character substitutions, deletions, and insertions divided by the number of characters in the reference. It was computed with jiwer 4.0.0 after normalization. Line breaks and tabs were replaced by spaces, text was lowercased, and repeated spaces were collapsed. Umlauts, sharp s, punctuation, and digits were preserved, and spaces count as characters. The word error rate (WER) was computed analogously on whitespace-separated words and is reported descriptively. Neither metric is capped at 100%, since inserted text can make an output much longer than the reference.
The raw ground truth served as the reference for all systems. As a robustness check, the Task 1 tests were repeated without the documents with missing glyphs (Supplementary Table S5). A reference cleaned of these glyphs was used only in the font analysis (Section 3.2). For each system, the median and interquartile range of the per-document values are reported. A document with a CER above 100% counts as a failure, and the failure rate is the proportion of such documents. A detection rule for failures was fixed before the results were inspected and was not adjusted afterwards. It flags an output that is more than twice as long as the reference or that repeats a word trigram at least five times. Its results are given in Section 3.3.

2.6. Structured Extraction and Field-Level Evaluation

Task 2 differs from the preceding thesis, which evaluated free-text summaries with text-similarity metrics. A summary can describe a note in general terms. Care decisions, however, depend on specific values such as a drug name, a dose, or a blood pressure reading. Task 2 therefore requires structured extraction into a fixed JSON object (Section 2.4). A fixed structure allows each value to be checked against a reference. On the robot, it also allows the result to be read aloud with a fixed sentence template.
Outputs were scored field by field rather than by text similarity. An output can closely resemble the reference text and still contain a wrong dose or an invented medication. In similarity metrics such as ROUGE [36] or BERTScore [37], such an error changes only a few tokens and thus the score only slightly. A field-level comparison counts it as an explicit error. Field-level scoring of medications and their attributes follows common practice in clinical information extraction [19].
The gold reference contains only information visible in the image, that is, the note, the patient name, and the date. It was pre-filled automatically, completed by rule-based and manual additions, and reviewed manually for all 50 scenarios. The review required no corrections. The rules for building it were fixed before any output was scored. For example, each recorded measurement is a separate entry, and a changed dose is represented by the new dose. Oxygen, infusions, and fluid volumes are not scored. Substances that were not clearly administered or prescribed, such as wound dressings or a possible dose adjustment, are optional entries. All rules are listed in Supplementary Text S4 and Table S6.
Each extracted entry was matched to the gold reference within its field type. Spelling variants such as “5mg” and “5 mg” were normalized before matching. Medication names were compared with a string-similarity score, with a threshold of 90 out of 100. A correct entry counts as a true positive (TP). An entry with a wrong value counts as both a false positive (FP) and a false negative (FN). The correct value is missed, and an incorrect one is asserted. This choice reflects that a wrong value is potentially more harmful than a missing one. A missing gold entry counts as an FN, and an entry without a gold counterpart counts as an FP. Optional entries count neither way. F1 is computed as 2 TP / ( 2 TP + FP + FN ) . All matching rules are listed in Table S7.
The main result uses the strict name variant. A slightly misspelled drug name can denote a different substance, so near matches count as wrong. A lenient variant is reported in Supplementary Table S8. Clinical fields, that is, medications and vital signs, form the main outcome, and header fields are reported separately. Micro F1 pools all entries across documents. Each entry thus has equal weight, and documents with more entries contribute more.
Outputs that could not be parsed despite purely syntactic repairs counted as format errors, with all fields omitted. Format-error rates and the frequency of each repair are reported in Supplementary Text S5. One repair, for unquoted numbers with leading zeros, was added after format errors had occurred. It was defined without inspecting output content and applied to all stored outputs of all systems.

2.7. Robot Application

The robot application runs on the tablet of a Pepper humanoid robot and was written in Java for Android with the Qi software development kit (QiSDK, version 1.7.5). It implements a state machine with four main states (Supplementary Figure S2). In the idle state, a user starts a scan by saying “Dokument ist bereit” (“the document is ready”). Tapping a button on the tablet does the same. In the scanning state, the robot announces the photo. A countdown from three is shown on the tablet and ends with a beep. The robot then takes a photo with its built-in camera, using the TakePicture action of the QiSDK [38]. Its documentation shows no setting for resolution or camera, and all photos had 1280 × 960 pixels. During countdown and photo, gaze tracking, background movements, and blinking are paused. The application issues no movement commands to the base. In the analysis state, the robot announces that it is reading the note. It sends the photo twice to Ministral 3 8B, once with the Task 1 prompt and once with the Task 2 prompt (Section 2.4, Table 1). Ministral 3 8B was chosen for deployment reasons: no local model on the robot, data processing in the EU, and one model for both tasks. The choice was not based on test results. The camera delivers JPEG frames. The application converts them to lossless PNG without resizing, as long as the file stays below 8 MiB. In the result state, a summary built from the Task 2 output with a fixed sentence template is read aloud. The transcription is shown on the tablet, and no further model call is made. Each step is announced by speech, so the user knows which step is running.
A run allows up to three attempts. Transmission errors are retried with the same request. If the Task 2 output cannot be parsed or contains no field, the robot asks for the sheet again and takes a new photo. A camera error also leads to a new photo. The image itself is not checked before it is sent. Each run is logged with a run identifier, the application version, the request parameters, and the prompt version. The log also holds the raw model outputs, the model name reported by the API, timestamps, and the photos. The tests used a release build that differs from the version prepared for the study only in one regular expression of the output parser. The original expression was not supported on the tablet.
The robot tests were a pilot test of the application. Three writers (A, B, and C; two of them authors) copied the printed text of scenarios 20, 30, and 32 by hand. The copies included the header lines. Paper type (plain A4, ruled A5, squared A5) and writing style (normal, careful, hurried) were varied. Each writer used each paper type and each style once. Deviations from the template, such as omitted or misspelled words, were recorded and included in a sheet-specific reference. The tests took place in the institute’s lab with ceiling lights on, with daylight from the windows. The sheet was held upright about 30 cm in front of the robot’s head. This distance was fixed after trial runs, in which sheets held at about 50 cm appeared too small in the image. In series A, all nine sheets were captured under these standard conditions. In series B, two sheets were captured again, each time with one factor changed: rotated by 90°, ceiling lights off, or held at 50 cm. Attempts with handling problems (sheet position, distance, or cut-off text) were repeated and excluded. After the session, all series-A photos were checked for complete text with the same criterion. All sheets were also scanned on a flatbed scanner (300 dpi, color, cropped to the sheet, no further processing). The camera images of the valid runs and the scans were processed again by all systems of Table 1, with the same prompts and settings.

2.8. Statistical Analysis

Two families of paired tests were fixed in advance. The Task 1 comparisons were defined before the new runs of the VLMs, and the Task 2 comparisons before any Task 2 output was scored. The Task 1 family originally contained two further tests based on a discarded metric. Their removal and an adjustment over all nine tests are reported in Supplementary Text S6. All tests were two-sided, with a significance level of 0.05 after Holm adjustment [39].
Task 1 comprises seven comparisons of per-document CER on the N = 48 images. Each was tested with a paired Wilcoxon signed-rank test [40], dropping zero differences before ranking. The effect size is the matched-pairs rank-biserial correlation. P-values were adjusted with the Holm method over the seven tests. Robustness was checked with the Pratt variant, which ranks zero differences, and by excluding the five documents with missing glyphs.
Task 2 comprises five comparisons on the N = 65 images. Four compare a VLM with a two-stage pipeline whose LLM belongs to the same model family. The fifth compares Qwen3-VL-8B with Ministral 3 14B. The main test is a paired bootstrap [41] of the difference in clinical micro F1. Scenarios were resampled with replacement 10,000 times (seed 42), each with all of its images. The 95% percentile interval and a two-sided bootstrap p-value are reported, Holm-adjusted over the five tests. A paired Wilcoxon test on per-document clinical micro F1 supplements it, restricted to the 30 documents with at least one clinical gold entry.
All other comparisons are descriptive, including Ministral 3 8B as a VLM. The font effect was described with Kruskal–Wallis tests of CER across font files, with ε 2 as effect size. Spearman correlations of per-font median CER between systems are descriptive as well. Rankings are derived only from the paired tests. A nonsignificant result is reported as no detected difference, not as equivalence. Analyses used SciPy 1.18.0 and NumPy 2.4.4.

2.9. Use of Generative AI

Generative AI tools were used to create the scenario texts, to develop analysis code, and to revise the manuscript. The scenario texts were generated with the chat assistants ChatGPT (OpenAI) and Gemini (Google); model versions and prompts were not recorded (Section 2.2). Claude (Anthropic) was used via claude.ai (Claude Opus 5.5) and via Claude Code (Claude Opus 5.5 and Claude Sonnet 5.5). It supported the literature search and outline of the related work. The first author drafted the other sections in Arabic and German; they were revised and translated into scientific English with Claude and checked with DeepL. Claude also formulated some discussion passages from the first author’s notes and drafted descriptive methods and results passages from the analysis code and result files. It summarized the authors’ own texts, supported the development of analysis code, and wrote code that generated figures and tables from the result files. All numbers in the text are checked automatically against the result files. A log of the use of generative AI in preparing the article is deposited with the data (see Data Availability). The versions of the evaluated models are listed in Table 1, and their prompts are given in Supplementary Text S3.

2.10. Human Research

The robot tests (Section 2.7) involved no research on human participants. Three writers produced handwritten test material by copying fictional scenarios (Section 2.2); the systems, not the writers, were evaluated. The sheets contained no patient data, and no personal data other than the handwriting were collected. All three writers gave informed written consent to the publication of their handwriting samples. All robot sessions were conducted by the first author.

3. Results

The results follow the research questions. Section 3.1 to Section 3.3 report transcription (RQ1), and Section 3.4 and Section 3.5 report extraction (RQ2). Section 3.6 reports invented entries (RQ3), and Section 3.7 reports the robot tests (RQ4). Section 3.8 reports runtimes. Section 3.1 to Section 3.6 report the first part of the study, Section 3.7 the second part, and Section 3.8 the runtime of both.

3.1. Transcription of Handwritten Notes

Table 2 summarizes the transcription accuracy of all seven systems on the VLM subset ( N = 48 ; Figure 3). Qwen3-VL-8B, run locally with 4-bit quantization, had the lowest median CER (1.60%). Descriptively, the medians of the other systems except EasyOCR ranged from 3.34% (Ministral 3 8B) to 5.96% (GPT-4o-mini). Ministral 3 14B reached 3.73%, Surya 3.90%, and LightOnOCR-2-1B 3.99%. EasyOCR had the highest median CER (62.64%).
The paired tests confirmed part of this ordering (Table 3). Qwen3-VL-8B had a significantly lower CER than Ministral 3 14B (C1), LightOnOCR-2-1B (C3), and Surya (C6). Ministral 3 14B had a significantly lower CER than GPT-4o-mini (C2). No significant difference was detected between LightOnOCR-2-1B and Ministral 3 14B (C4), LightOnOCR-2-1B and GPT-4o-mini (C5), or Surya and LightOnOCR-2-1B (C7). Qwen3-VL-8B was not tested directly against GPT-4o-mini, and Ministral 3 8B is reported descriptively. With the Pratt variant and without the five documents with missing glyphs, no test decision changed (Holm adjustment over seven tests; Supplementary Table S5).
On the larger OCR evaluation set ( N = 559 ), the median CER was 4.29% for LightOnOCR-2-1B, 5.05% for Surya, and 65.49% for EasyOCR. Their medians were in reverse order relative to the VLM subset, where C7 detected no significant difference. The interquartile range was widest for LightOnOCR-2-1B (1.06–29.65%).

3.2. Influence of the Handwriting Font

The handwriting font had a strong effect on transcription accuracy (Supplementary Table S10). On the OCR evaluation set ( N = 559 ), the effect was large for all three OCR systems. The effect size ε 2 was 0.67 for EasyOCR, 0.78 for Surya, and 0.70 for LightOnOCR-2-1B (Kruskal–Wallis, all p < 0.001 ).
The difficulty of a font was largely the same across systems. Median CER per font correlated strongly between the OCR systems (Spearman ρ = 0.86–0.96). The five fonts with the highest median CER were identical for all three systems. They were Miserable Emillia, both files of Qalisha Signature Script, Quick Signature, and The Hologram. These fonts also accounted for most of the wide interquartile range of LightOnOCR-2-1B. Without them, its upper quartile fell from 29.65% to 7.91%. Missing glyphs did not account for this pattern. Only 16 of the 115 documents in these five fonts contained missing glyphs, compared with 50 of 444 in the other fonts. With the cleaned reference, the effect sizes and the five hardest fonts remained unchanged.
For the VLMs, only 11 fonts had at least two images in the VLM subset ( n = 35 ), so this analysis is coarse. Effect sizes ranged from 0.24 for Ministral 3 8B, which was not significant, to 0.54 for Qwen3-VL-8B. Median CER per font correlated moderately to strongly among the VLMs ( ρ = 0.56–0.86). Miserable Emillia and the italic file of Qalisha Signature Script were among the five hardest fonts for all VLMs.

3.3. Transcription Failures and Their Detection

Failures, defined as a CER above 100%, were rare on the VLM subset ( N = 48 ). LightOnOCR-2-1B and Ministral 3 14B each failed on one document, and no other system failed. Both failures were repetition loops that continued until the limit of 2,048 generated tokens. On the OCR evaluation set ( N = 559 ), LightOnOCR-2-1B failed on 28 documents and Surya on 4. Half of the LightOnOCR-2-1B failures (14) were loops ending at the token limit. The others were long outputs with an appended English comment on the transcription. Of the 28 failures, 21 occurred in the five hardest fonts. Which documents failed depended on the random draw (Supplementary Text S7). The Surya failures consisted of repeated punctuation, and none occurred in these fonts. EasyOCR produced three empty outputs; with a CER of exactly 100%, these do not count as failures. On the 17 other documents of the Task-2 sample, Qwen3-VL-8B and Ministral 3 14B failed twice each; GPT-4o-mini, Ministral 3 8B, and LightOnOCR-2-1B once each. EasyOCR and Surya did not fail. All failures fell on two documents, both in the five hardest fonts.
Failures had little effect on the median CER, except for LightOnOCR-2-1B. Its median fell from 3.99% to 3.32% on the VLM subset and from 4.29% to 3.52% on the OCR evaluation set when failures were excluded.
For the API models, failures depended on the individual run. In the repeated Task 1 run, Ministral 3 14B no longer failed on the document that had caused its failure in the main run. GPT-4o-mini, in contrast, failed on a document on which it had not failed before (Supplementary Text S1). Failure rates of the API models are therefore single-run values.
On the OCR evaluation set, the detection rule flagged 25 of the 28 LightOnOCR-2-1B failures, with one false alarm. The three missed failures had a CER of 101–112% and an output 1.6 to 1.8 times as long as the reference. For Surya, the rule detected all four failures but raised 17 false alarms. All false alarms came from the repetition criterion, as Surya often produced long runs of dots without failing. The length criterion alone would have raised no false alarm for Surya but would have missed one of the four failures.

3.4. Structured Extraction of Clinical Information

Table 4 and Figure 4a report the field-level results of all 13 systems on the Task-2 sample ( N = 65 ). The highest clinical micro F1 was reached by the two-stage pipeline LightOnOCR-2-1B + GPT-4o-mini (88.7%). Qwen3-VL-8B followed with 84.8% and had the highest precision of all systems (90.4%). The pipelines LightOnOCR-2-1B + Ministral 3 8B (83.8%) and Surya + GPT-4o-mini (81.0%) came next. The end-to-end API models reached 79.6% (Ministral 3 8B), 78.9% (Ministral 3 14B), and 78.6% (GPT-4o-mini). All pipelines with EasyOCR stayed far below, with a clinical micro F1 between 11.0 and 35.8%. Within each LLM, clinical micro F1 increased from EasyOCR to Surya to LightOnOCR-2-1B. On the VLM subset ( N = 48 ), Ministral 3 14B reached a clinical micro F1 of 86.0%. The 17 additional documents lowered it to 78.9%, mainly through one document with 16 false-positive entries.
The paired tests are listed in Table 3; differences are given as the first system minus the second, with 95% confidence intervals (CI). Qwen3-VL-8B had a significantly higher clinical micro F1 than Surya + Qwen3-8B (E1: difference 19.9 percentage points, 95% CI 13.3 to 29.8, p Holm < 0.001 ). It also had a significantly higher clinical micro F1 than LightOnOCR-2-1B + Qwen3-8B (E2: 11.0 percentage points, 95% CI 4.0 to 22.4, p Holm = 0.0016 ). The supplementary Wilcoxon test on per-document clinical micro F1 ( N = 30 ) did not reach significance for this comparison ( p Holm = 0.124 ). No significant difference was detected between end-to-end GPT-4o-mini and Surya + GPT-4o-mini (E3: −2.4 percentage points, 95% CI −10.1 to 10.9, p Holm = 0.685 ). For E4, the difference between GPT-4o-mini and LightOnOCR-2-1B + GPT-4o-mini was −10.1 percentage points (95% CI −16.3 to −0.7). The unadjusted interval excluded zero, but no significant difference was detected after Holm correction ( p Holm = 0.103 ). No significant difference was detected between Qwen3-VL-8B and Ministral 3 14B (E5: 6.0 percentage points, 95% CI −3.5 to 20.5, p Holm = 0.523 ). LightOnOCR-2-1B + GPT-4o-mini was not tested against Qwen3-VL-8B.
Header fields were extracted with an F1 of 77.8 to 88.2% by all systems except the three EasyOCR pipelines, which reached 23.4 to 26.9%. Invented entries are analyzed in Section 3.6.

3.5. Upper Bound on the Clean Text

To separate reading errors from extraction errors, the three LLMs of the pipelines also extracted the fields from the error-free text of all 50 scenarios. These runs used text only, without images; Qwen3-8B is the text model of the pipelines, not the VLM Qwen3-VL-8B. Clinical micro F1 on clean text ranged from 93.5 to 97.6% (Figure 4a). It was 93.5% for Qwen3-8B, 97.1% for GPT-4o-mini, and 97.6% for Ministral 3 8B. Depending on the LLM, this was 8.4 to 19.7 percentage points above the best two-stage pipeline of the same LLM on images. The 95% bootstrap intervals of these differences over scenarios ranged from 1.8 to 38.8 and excluded zero for all three LLMs. Pooled over the three LLMs, the remaining errors on clean text were mainly omitted vital signs (17 of 24 missed or invented entries).

3.6. Invented Entries

Systems differed widely in how often they reported entries that did not occur in the note (Figure 4b). Medications were evaluated in the 43 of 65 documents whose gold reference contains no required medication. In these documents, every reported medication counts as invented, apart from optional entries (Supplementary Table S6). Qwen3-VL-8B reported no invented medication in any of these 43 documents. Among the other end-to-end VLMs, invented medications occurred in 5 documents for GPT-4o-mini, 8 for Ministral 3 8B, and 12 for Ministral 3 14B. For the two-stage pipelines, the number depended on the OCR system. Pipelines with EasyOCR reported invented medications in up to 36 of the 43 documents. Pipelines with Surya did so in 6 to 14 documents, and pipelines with LightOnOCR-2-1B in 1 to 10. In total, Qwen3-VL-8B invented three medication entries, all in documents whose gold reference contains a medication. In the 40 documents without a gold vital sign, invented vital signs occurred in 1 document for Qwen3-VL-8B and in none for Ministral 3 8B. GPT-4o-mini and Ministral 3 14B reported them in 6 and 3 documents, respectively.
Some invented entries repeated the example values given in the field rules of the prompt, such as “120/80” or “5 mg”. This occurred in at most 3 of the 65 documents for every system except EasyOCR + Ministral 3 8B, where it occurred in 22.

3.7. Pilot Test on the Pepper Robot

The Pepper application was tested on 9 handwritten sheets: three scenarios, each copied by three writers (A, B, and C). The lab protocol recorded 27 attempts and excluded 12 of them. The reasons were a trial run (1), a sheet held incorrectly (9), a distance not kept (1), and a cut-off header and right margin (1). Among the 9 attempts with a wrongly held sheet, 1 ended before a photo was taken. The remaining 15 runs were valid: 9 in series A (standard conditions) and 6 in series B (one factor changed). All of them were completed after one attempt with one photo, so no second photo was taken. As an unmeasured observation, the application was easy to operate, and the waiting time did not appear to disturb the interaction.
In series A, the median CER of the application was 38.6% (range 19.8 to 79.8% over the sheets; Table 5). In a re-run, the identical camera images were sent again to the same model with the same prompts and parameters. The median CER was then 33.0% (range 19.5 to 73.1%). Pooled clinical micro F1 was 28.0% for the application and 27.0% for the re-run. Per sheet, it ranged from 0.0 to 62.5% for the application and from 0.0 to 42.9% for the re-run. The application reported 21 invented entries in series A and the re-run 20. Scenario 20 contains no medication and no vital sign, so every entry extracted from its three sheets counts as invented. In one series-A run, the insulin “Lantus” was extracted as “Lanvis” and read aloud. For the same photo, the transcription and the extraction did not always agree; in one series-A run, they gave different patient names.
To separate the effect of the image capture from that of the model, the flatbed scans of the sheets were also processed. Scans and series-A camera images were sent to all systems of Table 1 (Figure 5a; Supplementary Table S11). On the scans, the four VLMs had a median CER of 2.7 to 4.7% and a clinical micro F1 of 82.9 to 91.4%. On the camera images of the same sheets, the median CER was 28.8 to 44.6% and the clinical micro F1 25.4 to 35.4%. For Ministral 3 8B, the model of the application, the median CER was 4.5% on the scans and 33.0% on the camera images. LightOnOCR-2-1B had a median CER of 5.3% on the scans and 84.9% on the camera images.
In series B, one factor was changed per run for sheets 30-A and 32-C. With the sheet rotated by 90°, the CER of the application exceeded 100% in both runs (Figure 5b). With dim light and at 50 cm, it ranged from 62.7 to 95.5%. The clinical micro F1 was 0.0% in 5 of the 6 series-B runs, in the application and in the re-run. The exception was sheet 32-C at 50 cm (13.3% and 12.5%). Table 5 lists the single values.
In series A, no run ended in a repetition loop. In series B, 2 of the 6 application runs ended in a loop, both with the sheet rotated. In the re-run, 4 did: both rotated runs and, for sheet 30-A, the dim-light run and the 50-cm run. The CER exceeded 100% in 2 application runs and in 3 re-runs of series B.
The application and the re-run used the identical image. Their Task 1 outputs were identical in 0 of 15 runs and their Task 2 outputs in 1 of 15. The CER of the two measurements differed by at most 6.7 percentage points in series A and by at most 207.0 in series B. The series-B values are single observations, and no significance tests were applied.
Two runs on different sheets yielded nearly the same three invented medications. An example value from the prompt occurred in 4 of the 15 application outputs: “120/80” in 3 runs and “5 mg” in 1 run. All four were part of the spoken summary. Of these, 3 were series-B runs. The parser used for Task 2 reproduced the extracted fields of the application in 15 of 15 runs.

3.8. Runtime

Time per document was recorded for all runs except EasyOCR and Surya, which were timed afterward in a separate run on October 26, 2026. That run covered the Task-2 sample ( N = 65 ) on the same computer; all outputs were identical to the stored ones. Supplementary Table S12 lists the descriptive values.
Local models processed one document at a time on an NVIDIA GeForce RTX 3060 (12 GB). The timer covered the model call, with reading and preparing the image for LightOnOCR-2-1B, EasyOCR, and Surya, but without model loading. For the API models, it covered the successful Hypertext Transfer Protocol (HTTP) request, including network transfer and any queueing at the provider. One of the 873 API requests in the table was repeated, and only its successful attempt was timed.
For Task 1 on the VLM subset ( N = 48 ), the median time per document was 17.0 s for Qwen3-VL-8B and 9.8 s for LightOnOCR-2-1B. In Task 2 ( N = 65 ), Qwen3-VL-8B had a median of 7.6 s. Within each local run, the time was strongly correlated with the number of generated tokens (Spearman ρ = 0.97–0.99). The Qwen models generated 9.8 to 11.4 tokens per second. With Qwen3-VL-8B, two documents outside the VLM subset ended in repetition loops at the token limit and took 194.8 and 199.0 s. For LightOnOCR-2-1B, the 14 loops that ended at the token limit took 93.7 to 164.9 s (Section 3.3).
For the API models, the median time per document in Task 1 was 2.5 s for GPT-4o-mini. It was 2.7 s for Ministral 3 14B and 2.2 s for Ministral 3 8B. In Task 2, the medians were 1.6, 2.1, and 1.5 s, respectively. In a repeat of Task 1 with identical requests, the medians differed by up to 1.0 s. In the pipelines, the OCR stage had medians of 0.5 s (EasyOCR), 2.0 s (Surya), and 10.1 s (LightOnOCR-2-1B). The LLM stage had medians of 6.8 to 13.1 s with Qwen3-8B and 0.9 to 1.8 s with the API models.
On the robot, the application called Ministral 3 8B and logged each step (Supplementary Table S12C). In the 15 valid runs, the median time from the trigger to the display of the result was 22.9 s (range 21.0–30.5 s). The photo was taken after 7.5 s, following greeting and countdown (Supplementary Figure S2). The two model calls ran one after the other and had medians of 4.4 s (Task 1) and 3.4 s (Task 2). In the re-run (Section 3.7), the same model received the identical images through the evaluation code. Its calls had medians of 3.1 s (Task 1) and 2.6 s (Task 2). The medians of the single steps do not add up to the overall median.

4. Discussion

Section 4.1 and Section 4.2 interpret the results with respect to legibility and to local versus remote processing. Section 4.3 and Section 4.4 address human oversight and generalizability. Section 4.5 and Section 4.6 discuss the limitations and the steps toward application.

4.1. Legibility as a Limiting Factor

The results suggest that the legibility of the input set a limit for all architectures. For the OCR systems, the font had a large effect on the CER (Section 3.2). The same five fonts were the hardest for all three OCR systems. On the smaller VLM subset, two of these fonts were among the hardest for every VLM. When the handwriting was hard to read, OCR systems and VLMs alike produced high error rates.
The robot tests point in the same direction. Ministral 3 8B transcribed flatbed scans of the sheets with a median CER of 4.5%. For camera images of the same sheets, the median CER was 33.0% (Section 3.7). Model, prompt, and evaluation code were identical, so the difference arose from the image capture. Rotation, low light, and a distance of 50 cm increased the errors further and in several runs led to repetition loops (Table 5).
Reading quality also limited extraction. On the clean scenario texts, the three LLMs reached a clinical micro F1 of 93.5 to 97.6%. On the images, the best pipeline of each LLM stayed 8.4 to 19.7 percentage points below this level (Section 3.5). This comparison is descriptive and covers only the LLMs of the pipelines. The gap therefore arose mainly when the text was read, not when the fields were extracted.
Architecture still mattered within this limit. Qwen3-VL-8B extracted more accurately than the two pipelines with Qwen3-8B that it was tested against. The difference to the pipeline with LightOnOCR-2-1B (E2) was significant only in the main test (Section 3.4). For GPT-4o-mini, no significant difference was detected, and the pipeline with LightOnOCR-2-1B was descriptively higher than the VLM. Within each LLM, pipelines with EasyOCR reached a clinical micro F1 of 11.0 to 35.8%, far below those with LightOnOCR-2-1B.
For robots, this shifts attention from the choice of model to the capture of the image. A robot can change its distance, ask a person to hold the sheet differently, or take another photo. The application takes a new photo only after a camera error or an unusable output and does not check the image beforehand (Section 2.7). Checking image quality before reading is therefore a direct next step. These observations are descriptive; the study did not test an interaction between legibility and architecture.

4.2. Local and Remote Processing on a Robot

The lowest median CER came from a local model. Qwen3-VL-8B ran with 4-bit quantization on a consumer GPU with 12 GB of memory (Section 2.3). In Task 1, it was significantly more accurate than each system it was tested against (Section 3.1). In Task 2, it reached the second-highest clinical micro F1 and the highest precision of all 13 systems (Section 3.4). It was not tested against LightOnOCR-2-1B + GPT-4o-mini, which reached the highest clinical micro F1, so no overall ranking follows. Its precision was not tested. On the 17 documents outside the VLM subset, it also ended twice in repetition loops (Section 3.3 and Section 3.8). A local model therefore needs the same failure check as a remote one.
The local specialized OCR model LightOnOCR-2-1B could not be distinguished from the two API-based VLMs it was tested against (Section 3.1). These comparisons cover realistic deployment options rather than controlled model comparisons. Qwen3-VL-8B ran with 4-bit quantization, the API models at a numeric precision set by the provider, and the size of GPT-4o-mini is not published.
On Pepper, the application used Ministral 3 8B through an API. This was a deployment decision with data processing in the EU (Table 1), not a test result (Section 2.7). No difference between Ministral 3 8B and Ministral 3 14B was tested.
Local processing has a cost in time. On the consumer GPU, Qwen3-VL-8B needed a median of 17.0 s per document in Task 1 and 7.6 s in Task 2. As VLMs, the API models had medians of 1.5 to 2.7 s in both tasks (Section 3.8). These times are not directly comparable, because the API times include network transfer and queueing and the hardware differs. On the robot, the two model calls were only part of the waiting time. Greeting and countdown, the encoding of the photo, and the announcement before the analysis each took several seconds (Supplementary Table S12C).
A local GPU server next to the robot could keep the data within the facility. It would combine local processing with a robot that runs no large model itself. This setup was not tested and remains future work.

4.3. Human Oversight

The models invented clinical entries, such as medications that did not appear in the note (Section 3.6), a behavior known as hallucination [3]. In the authors’ assessment, such entries are more dangerous than a misread name, because nothing on the sheet points to them. This applied to all systems, although the frequency differed (Section 3.6). In the 43 documents without a medication in the gold reference, Qwen3-VL-8B was the only system that reported none. It still invented three medication entries, all in documents that contained other medications.
Errors also occurred when the input was easy to read. On the clean scenario texts, the three LLMs still omitted or invented entries, with a clinical micro F1 of 93.5 to 97.6% (Section 3.5). On flatbed scans of the robot sheets, the clinical micro F1 of the four VLMs was at most 91.4% (Section 3.7). Human oversight is therefore needed even when the input is good.
The application did not detect such errors. On the robot, where the camera images were of limited quality (Section 3.7), misread values reached the spoken summary. For example, the insulin “Lantus” was extracted as “Lanvis” and read aloud. Runs that ended in repetition loops were reported as completed (Table 5). Two different sheets yielded nearly the same list of invented medications. Example values from the prompt, such as “120/80”, also appeared in the outputs on the robot and were read aloud. Apart from checking whether the output can be parsed and contains any field, the application does not review its content (Section 2.7).
The results therefore do not support relying fully on LLMs or VLMs for this task. A person should confirm the extracted values before they are used. This step is recommended but was not part of the evaluated system (Figure 1).

4.4. Generalizability

For the VLMs, the results on synthetic data carried over to real handwriting when the image was good. On flatbed scans of 9 handwritten sheets, the four VLMs reached a median CER of 2.7 to 4.7%. Their clinical micro F1 was 82.9 to 91.4% (Section 3.7). On the rendered notes, their median CER was 1.60 to 5.96% (Section 3.1), and their clinical micro F1 was 78.6 to 84.8% (Section 3.4). The ranges are similar, but the comparison is descriptive. The scans represent the best case. The sheets were copies of synthetic scenario texts by three writers, not real nursing notes. The clinical micro F1 on 9 sheets also rests on few entries. Other capture settings or a better camera might reduce the gap between camera images and scans, but this was not tested.
Only handwritten nursing notes in German were tested. The limit set by legibility and the invented entries may also concern other handwritten documents, such as forms or logs. Domain terms, abbreviations, and the evaluated fields, however, are specific to nursing documentation. In a benchmark on handwritten medical forms, open-source models with fewer than five billion parameters performed considerably worse than commercial models [17]. The authors did not regard this as indicative of all open-source models. The larger local Qwen3-VL-8B performed well here, but data, task, and models differ. Without further data, the findings should not be generalized beyond this setting.

4.5. Limitations

The scenario texts were generated with chat assistants and were not reviewed by nursing staff. The handwriting was rendered from fonts, and no font covered all characters of the texts. Excluding the documents with missing glyphs changed no decision of the Task 1 test family (Holm adjustment over seven tests; Supplementary Text S6). The gold fields of all 50 scenarios were checked manually. For Task 2, the sample size follows from this manual gold reference and from local inference on a consumer GPU as the deployment scenario. For Task 1, the VLM subset covers all 24 font files at least once. The other images of the OCR evaluation set combine the same fonts with other scenarios, paper formats, and colors. A larger subset would allow comparisons per font, which were coarse here. The paired tests compare systems on the same documents, and the Task 2 differences are given with confidence intervals. The results on synthetic notes may still overestimate the performance on real nursing notes, and larger real datasets are needed.
The API models were not deterministic despite a temperature of 0 and a fixed seed. Their failure counts are therefore values of a single run, although a repeated transcription run changed no test decision (Supplementary Text S1). On the robot, the same sheet can be read differently in each call, and the two calls on one photo can contradict each other (Section 3.7). Fixed API versions remain available only as long as the provider offers them (Supplementary Text S2). The runtimes are mostly single measurements on one setup and should not be transferred to other hardware.
Task 2 evaluated only header data, medications, and vital signs (Section 2.1). Free events such as a fall, a wound, or a hospital admission were neither extracted nor read aloud. An event field in the schema is left for future work.
The results of individual systems depended on a few scenarios (Section 3.4); the bootstrap intervals over scenarios account for this. For LightOnOCR-2-1B, which documents failed depended on the random draw (Supplementary Text S7). Failures outside the VLM subset are discussed in Section 4.2.
Finally, the robot tests were a pilot test, not a user study. They covered 9 sheets from three writers with one run per sheet and condition and were evaluated descriptively (Section 3.7). Usability, acceptance, and waiting time were not studied with users. Larger tests with more writers and sheets remain future work.

4.6. Steps Toward Application

Several steps could bring the approach closer to use on a robot. First, the robot should check the image before reading it. Orientation, sharpness, and the visible part of the sheet could be assessed. The robot could then ask for the sheet again or correct the image itself. Because legibility limited all systems (Section 4.1), the robot could also judge how legible the handwriting is. When it is hard to read, the robot could ask a person for help. Such a function was not implemented. Whether other camera interfaces allow a higher resolution, and whether this improves reading, also remains open.
Second, failures need to be detected during operation. Here, failures could be recognized by the length and repetition of the output (Section 3.3). The rule used, however, relies on the length of the reference, which is unknown in practice (Section 2.5). A check without a reference, followed by a repeated call, is a next step.
Third, the interaction needs further study. In the laboratory, the application appeared easy to operate, because the robot announced its main steps and accepted speech or touch input (Section 2.7). Holding the sheet correctly was harder, and several attempts were repeated for this reason (Section 3.7). The application gave no feedback on image quality before the photo was sent. The waiting time appeared acceptable, partly because of the announcements, but these impressions were not measured (Section 3.7).
Finally, two steps discussed above remain prerequisites for use. A local GPU server could keep the data within the facility (Section 4.2), and a person should confirm the extracted values (Section 4.3).

5. Conclusions

In the first part, for transcription (RQ1), the font had a large effect on the CER of the OCR systems. The local Qwen3-VL-8B was significantly more accurate than each system it was tested against. For extraction (RQ2), whether end-to-end VLMs or pipelines performed better depended on the model family. Within each LLM, pipelines with stronger OCR reached higher values (descriptive). The end-to-end Qwen3-VL-8B was significantly more accurate than the pipelines with Qwen3-8B it was tested against. For GPT-4o-mini, no significant difference was detected, and the pipeline with LightOnOCR-2-1B was descriptively higher. All systems invented clinical entries (RQ3), although the frequency differed. In the second part, the pilot test on the robot (RQ4) showed that the captured image rather than the model limited the results. Legibility of the input, failure checks, and human confirmation are therefore essential for reading handwritten notes on a robot.

Supplementary Materials

The following supporting information can be downloaded at the website of this paper posted on Preprints.org, Supplementary Text S1: Run-to-run variability of API models; Supplementary Text S2: Retired API versions and runs of the preceding thesis; Supplementary Text S3: Prompts; Supplementary Text S4: Gold reference and matching rules; Supplementary Text S5: Parser and format errors; Supplementary Text S6: Composition of the Task 1 test family; Supplementary Text S7: Failures of LightOnOCR-2-1B in two runs; Figure S1: Image features per subset; Figure S2: State diagram of the robot application; Table S1: Rendering parameters of the image generator; Table S2: Evaluation subsets; Table S3: Font files per subset; Table S4: Run-to-run variability of the application programming interface (API) models (Task 1); Table S5 Holm adjustment over seven and nine tests (Task 1); Table S6: Rules for the gold reference (Task 2); Table S7: Matching rules of the field-level metric (Task 2); Table S8: Strict and lenient name variant (Task 2); Table S9: Parser repairs and format errors (Task 2); Table S10: Median character error rate (CER) per font file; Table S11: Pilot test on the Pepper robot: all systems on scans and camera images; Table S12: Runtime per document.

Author Contributions

Conceptualization, B.A. and T.S.; methodology, B.A.; software, B.A.; formal analysis, B.A.; investigation, B.A.; data curation, B.A.; writing—original draft preparation, B.A.; writing—review and editing, T.S. and N.R.; supervision, T.S. and N.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no specific funding.

Institutional Review Board Statement

Ethical review and approval were waived for this study because it did not involve research on human participants: three writers, two of whom are authors of this article, copied the printed text of fictional scenarios by hand, and no personal data other than the handwriting were collected. At the University of Lübeck, an ethics vote is not required for non-medical studies without personal health data.

Data Availability Statement

The 50 scenario texts, the gold reference, and the raw outputs of all models are deposited at Zenodo (reserved DOI: 10.5281/zenodo.23760588). They will be made publicly available under CC BY 4.0 upon publication of this article. During review, they are accessible through a private link provided to the editors. The generation and evaluation code and the rendered images for all fonts with open licenses are included as well. Several fonts are licensed for personal use only, and their images are not redistributed. Images with these fonts can be regenerated with the deposited code and the listed font sources. Pixel-identical results depend on the platform and the rendering library. The camera images and flatbed scans of the robot tests are included with the writers’ consent. The deposit also contains a log of the use of generative AI in preparing the article.

Acknowledgments

During the preparation of this study, the authors used ChatGPT (OpenAI) and Gemini (Google), whose model versions were not recorded, to generate the scenario texts. They used Claude (Anthropic; Claude Opus 5.5 and Claude Sonnet 5.5) for literature search, language revision, translation, drafting of passages, summarizing the authors’ own texts, and code for analysis, figures, and tables, and DeepL to check translations. The authors have reviewed and edited the output and take full responsibility for the content of this publication. The authors thank the volunteer who provided handwriting samples.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Garrido-Munoz, C.; Rios-Vila, A.; Calvo-Zaragoza, J. Handwritten Text Recognition: A Survey. IEEE Transactions on Pattern Analysis and Machine Intelligence 2026, 48, 4367–4387. [CrossRef]
  2. Carchiolo, V.; Malgeri, M.; Sapari, L. Paper-Based Health Records: A Case Study on the Digitization of Handwritten Clinical Records. In Proceedings of the 21st International Conference on Web Information Systems and Technologies (WEBIST). SciTePress, 2025, pp. 244–251. [CrossRef]
  3. Ji, Z.; Lee, N.; Frieske, R.; Yu, T.; Su, D.; Xu, Y.; Ishii, E.; Bang, Y.J.; Madotto, A.; Fung, P. Survey of Hallucination in Natural Language Generation. ACM Computing Surveys 2023, 55, 1–38. [CrossRef]
  4. Muinga, N.; Abejirinde, I.O.O.; Paton, C.; English, M.; Zweekhorst, M. Designing Paper-Based Records to Improve the Quality of Nursing Documentation in Hospitals: A Scoping Review. Journal of Clinical Nursing 2021, 30, 56–71. Published online 7 November 2020, . [CrossRef]
  5. Larjow, E.; von Fintel, M.; Busse, A. A Mixed-Methods Study of Quality Differences between Applied Documentation Approaches in Nursing Homes. BMC Nursing 2022, 21, 265. [CrossRef]
  6. Moy, A.J.; Schwartz, J.M.; Chen, R.; Sadri, S.; Lucas, E.; Cato, K.D.; Rossetti, S.C. Measurement of Clinical Documentation Burden among Physicians and Nurses Using Electronic Health Records: A Scoping Review. Journal of the American Medical Informatics Association 2021, 28, 998–1008. [CrossRef]
  7. Veninga, M. LLMs for OCR Post-Correction. Master’s Thesis, University of Twente, 2024.
  8. de Araújo, S.S.; Bezerra, B.L.D.; de Sousa Neto, A.F.; Zanchettin, C. A Proposal for Post-OCR Spelling Correction Using Language Models. In Proceedings of the NeurIPS 2024 Workshops: LatinX in AI (LXAI), 2024.
  9. Kang, T.; Munger, J.; Mueller, E.T.; Saha, A.; Chiou, V.L. A Natural Language Processing (NLP) Approach for Optical Character Recognition (OCR)-Resilient Extraction, Correction, and Structuring of Karyotype Data in Oncology Clinical Notes. Journal of Clinical Oncology 2025, 43, e13644. [CrossRef]
  10. Lamm, B.; Keuper, J. Can Visual Language Models Replace OCR-Based Visual Question Answering Pipelines in Production? A Case Study in Retail, 2024, [2408.15626]. [CrossRef]
  11. Poznanski, J.; Rangapur, A.; Borchardt, J.; Dunkelberger, J.; Huff, R.; Lin, D.; Wilhelm, C.; Lo, K.; Soldaini, L. olmOCR: Unlocking Trillions of Tokens in PDFs with Vision Language Models, 2025, [2502.18443]. [CrossRef]
  12. Taghadouini, S.; Cavaillès, A.; Aubertin, B. LightOnOCR: A 1B End-to-End Multilingual Vision-Language Model for State-of-the-Art OCR, 2026, [2601.14251]. [CrossRef]
  13. Liu, Y.; Li, Z.; Huang, M.; Yang, B.; Yu, W.; Li, C.; Yin, X.; Liu, C.L.; Jin, L.; Bai, X. OCRBench: On the Hidden Mystery of OCR in Large Multimodal Models. Science China Information Sciences 2024, 67, 220102. [CrossRef]
  14. Vesalainen, A.; Mäkelä, E.; Ruotsalainen, L.; Tolonen, M. Error Patterns in Historical OCR: A Comparative Analysis of TrOCR and a Vision-Language Model, 2026, [2602.14524]. [CrossRef]
  15. Schäfer, H.; Schmidt, C.S.; Wutzkowsky, J.; Lorek, K.; Reinartz, L.; Rückert, J.; Temme, C.; Böckmann, B.; Horn, P.A.; Friedrich, C.M. A Multimodal Pipeline for Clinical Data Extraction: Applying Vision-Language Models to Scans of Transfusion Reaction Reports, 2025, [2504.20220]. [CrossRef]
  16. Wang, W.; Wu, W.; Liu, Y.; Zhao, Y.; Lv, X.; Diao, L.; Fan, Z.; Xie, W.; Lin, Z.; Shi, D.; et al. MeDocVL: A Visual Language Model for Medical Document Understanding and Parsing, 2026, [2602.06402]. [CrossRef]
  17. Pather, N.; Fouché, J.; Mundia, S.; Technau, K.G.; Malaba, T.; Welte, A.; Mehta, U.; Bassett, B.A. From Handwriting to Structured Data: Benchmarking AI Digitisation of Handwritten Forms, 2026, [2604.16504]. [CrossRef]
  18. Huang, J.; Yang, D.M.; Rong, R.; Nezafati, K.; Treager, C.; Chi, Z.; Wang, S.; Cheng, X.; Guo, Y.; Klesse, L.J.; et al. A Critical Assessment of Using ChatGPT for Extracting Structured Data from Clinical Notes. npj Digital Medicine 2024, 7, 106. [CrossRef]
  19. Uzuner, Ö.; Solti, I.; Cadag, E. Extracting Medication Information from Clinical Text. Journal of the American Medical Informatics Association 2010, 17, 514–518. [CrossRef]
  20. Das, A.B.; Ahmed, S.; Sakib, S.K. Hallucinations and Key Information Extraction in Medical Texts: A Comprehensive Assessment of Open-Source Large Language Models, 2025, [2504.19061]. [CrossRef]
  21. Nowak, S.; Wulff, B.; Layer, Y.C.; Theis, M.; Isaak, A.; Salam, B.; Block, W.; Kuetting, D.; Pieper, C.C.; Luetkens, J.A.; et al. Privacy-Ensuring Open-Weights Large Language Models Are Competitive with Closed-Weights GPT-4o in Extracting Chest Radiography Findings from Free-Text Reports. Radiology 2025, 314, e240895. [CrossRef]
  22. Case, C.; Suresh, B.; Coates, A.; Ng, A.Y. Autonomous Sign Reading for Semantic Mapping. In Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), 2011, pp. 3297–3303. [CrossRef]
  23. Pandey, A.K.; Gelin, R. A Mass-Produced Sociable Humanoid Robot: Pepper: The First Machine of Its Kind. IEEE Robotics & Automation Magazine 2018, 25, 40–48. [CrossRef]
  24. Carros, F.; Meurer, J.; Löffler, D.; Unbehaun, D.; Matthies, S.; Koch, I.; Wieching, R.; Randall, D.; Hassenzahl, M.; Wulf, V. Exploring Human-Robot Interaction with the Elderly: Results from a Ten-Week Case Study in a Care Home. In Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems. ACM, 2020. [CrossRef]
  25. Trainum, K.; Liu, J.; Hauser, E.; Xie, B. Nursing Staff’s Perspectives of Care Robots for Assisted Living Facilities: Systematic Literature Review. JMIR Aging 2024, 7, e58629. [CrossRef]
  26. Alsamar, B. Human-in-the-Loop Agents in Nursing Robotics: Evaluation and Interactive Application of OCR and VLMs for Processing Handwritten Care Records. Bachelor’s Thesis, University of Lübeck, Lübeck, Germany, 2026.
  27. Jaided AI. EasyOCR: Ready-to-Use OCR with 80+ Supported Languages. https://github.com/JaidedAI/EasyOCR, 2020. Version 1.7.2.
  28. Paruchuri, V. Surya: OCR, Layout Analysis, Reading Order, Table Recognition in 90+ Languages. https://github.com/datalab-to/surya, 2024. Version 0.17.1.
  29. Bai, S.; Cai, Y.; Chen, R.; Chen, K.; Chen, X.; Cheng, Z.; Deng, L.; Ding, W.; Gao, C.; Ge, C.; et al. Qwen3-VL Technical Report, 2025, [2511.21631]. [CrossRef]
  30. OpenAI. GPT-4o System Card, 2024, [2410.21276]. [CrossRef]
  31. Mistral AI. Introducing Mistral 3. https://mistral.ai/news/mistral-3, 2025. Accessed 2026-10-20.
  32. Yang, A.; Li, A.; Yang, B.; Zhang, B.; Hui, B.; Zheng, B.; Yu, B.; Gao, C.; Huang, C.; Lv, C.; et al. Qwen3 Technical Report, 2025, [2505.09388]. [CrossRef]
  33. Dettmers, T.; Zettlemoyer, L. The Case for 4-bit Precision: k-bit Inference Scaling Laws. In Proceedings of the 40th International Conference on Machine Learning (ICML), 2023, Vol. 202, PMLR, pp. 7750–7774. [CrossRef]
  34. Dettmers, T.; Pagnoni, A.; Holtzman, A.; Zettlemoyer, L. QLoRA: Efficient Finetuning of Quantized LLMs. In Proceedings of the Advances in Neural Information Processing Systems, 2023, Vol. 36, pp. 10088–10115. [CrossRef]
  35. Mistral AI. Models Overview (incl. deprecated and retired models), 2026. Accessed 2026-10-09.
  36. Lin, C.Y. ROUGE: A Package for Automatic Evaluation of Summaries. In Proceedings of the Text Summarization Branches Out, Barcelona, Spain, July 2004; pp. 74–81.
  37. Zhang, T.; Kishore, V.; Wu, F.; Weinberger, K.Q.; Artzi, Y. BERTScore: Evaluating Text Generation with BERT. In Proceedings of the International Conference on Learning Representations (ICLR), 2020.
  38. Aldebaran. TakePicture – QiSDK Documentation, 2026. Accessed 2026-10-28.
  39. Holm, S. A Simple Sequentially Rejective Multiple Test Procedure. Scandinavian Journal of Statistics 1979, 6, 65–70.
  40. Wilcoxon, F. Individual Comparisons by Ranking Methods. Biometrics Bulletin 1945, 1, 80–83. [CrossRef]
  41. Efron, B.; Tibshirani, R.J. An Introduction to the Bootstrap; Chapman & Hall: New York, 1993. [CrossRef]
Figure 1. Overview of the two tasks. An image of a handwritten nursing note (rendered for the evaluation or captured by the Pepper camera) is processed in two tasks. Task 1 (transcription) produces the full text, evaluated by the character error rate (CER) against the ground truth. Task 2 (structured extraction, shaded) produces a JavaScript Object Notation (JSON) object with fixed fields, either (i) by an end-to-end vision-language model (VLM) directly from the image or (ii) by a two-stage pipeline (optical character recognition (OCR) followed by a large language model (LLM)); it is evaluated by the micro-averaged F1 over the clinical fields against the gold reference. On the robot only, the JSON is read out with a fixed sentence template (dotted), without a further model call. A review of the outputs by nursing staff is recommended and was not part of the evaluated system (dash-dotted frame and arrows). Bold frames: data; dashed frames: evaluation.
Figure 1. Overview of the two tasks. An image of a handwritten nursing note (rendered for the evaluation or captured by the Pepper camera) is processed in two tasks. Task 1 (transcription) produces the full text, evaluated by the character error rate (CER) against the ground truth. Task 2 (structured extraction, shaded) produces a JavaScript Object Notation (JSON) object with fixed fields, either (i) by an end-to-end vision-language model (VLM) directly from the image or (ii) by a two-stage pipeline (optical character recognition (OCR) followed by a large language model (LLM)); it is evaluated by the micro-averaged F1 over the clinical fields against the gold reference. On the robot only, the JSON is read out with a fixed sentence template (dotted), without a further model call. A review of the outputs by nursing staff is recommended and was not part of the evaluated system (dash-dotted frame and arrows). Bold frames: data; dashed frames: evaluation.
Preprints 246314 g001
Figure 2. Synthetic dataset and evaluation subsets. (a) First 3 text lines of three rendered images from the vision-language model (VLM) subset (N = 48). They were chosen among images with openly licensed fonts, near the 10th, 50th and 90th percentile of the per-document character error rate (CER) of Qwen3-VL-8B. Percentiles refer to all 48 images; papers: lined, squared and blank; left: paper type and CER of Qwen3-VL-8B. For display, each crop is rotated back by the rendering angle. (b) Derivation of the subsets from the 50 scenario texts; bold frames: image sets with their selection rule, dashed frames: use in the evaluation. Details in Table S2, font files per subset in Table S3. Rendering parameters of the generator are in Table S1, image features per subset in Figure S1.
Figure 2. Synthetic dataset and evaluation subsets. (a) First 3 text lines of three rendered images from the vision-language model (VLM) subset (N = 48). They were chosen among images with openly licensed fonts, near the 10th, 50th and 90th percentile of the per-document character error rate (CER) of Qwen3-VL-8B. Percentiles refer to all 48 images; papers: lined, squared and blank; left: paper type and CER of Qwen3-VL-8B. For display, each crop is rotated back by the rendering angle. (b) Derivation of the subsets from the 50 scenario texts; bold frames: image sets with their selection rule, dashed frames: use in the evaluation. Details in Table S2, font files per subset in Table S3. Rendering parameters of the generator are in Table S1, image features per subset in Figure S1.
Preprints 246314 g002
Figure 3. Character error rate (CER) per document (Task 1). CER against the raw ground truth for the N = 48 documents of the vision-language model subset. Boxes: median and interquartile range; whiskers: 1.5 times the interquartile range; points: individual documents (horizontal jitter). The axis is linear below 1% and logarithmic above; the dashed line marks CER = 100%, above which a transcription counts as a failure. Paired Wilcoxon signed-rank tests in Table 3.
Figure 3. Character error rate (CER) per document (Task 1). CER against the raw ground truth for the N = 48 documents of the vision-language model subset. Boxes: median and interquartile range; whiskers: 1.5 times the interquartile range; points: individual documents (horizontal jitter). The axis is linear below 1% and logarithmic above; the dashed line marks CER = 100%, above which a transcription counts as a failure. Paired Wilcoxon signed-rank tests in Table 3.
Preprints 246314 g003
Figure 4. Structured extraction (Task 2). (a) Clinical micro F1 (%; medications and vital signs, strict name variant) with 95% bootstrap interval over scenarios (10,000 resamples). N = 65 documents. Shaded band: upper bound of the three language models of the pipelines on the clean note text of all 50 scenarios (no image; 93.5–97.6%), not the vision-language models. (b) Share of the 43 documents without a required gold medication in which the system outputs at least one medication (invented entries). Labels: documents affected; descriptive. Filled circles and black bars: end-to-end vision-language models. Open triangles, open squares and filled diamonds: two-stage pipelines with EasyOCR, Surya and LightOnOCR-2-1B, respectively. In (b), their bars are hatched with diagonal lines (EasyOCR), cross-hatched (Surya) and filled (LightOnOCR-2-1B). Differences between systems are interpreted only through the paired tests in Table 3.
Figure 4. Structured extraction (Task 2). (a) Clinical micro F1 (%; medications and vital signs, strict name variant) with 95% bootstrap interval over scenarios (10,000 resamples). N = 65 documents. Shaded band: upper bound of the three language models of the pipelines on the clean note text of all 50 scenarios (no image; 93.5–97.6%), not the vision-language models. (b) Share of the 43 documents without a required gold medication in which the system outputs at least one medication (invented entries). Labels: documents affected; descriptive. Filled circles and black bars: end-to-end vision-language models. Open triangles, open squares and filled diamonds: two-stage pipelines with EasyOCR, Surya and LightOnOCR-2-1B, respectively. In (b), their bars are hatched with diagonal lines (EasyOCR), cross-hatched (Surya) and filled (LightOnOCR-2-1B). Differences between systems are interpreted only through the paired tests in Table 3.
Preprints 246314 g004
Figure 5. Input images of the Pepper tests (sheet 32-C, writer C). (a) Image from the Pepper camera under standard conditions (upright, laboratory light, 30 cm) and the flatbed reference scan of the same sheet. (b) Camera image of the same sheet rotated by 90°. The character error rate (CER) of the application output was 26.7% in (a) and 232.3% in (b); in (b), the transcription ended in a repetition loop (Table 5). The camera images are cropped to the sheet and the panels are shown at different scales.
Figure 5. Input images of the Pepper tests (sheet 32-C, writer C). (a) Image from the Pepper camera under standard conditions (upright, laboratory light, 30 cm) and the flatbed reference scan of the same sheet. (b) Camera image of the same sheet rotated by 90°. The character error rate (CER) of the application output was 26.7% in (a) and 232.3% in (b); in (b), the transcription ended in a repetition loop (Table 5). The camera images are cropped to the sheet and the panels are shown at different scales.
Preprints 246314 g005
Table 1. Models, versions and inference settings. Models accessed via an application programming interface (API) were called with fixed version names. All language and vision-language models used greedy decoding or temperature 0, top-p 1.0, at most 2048 generated tokens and seed 42. LightOnOCR-2-1B used its default sampling configuration (temperature 0.2, top-p 0.9) with seed 42 set before each document. Quantization: “none”, local model run without quantization; “–”, not applicable (API model, numeric precision set by the provider). OCR, optical character recognition; LLM, large language model; VLM, vision-language model; NF4, 4-bit NormalFloat.
Table 1. Models, versions and inference settings. Models accessed via an application programming interface (API) were called with fixed version names. All language and vision-language models used greedy decoding or temperature 0, top-p 1.0, at most 2048 generated tokens and seed 42. LightOnOCR-2-1B used its default sampling configuration (temperature 0.2, top-p 0.9) with seed 42 set before each document. Quantization: “none”, local model run without quantization; “–”, not applicable (API model, numeric precision set by the provider). OCR, optical character recognition; LLM, large language model; VLM, vision-language model; NF4, 4-bit NormalFloat.
Role Model Identifier (revision) Quantization Access
OCR EasyOCR easyocr 1.7.2 none local
OCR Surya surya-ocr 0.17.1 none local
OCR (VLM-based) LightOnOCR-2-1B lightonai/LightOnOCR-2-1B (c97bd37) none local
LLM Qwen3-8B Qwen/Qwen3-8B (b968826) 4-bit NF4 local
VLM Qwen3-VL-8B Qwen/Qwen3-VL-8B-Instruct (0c351dd) 4-bit NF4 local
LLM, VLM GPT-4o-mini gpt-4o-mini-2024-07-18 – OpenAI APIb
VLM Ministral 3 14B ministral-14b-2512 – Mistral API (EU)
LLM, VLMa Ministral 3 8B ministral-8b-2512 – Mistral API (EU)
aMinistral 3 8B: language model of the two-stage pipelines, vision-language model reported descriptively, and model of the robot application. bProcessing in the EU is not guaranteed.
Table 2. Transcription of handwritten notes (Task 1). Character error rate (CER) and word error rate (WER) against the raw ground truth. Values per document: median and interquartile range (IQR). N = 48 documents for all systems (basis of the paired tests in Table 3). OCR systems (optical character recognition) were additionally evaluated on the OCR evaluation set (N = 559). Failures: documents with CER > 100% (output longer than and largely different from the reference). Differences between systems are interpreted only through the paired tests in Table 3.
Table 2. Transcription of handwritten notes (Task 1). Character error rate (CER) and word error rate (WER) against the raw ground truth. Values per document: median and interquartile range (IQR). N = 48 documents for all systems (basis of the paired tests in Table 3). OCR systems (optical character recognition) were additionally evaluated on the OCR evaluation set (N = 559). Failures: documents with CER > 100% (output longer than and largely different from the reference). Differences between systems are interpreted only through the paired tests in Table 3.
N = 48 N = 559
System CER (%), median [IQR] Failures WER (%), median CER (%), median [IQR]
OCR systems
EasyOCR 62.64 [51.71–72.68] 0/48 98.58 65.49 [47.71–75.71]
Surya 3.90 [2.22–9.82] 0/48 24.91 5.05 [1.40–18.81]
LightOnOCR-2-1B 3.99 [0.89–21.66] 1/48 17.50 4.29 [1.06–29.65]
Vision-language models
Qwen3-VL-8B 1.60 [0.58–3.55] 0/48 7.16 –
Ministral 3 14B 3.73 [1.82–6.53] 1/48 10.47 –
GPT-4o-mini 5.96 [1.64–12.92] 0/48 16.85 –
Ministral 3 8Ba 3.34 [1.69–6.74] 0/48 12.25 –
aReported descriptively, not part of the test family.
Table 3. Pre-specified paired tests. Task 1: two-sided paired Wilcoxon signed-rank tests on per-document character error rate (CER), N = 48, Holm correction over the seven tests. Statistic: Wilcoxon W (matched-pairs rank-biserial correlation). Task 2: paired bootstrap (10,000 resamples, seed 42) for the difference in clinical micro F1, N = 65 documents. Resampling unit: the 50 scenarios covered by these documents; Holm correction over the five tests. Statistic: difference in percentage points, system A minus system B [95% percentile interval]. Bootstrap p: twice the smaller share of resamples with a difference ≤ 0 or ≥ 0 . Without any resample on the other side of zero, p is given as below its resolution 2/10,000, and p Holm accordingly.
Table 3. Pre-specified paired tests. Task 1: two-sided paired Wilcoxon signed-rank tests on per-document character error rate (CER), N = 48, Holm correction over the seven tests. Statistic: Wilcoxon W (matched-pairs rank-biserial correlation). Task 2: paired bootstrap (10,000 resamples, seed 42) for the difference in clinical micro F1, N = 65 documents. Resampling unit: the 50 scenarios covered by these documents; Holm correction over the five tests. Statistic: difference in percentage points, system A minus system B [95% percentile interval]. Bootstrap p: twice the smaller share of resamples with a difference ≤ 0 or ≥ 0 . Without any resample on the other side of zero, p is given as below its resolution 2/10,000, and p Holm accordingly.
Test System A System B Statistic p p Holm
Task 1, CER: paired Wilcoxon signed-rank test, statistic = W (rank-biserial r)
C1 Qwen3-VL-8B Ministral 3 14B 110.0 (−0.80) 1.55 × 10 − 6 7.76 × 10 − 6
C2 Ministral 3 14B GPT-4o-mini 264.0 (−0.49) 0.00422 0.0169
C3 LightOnOCR-2-1B Qwen3-VL-8B 50.0 (0.88) 8.20 × 10 − 7 4.92 × 10 − 6
C4 LightOnOCR-2-1B Ministral 3 14B 335.0 (0.35) 0.0394 0.118
C5 LightOnOCR-2-1B GPT-4o-mini 549.0 (0.03) 0.874 1
C6 Surya Qwen3-VL-8B 73.0 (0.87) 2.04 × 10 − 7 1.43 × 10 − 6
C7 Surya LightOnOCR-2-1B 528.0 (−0.06) 0.703 1
Task 2, clinical micro F1: paired bootstrap, statistic = A − B in points [95% CI]
E1 Qwen3-VL-8B Surya + Qwen3-8B 19.9 [13.3, 29.8] <0.0002 <0.001 (0.00542)a
E2 Qwen3-VL-8B LightOnOCR-2-1B + Qwen3-8B 11.0 [4.0, 22.4] 4.00 × 10 − 4 0.0016 (0.124)a
E3 GPT-4o-mini Surya + GPT-4o-mini −2.4 [−10.1, 10.9] 0.685 0.685 (1)a
E4 GPT-4o-mini LightOnOCR-2-1B + GPT-4o-mini −10.1 [−16.3, −0.7] 0.0342 0.103 (1)a
E5 Qwen3-VL-8B Ministral 3 14B 6.0 [−3.5, 20.5] 0.261 0.523 (1)a
aIn parentheses: Holm-corrected p of the supplementary paired Wilcoxon test on per-document clinical micro F1 (N = 30 documents with at least one clinical gold field).
Table 4. Structured extraction of clinical information (Task 2). Field-level precision (P), recall (R) and micro F1 against the manually verified gold reference (strict name variant). N = 65 documents. Clinical fields = medications and vital signs (main result); header fields (patient, date, room, care level) reported separately. Format errors: outputs that could not be parsed (all fields counted as omitted). Upper bound on the clean note text of all 50 scenarios: clinical micro F1 93.5–97.6%. Differences between systems are interpreted only through the paired tests in Table 3. LLM, large language model.
Table 4. Structured extraction of clinical information (Task 2). Field-level precision (P), recall (R) and micro F1 against the manually verified gold reference (strict name variant). N = 65 documents. Clinical fields = medications and vital signs (main result); header fields (patient, date, room, care level) reported separately. Format errors: outputs that could not be parsed (all fields counted as omitted). Upper bound on the clean note text of all 50 scenarios: clinical micro F1 93.5–97.6%. Differences between systems are interpreted only through the paired tests in Table 3. LLM, large language model.
Clinical fields F1 per field type
System P (%) R (%) F1 (%) Medications (%) Vital signs (%) Header (%) Format errors
End-to-end vision-language models
Qwen3-VL-8B 90.4 79.9 84.8 78.6 87.4 88.2 0/65
GPT-4o-mini 78.6 78.6 78.6 71.1 81.7 79.0 0/65
Ministral 3 14B 69.7 90.9 78.9 59.1 90.6 84.3 0/65
Ministral 3 8Ba 73.9 86.4 79.6 59.5 91.1 77.8 0/65
Two-stage pipeline, EasyOCR + LLM
Qwen3-8B 7.8 18.8 11.0 3.0 19.2 23.4 5/65
GPT-4o-mini 44.7 29.9 35.8 27.8 39.3 26.9 0/65
Ministral 3 8B 14.5 37.0 20.8 7.6 30.9 26.3 0/65
Two-stage pipeline, Surya + LLM
Qwen3-8B 59.0 72.1 64.9 46.9 75.7 83.2 0/65
GPT-4o-mini 77.8 84.4 81.0 64.2 89.3 84.1 0/65
Ministral 3 8B 63.1 84.4 72.2 44.9 89.2 82.9 0/65
Two-stage pipeline, LightOnOCR-2-1B + LLM
Qwen3-8B 69.5 78.6 73.8 54.7 84.4 82.0 0/65
GPT-4o-mini 88.4 89.0 88.7 79.5 92.3 82.7 0/65
Ministral 3 8B 79.2 89.0 83.8 61.8 94.9 83.1 0/65
aReported descriptively, not part of the test family.
Table 5. Pilot test on the Pepper robot. One row per valid run of the Pepper application (Ministral 3 8B). Material: 9 handwritten sheets, three scenarios each copied by writers A, B, and C. Series A (N = 9): standard conditions. Series B (N = 6): one factor changed against the series-A run of the same sheet. App: output of the application during the test. Re-run: the identical camera image sent again to the same model with the same prompts and parameters (temperature 0, fixed seed). The two outputs differ because the answers of the application programming interface (API) are not deterministic. Character error rate (CER) against the text of the sheet. Clinical micro F1 (medications and vital signs, strict name variant) and header F1 against the gold fields of the sheet, as in Task 2. Header F1 was identical in both measurements. Invented: extracted entries without a counterpart in the gold reference. App and re-run differed by up to 6.7 CER percentage points in series A and up to 207.0 in series B. Descriptive; no significance tests; series-B differences are single observations.
Table 5. Pilot test on the Pepper robot. One row per valid run of the Pepper application (Ministral 3 8B). Material: 9 handwritten sheets, three scenarios each copied by writers A, B, and C. Series A (N = 9): standard conditions. Series B (N = 6): one factor changed against the series-A run of the same sheet. App: output of the application during the test. Re-run: the identical camera image sent again to the same model with the same prompts and parameters (temperature 0, fixed seed). The two outputs differ because the answers of the application programming interface (API) are not deterministic. Character error rate (CER) against the text of the sheet. Clinical micro F1 (medications and vital signs, strict name variant) and header F1 against the gold fields of the sheet, as in Task 2. Header F1 was identical in both measurements. Invented: extracted entries without a counterpart in the gold reference. App and re-run differed by up to 6.7 CER percentage points in series A and up to 207.0 in series B. Descriptive; no significance tests; series-B differences are single observations.
CER (%) Clinical micro
F1 (%)
Invented
Sheet Writer Paper Condition App Re-run App Re-run App Re-run Header F1 (%)
Series A: standard conditions (upright, laboratory light, 30 cm)
30-A A plain A4, normal standard 38.6 33.0 26.7 28.6 5 4 75.0
30-B B squared A5, normal standard 28.6 30.0 33.3 33.3 0 0 25.0
30-C C squared A5, careful standard 25.4 22.7 16.7 33.3 1 1 0.0
32-A A ruled A5, careful standard 40.0 42.9 62.5 40.0 1 2 0.0
32-B B ruled A5, hurried standard 79.8 73.1 0.0 0.0 5 5 0.0
32-C C plain A4, normal standard 26.7 26.4 42.9 42.9 1 1 25.0
20-A A squared A5, hurried standard 49.3 48.8 0.0 0.0 3 2 0.0
20-B B plain A4, careful standard 19.8 19.5 0.0 0.0 1 1 25.0
20-C C ruled A5, hurried standard 47.2 50.6 0.0 0.0 4 4 0.0
Series B: one factor changed (same sheet as in series A)
30-A A plain A4, normal rotated 90° 314.7a 107.7a 0.0 0.0 7 11 0.0
30-A A plain A4, normal dim light 73.3 90.8 0.0 0.0 8 9 25.0
30-A A plain A4, normal 50 cm 79.5 143.9a 0.0 0.0 9 8 0.0
32-C C plain A4, normal 50 cm 62.7 63.6 13.3 12.5 4 5 0.0
32-C C plain A4, normal rotated 90° 232.3a 137.6a 0.0 0.0 14 16 0.0
32-C C plain A4, normal dim light 95.5 81.1 0.0 0.0 3 3 0.0
aFailure (CER > 100%). In the app, both rotated runs ended in a repetition loop; the application nevertheless reported them as completed. Scenario 20 contains no medication and no vital sign; every extracted entry is therefore invented, and the clinical micro F1 is 0 by definition.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.