| OpenCV 5.0.0alpha Open Source Computer Vision

Loading...
Searching...
No Matches
Classes
Text Recognition
Framework for working with different datasets

## Detailed Description

### The Chars74K Dataset

Implements loading dataset:

"The Chars74K Dataset": http://www.ee.surrey.ac.uk/CVSSP/demos/chars74k/

Usage:

1. From link above download dataset files: `EnglishFnt\EnglishHnd\EnglishImg\KannadaHnd\KannadaImg.tgz`, `ListsTXT.tgz`.
2. Unpack them.
3. Move `.m` files from folder `ListsTXT/` to appropriate folder. For example, `English/list_English_Img.m` for `EnglishImg.tgz`.
4. To load data, for example "EnglishImg", run:
   ./opencv/build/bin/example_datasets_tr_chars -p=/home/user/path_to_unpacked_folder/English/

### The Street View Text Dataset

Implements loading dataset:

"The Street View Text Dataset": http://vision.ucsd.edu/~kai/svt/

Usage:

1. From link above download dataset file: `svt.zip`.
2. Unpack it.
3. To load data run:
   ./opencv/build/bin/example_datasets_tr_svt -p=/home/user/path_to_unpacked_folder/svt/svt1/

#### Benchmark

For this dataset was implemented benchmark with accuracy (mean f1): 0.217

To run benchmark execute:

./opencv/build/bin/example_datasets_tr_svt_benchmark -p=/home/user/path_to_unpacked_folders/svt/svt1/

## Classes
struct | cv::datasets::tag
class | cv::datasets::TR_chars
struct | cv::datasets::TR_charsObj
class | cv::datasets::TR_icdar
struct | cv::datasets::TR_icdarObj
class | cv::datasets::TR_svt
struct | cv::datasets::TR_svtObj
struct | cv::datasets::word