[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] tests/acceptance: Add test of NeXTcube fram
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] tests/acceptance: Add test of NeXTcube framebuffer using OCR |
Date: |
Sun, 30 Jun 2019 21:08:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 29/06/2019 17.00, Philippe Mathieu-Daudé wrote:
> Add a test of the NeXTcube framebuffer using the Tesseract OCR
> engine on a screenshot of the framebuffer device.
Wow, that's a funny idea, I like it!
> The test is very quick:
>
> $ avocado --show=app,ocr run tests/acceptance/machine_m68k_nextcube.py
> JOB ID : f7d3c27976047036dc568183baf64c04863d9985
> JOB LOG : ~/avocado/job-results/job-2019-06-29T16.18-f7d3c27/job.log
> (1/1)
> tests/acceptance/machine_m68k_nextcube.py:NextCubeMachine.test_bootrom_framebuffer:
> |ocr:
> ue r pun Honl'flx ; 5‘ 55‘
> avg ncaaaaa 25 MHZ, memary jag m
> Backplane slat «a
> Ethernet address a a r a r3 2
> Memgry sackets aea canflqured far 16MB Darlly page made stMs but have 16MB
> page made stMs )nstalled
> Memgry sackets a and 1 canflqured far 16MB Darlly page made stMs but have
> 16MB page made stMs )nstalled> [...]
> Yestlnq the rpu, 5::
> system test raneg Errar egge 51
> Egg: cammand
> Default pggc devlce nut fauna
> NEXY>I
Hmm, the quality of the text is rather bad...
> Documentation on how to install tesseract:
> https://github.com/tesseract-ocr/tesseract/wiki#installation
... according to that documentation, you're also supposed to install a
language pack ... have you tried whether it gets better with
tesseract-ocr-eng ?
Thomas