ocr_get_featuresT_ocr_get_featuresOcrGetFeaturesOcrGetFeaturesocr_get_features (Operator)
Name
ocr_get_featuresT_ocr_get_featuresOcrGetFeaturesOcrGetFeaturesocr_get_features — Abfragen der Merkmale eines Zeichens.
Warnung
ocr_get_featuresocr_get_featuresOcrGetFeaturesOcrGetFeaturesOcrGetFeaturesocr_get_features ist veraltet und wird nur aus Gründen
der Rückwärtskompatibilität zur Verfügung gestellt. Neue
Applikationen sollten stattdessen die auf MLP, SVM oder
CNN-basierten Operatoren verwenden.
Signatur
Beschreibung
ocr_get_featuresocr_get_featuresOcrGetFeaturesOcrGetFeaturesOcrGetFeaturesocr_get_features bestimmt die Merkmale für das übergebene
Zeichen. Die Art und Anzahl der Merkmale werden durch den
Klassifikator OcrHandleOcrHandleOcrHandleOcrHandleocrHandleocr_handle festgelegt. Es sind die gleichen
Werte, die bei Operatoren wie traind_ocr_class_boxtraind_ocr_class_boxTraindOcrClassBoxTraindOcrClassBoxTraindOcrClassBoxtraind_ocr_class_box oder
trainf_ocr_class_boxtrainf_ocr_class_boxTrainfOcrClassBoxTrainfOcrClassBoxTrainfOcrClassBoxtrainf_ocr_class_box intern verwendet werden.
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
CharacterCharacterCharacterCharactercharactercharacter (input_object) singlechannelimage → objectHImageHObjectHImageHobject (byte / uint2)
Zu trainierende Zeichen.
OcrHandleOcrHandleOcrHandleOcrHandleocrHandleocr_handle (input_control) ocr_box → HOCRBox, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
ID des gewünschten OCR-Klassifikators.
FeatureVectorFeatureVectorFeatureVectorFeatureVectorfeatureVectorfeature_vector (output_control) real-array → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Merkmalswerte.
Ergebnis
Sind die Parameter korrekt, dann liefert
ocr_get_featuresocr_get_featuresOcrGetFeaturesOcrGetFeaturesOcrGetFeaturesocr_get_features den Wert TRUE.
Andernfalls wird eine Fehlerbehandlung durchgeführt.
Vorgänger
read_ocrread_ocrReadOcrReadOcrReadOcrread_ocr,
reduce_domainreduce_domainReduceDomainReduceDomainReduceDomainreduce_domain,
thresholdthresholdThresholdThresholdThresholdthreshold,
connectionconnectionConnectionConnectionConnectionconnection
Siehe auch
trainf_ocr_class_boxtrainf_ocr_class_boxTrainfOcrClassBoxTrainfOcrClassBoxTrainfOcrClassBoxtrainf_ocr_class_box,
traind_ocr_class_boxtraind_ocr_class_boxTraindOcrClassBoxTraindOcrClassBoxTraindOcrClassBoxtraind_ocr_class_box
Modul
OCR/OCV