The Color OCR Library is a software (DLL) that combines three functions: Japanese text recognition, layout recognition, and table recognition.
This document is the C API User's Guide for the Color OCR Library (活字認識ライブラリー Ver.15) from Panasonic Solution Technologies Co., Ltd. The library is a software DLL that bundles three functions: Japanese character recognition, layout recognition, and table recognition of bitmap data.
The guide describes the file structure, installation (copying files to a local disk without changing the structure), sample programs for C++, C# and Visual Basic, a function list, data structures (layout, character shape, table, user pattern dictionary, user word dictionary, operation mode, and region structures), supplementary notes on IDRColorPartCharRecog(), and appendices on operation specifications. This manual is written in Japanese.
| Included functions | Japanese character recognition, layout recognition, table recognition |
|---|---|
| Layout recognition output | Region information and region attributes (horizontal text, vertical text, image, table, figure, line regions) |
| Character candidates | Up to 10 candidate characters, plus bounding rectangle width and height |
| Dictionaries | System dictionaries, user pattern dictionary, and user word dictionary maintained through library functions |
| Sample programs | C++ (sample1–sample9, sampleGUI), C# (CSSample1, CSSampleGUI), Visual Basic (VBSample1) |
| Bundled documents | TDREngine 15 User's Guide.pdf, TDREngine 15 API Reference.pdf, TDREngine 15 API Reference for DotNET.chm |
Double-click the executable, such as sample1.exe; the executables are located in the bin folder. The C# sample runs from the command line as CSSample1.exe sample5.bmp.
They are grouped in a Visual Studio solution; open the solution file in the sample folder and build it.
Register easily misrecognized character patterns in the user pattern dictionary, and register specialist terms or katakana words in the user word dictionary so the post-processing step can correct results.