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

  • 3 days ago: mkoutny liked this project.
  • 7 days ago: ggardet_arm left this project.
  • 7 days ago: ggardet_arm joined this project.
  • 7 days ago: ggardet_arm liked this project.
  • 7 days ago: robert.richardson liked this project.
  • 8 days ago: dancermak liked this project.
  • 8 days ago: ybonatakis liked this project.
  • 8 days ago: clanig started this project.
  • 8 days ago: clanig added keyword "openqa" to this project.
  • 8 days ago: clanig added keyword "mojolicious" to this project.
  • 8 days ago: clanig added keyword "perl" to this project.
  • 8 days ago: clanig added keyword "ocr" to this project.
  • 8 days ago: clanig added keyword "os-autoinst" to this project.
  • 8 days ago: clanig originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    Learn PostgreSQL advanced features by okurz

    Motivation

    The PostgreSQL database implement...


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

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


    Proof of Concept for a Perl binding to libfyaml by tinita

    Project Description

    Similar to [YAML::Lib...


    Dochazka by smithfarm

    Dochazka is a long-term project to replace the ...


    Run autoupdate-perl in CI by tinita

    Project Description

    Currently [autpupdate...


    OSSelot collaboration on legal reviews of community packages by lkocman

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


    Port the Minion job queue to TypeScript by kraih

    Project Description

    As part of the [mojo....