Git Product home page Git Product logo

kws-eval's Introduction

kws-eval

Build Status

Tools for the evaluation of Keyword Spotting.

Tools

Icdar17KwsEval

This is the official evaluation tool for the ICDAR2017 Handwritten Keyword Spotting Competition (ICDAR2017 KWS).

This computes the (Global) Average Precision and Mean Average Precision given a list of reference objects and a list of detected objects.

The format of the reference and hypothesis/detected objects is almost identical:

# The files can include some header lines, prefixed with the character #.
# After the header lines with comments, each line contains the description of
# an object.
queryID documentID BBx BBy BBw BBh [score]
queryID documentID BBx BBy BBw BBh [score]

BBx, BBy, BBw and BBh refer to the x,y-coordinates, width and height of the bounding box of the reference/detected object.

The score field is only present in the hypotheses file, and is used to sort the detected objects IN DECREASING ORDER. Thus, higher scores mean higher confidence.

Install

Basically, you only need a modern C++ compiler and CMake, which we use for the building process.

There are no dependencies with any external library, unless you want to build the unit tests, in which case you will need to install Google Test and Google Mock.

Requirements

Steps

  1. git clone https://github.com/jpuigcerver/kws-eval/
  2. cd kws-eval && mdkir build && cd build
  3. cmake -DCMAKE_BUILD_TYPE=RELEASE ..
  4. make
  5. sudo make install

This will install the tools to the default CMake install path (typically /usr/local). If you want to change the installation directory, pass -DCMAKE_INSTALL_PREFIX=/path/to/your/destination to the cmake call.

kws-eval's People

Contributors

jpuigcerver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kws-eval's Issues

Reduce memory requirements

There's some redundant copies of the reference and hypotheses events, since they are stored in the Match class stores the pair of ref/hyp objects that were matched. This roughly doubles the memory requirements. Instead, the index (int32 or int64) to the position of the hyps/refs vector could be stored.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.