Access the features which correspond to a character.
The operator ::ocr_get_features calculates the features for the given Character. The type and number of features is determined by the classifier OcrHandle. FeatureVector contains the same values which are used inside operators like ::traind_ocr_class_box or ::trainf_ocr_class_box.
|
Character (input_object) |
image -> Hobject: HImage |
| Characters to be trained. | |
|
OcrHandle (input_control) |
ocr -> HTuple.long |
| ID of the desired OCR-classifier. | |
|
FeatureVector (output_control) |
real-array -> HTuple.double * |
| Feature vector. | |
If the parameters are correct, the operator ::ocr_get_features returns the value H_MSG_TRUE. Otherwise an exception will be raised.
::create_ocr_class_box, ::read_ocr, ::reduce_domain, ::threshold, ::connection
::trainf_ocr_class_box, ::traind_ocr_class_box
Optical character recognition