Implement ctc prefix beam search decode for TextRecognitionModel.
authorJIANG Yichen <yichenj@yeah.net>
Mon, 9 Aug 2021 05:46:11 +0000 (13:46 +0800)
committerJIANG Yichen <yichenj@yeah.net>
Thu, 12 Aug 2021 12:33:31 +0000 (20:33 +0800)
commit955cf35d5f890b85baa12b254a325b98880813d0
tree9453192c950486e3c6e50d1ff14114d8fc594836
parentea068dcc2c01dcae68fad67084a9d196f439fce9
Implement ctc prefix beam search decode for TextRecognitionModel.

The algorithm is based on Hannun's paper: First-Pass Large Vocabulary
Continuous Speech Recognition using Bi-Directional Recurrent DNNs
doc/tutorials/dnn/dnn_text_spotting/dnn_text_spotting.markdown
modules/dnn/include/opencv2/dnn/dnn.hpp
modules/dnn/src/math_utils.hpp [new file with mode: 0644]
modules/dnn/src/model.cpp
modules/dnn/test/test_model.cpp