Project Description

Currently openQA requires a reference image to be stored to do OCR based comparisons. It is not possible to pass a character string to openQA which should be compared to the text in the screenshot. This project is about allowing to just store character strings in the corresponding JSON file of the needle and to get rid of any reference images in case of OCR needles.

Status

Research about possible tools was done. The result was that the current implementation based on Tesseract appears to be too inaccurate on short character strings. The program GOCR seems to do more classical recognition by shape which seems to work reasonably accurate on well shaped characters. The accuracy of the matched strings could be calculated using the library perl-Text-Levenshtein.

Goal for this Hackweek

  • Create draft implementation of OCR in os-autoinst.
  • Optional: Create easy handling of text based OCR needles in openQA web frontend (e.g. providing live preview of recognized text)

Resources

Looking for hackers with the skills:

openqa mojolicious perl ocr os-autoinst

This project is part of:

Hack Week 22

Activity

  • 4 months ago: okurz liked this project.
  • 4 months ago: jzerebecki liked this project.
  • 4 months ago: pdostal liked this project.
  • 4 months ago: mkoutny liked this project.
  • 4 months ago: ggardet_arm left this project.
  • 4 months ago: ggardet_arm joined this project.
  • 4 months ago: ggardet_arm liked this project.
  • 4 months ago: robert.richardson liked this project.
  • 4 months ago: dancermak liked this project.
  • 4 months ago: ybonatakis liked this project.
  • 4 months ago: clanig started this project.
  • 4 months ago: clanig added keyword "openqa" to this project.
  • 4 months ago: clanig added keyword "mojolicious" to this project.
  • 4 months ago: clanig added keyword "perl" to this project.
  • 4 months ago: clanig added keyword "ocr" to this project.
  • 4 months ago: clanig added keyword "os-autoinst" to this project.
  • 4 months ago: clanig originated this project.

  • Comments

    Similar Projects

    QJobViewer by apappas

    [comment]: # (Please use the project descriptio...


    OpenQA test list views improvement by mdati

    Project Description

    Create views of **Ope...


    Automate testing for openSCAP / ComplianceAsCode with CI or openQA by c-hagenest

    [comment]: # (Please use the project descriptio...


    Learn PostgreSQL advanced features by okurz

    Motivation

    The PostgreSQL database implement...


    Port the Minion job queue to TypeScript by kraih

    Project Description

    As part of the [mojo....


    Run autoupdate-perl in CI by tinita

    Project Description

    Currently [autpupdate...


    Proof of Concept for a Perl binding to libfyaml by tinita

    Project Description

    Similar to [YAML::Lib...


    OSSelot collaboration on legal reviews of community packages by lkocman

    [comment]: # (Please use the project descriptio...