HALCON Reference Manual 10.0.2
Table of Contents / OCR / Training Files ClassesClassesClasses | | | Operators

read_ocr_trainf_selectread_ocr_trainf_selectread_ocr_trainf_selectReadOcrTrainfSelectReadOcrTrainfSelect (Operator)

Name

read_ocr_trainf_selectread_ocr_trainf_selectread_ocr_trainf_selectReadOcrTrainfSelectReadOcrTrainfSelect — Read training specific characters from files and convert to images.

Signature

read_ocr_trainf_select( : Characters : TrainFileNames, SearchNames : FoundNames)

Herror read_ocr_trainf_select(Hobject* Characters, const char* TrainFileNames, const char* SearchNames, char* FoundNames)

Herror T_read_ocr_trainf_select(Hobject* Characters, const Htuple TrainFileNames, const Htuple SearchNames, Htuple* FoundNames)

Herror read_ocr_trainf_select(Hobject* Characters, const HTuple& TrainFileNames, const HTuple& SearchNames, char* FoundNames)

Herror read_ocr_trainf_select(Hobject* Characters, const HTuple& TrainFileNames, const HTuple& SearchNames, HTuple* FoundNames)

HImageArray HImageArray::ReadOcrTrainfSelect(const HTuple& TrainFileNames, const HTuple& SearchNames, HTuple* FoundNames)

void HOperatorSetX.ReadOcrTrainfSelect(
[out] IHUntypedObjectX*Characters, [in] VARIANT TrainFileNames, [in] VARIANT SearchNames, [out] VARIANT* FoundNames)

VARIANT HImageX.ReadOcrTrainfSelect(
[in] VARIANT TrainFileNames, [in] VARIANT SearchNames)

static void HOperatorSet.ReadOcrTrainfSelect(out HObject characters, HTuple trainFileNames, HTuple searchNames, out HTuple foundNames)

HTuple HImage.ReadOcrTrainfSelect(HTuple trainFileNames, HTuple searchNames)

string HImage.ReadOcrTrainfSelect(string trainFileNames, string searchNames)

Description

read_ocr_trainf_selectread_ocr_trainf_selectread_ocr_trainf_selectReadOcrTrainfSelectReadOcrTrainfSelect reads the characters given in SearchNamesSearchNamesSearchNamesSearchNamessearchNames from the specified files and converts them into images. It works simimalr to read_ocr_trainfread_ocr_trainfread_ocr_trainfReadOcrTrainfReadOcrTrainf but here the characters which are extracted can be specified.

Parallelization

Parameters

CharactersCharactersCharactersCharacterscharacters (output_object)  image-array objectHImageHImageArrayHImageXHobject * (byte / uint2)

Images read from file.

TrainFileNamesTrainFileNamesTrainFileNamesTrainFileNamestrainFileNames (input_control)  filename.read(-array) HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Names of the training files.

Default value: '' "" "" "" ""

File extension: .trf

SearchNamesSearchNamesSearchNamesSearchNamessearchNames (input_control)  string(-array) HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Names of the characters to be extracted.

Default value: '0' "0" "0" "0" "0"

FoundNamesFoundNamesFoundNamesFoundNamesfoundNames (output_control)  string(-array) HTupleHTupleVARIANTHtuple (string) (string) (char*) (BSTR) (char*)

Names of the read characters.

Result

If the parameter values are correct the operator read_ocr_trainf_selectread_ocr_trainf_selectread_ocr_trainf_selectReadOcrTrainfSelectReadOcrTrainfSelect returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.

Possible Predecessors

write_ocr_trainfwrite_ocr_trainfwrite_ocr_trainfWriteOcrTrainfWriteOcrTrainf

Possible Successors

disp_imagedisp_imagedisp_imageDispImageDispImage, select_objselect_objselect_objSelectObjSelectObj, zoom_image_sizezoom_image_sizezoom_image_sizeZoomImageSizeZoomImageSize

Alternatives

read_ocr_trainfread_ocr_trainfread_ocr_trainfReadOcrTrainfReadOcrTrainf

See also

trainf_ocr_class_boxtrainf_ocr_class_boxtrainf_ocr_class_boxTrainfOcrClassBoxTrainfOcrClassBox

Module

OCR/OCV


Table of Contents / OCR / Training Files ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH