get_params_ocr_class_cnnT_get_params_ocr_class_cnnGetParamsOcrClassCnnGetParamsOcrClassCnnget_params_ocr_class_cnn (Operator)
Name
get_params_ocr_class_cnnT_get_params_ocr_class_cnnGetParamsOcrClassCnnGetParamsOcrClassCnnget_params_ocr_class_cnn
— Return the parameters of a CNN-based OCR classifier.
Signature
Description
get_params_ocr_class_cnnget_params_ocr_class_cnnGetParamsOcrClassCnnGetParamsOcrClassCnnGetParamsOcrClassCnnget_params_ocr_class_cnn
returns the parameters
GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name
of an OCR classifier OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle
in
GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value
. This is particularly useful if the
classifier was read with read_ocr_class_cnnread_ocr_class_cnnReadOcrClassCnnReadOcrClassCnnReadOcrClassCnnread_ocr_class_cnn
.
The output of get_params_ocr_class_cnnget_params_ocr_class_cnnGetParamsOcrClassCnnGetParamsOcrClassCnnGetParamsOcrClassCnnget_params_ocr_class_cnn
can, for example, be used to check whether a character to be read is
contained in the classifier.
Possible values for GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name
are:
- 'characters'"characters""characters""characters""characters""characters":
Returns a list of all trained symbols which may be recognized by the
CNN-based OCR classifier. Note that if 'characters'"characters""characters""characters""characters""characters" is specified
then no other generic parameter is allowed. Otherwise an exception is
thrown.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleocrhandle
(input_control) ocr_cnn →
HOCRCnn, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCR classifier.
GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name
(input_control) string(-array) →
HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
A tuple of generic parameter names.
Default value:
'characters'
"characters"
"characters"
"characters"
"characters"
"characters"
List of values: 'characters'"characters""characters""characters""characters""characters"
GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value
(output_control) string(-array) →
HTupleSequence[Union[int, str]]HTupleHtuple (integer / string) (int / long / string) (Hlong / HString) (Hlong / char*)
A tuple of generic parameter values.
Result
If the parameters are valid, the operator
get_params_ocr_class_cnnget_params_ocr_class_cnnGetParamsOcrClassCnnGetParamsOcrClassCnnGetParamsOcrClassCnnget_params_ocr_class_cnn
returns the value TRUE. If
necessary, an exception is raised.
Possible Predecessors
read_ocr_class_cnnread_ocr_class_cnnReadOcrClassCnnReadOcrClassCnnReadOcrClassCnnread_ocr_class_cnn
Possible Successors
do_ocr_single_class_cnndo_ocr_single_class_cnnDoOcrSingleClassCnnDoOcrSingleClassCnnDoOcrSingleClassCnndo_ocr_single_class_cnn
,
do_ocr_multi_class_cnndo_ocr_multi_class_cnnDoOcrMultiClassCnnDoOcrMultiClassCnnDoOcrMultiClassCnndo_ocr_multi_class_cnn
Module
OCR/OCV