ClassesClassesClassesClasses | | | | Operators

set_rejection_params_ocr_class_mlpset_rejection_params_ocr_class_mlpSetRejectionParamsOcrClassMlpset_rejection_params_ocr_class_mlpSetRejectionParamsOcrClassMlpSetRejectionParamsOcrClassMlp (Operator)

Name

set_rejection_params_ocr_class_mlpset_rejection_params_ocr_class_mlpSetRejectionParamsOcrClassMlpset_rejection_params_ocr_class_mlpSetRejectionParamsOcrClassMlpSetRejectionParamsOcrClassMlp — Set the rejection class parameters of an OCR classifier.

Signature

set_rejection_params_ocr_class_mlp( : : OCRHandle, GenParamName, GenParamValue : )

Herror set_rejection_params_ocr_class_mlp(const Hlong OCRHandle, const char* GenParamName, const char* GenParamValue)

Herror T_set_rejection_params_ocr_class_mlp(const Htuple OCRHandle, const Htuple GenParamName, const Htuple GenParamValue)

Herror set_rejection_params_ocr_class_mlp(const HTuple& OCRHandle, const HTuple& GenParamName, const HTuple& GenParamValue)

void HOCRMlp::SetRejectionParamsOcrClassMlp(const HTuple& GenParamName, const HTuple& GenParamValue) const

void SetRejectionParamsOcrClassMlp(const HTuple& OCRHandle, const HTuple& GenParamName, const HTuple& GenParamValue)

void HOCRMlp::SetRejectionParamsOcrClassMlp(const HTuple& GenParamName, const HTuple& GenParamValue) const

void HOCRMlp::SetRejectionParamsOcrClassMlp(const HString& GenParamName, const HString& GenParamValue) const

void HOCRMlp::SetRejectionParamsOcrClassMlp(const char* GenParamName, const char* GenParamValue) const

void HOperatorSetX.SetRejectionParamsOcrClassMlp(
[in] VARIANT OCRHandle, [in] VARIANT GenParamName, [in] VARIANT GenParamValue)

void HOCRMlpX.SetRejectionParamsOcrClassMlp(
[in] VARIANT GenParamName, [in] VARIANT GenParamValue)

static void HOperatorSet.SetRejectionParamsOcrClassMlp(HTuple OCRHandle, HTuple genParamName, HTuple genParamValue)

void HOCRMlp.SetRejectionParamsOcrClassMlp(HTuple genParamName, HTuple genParamValue)

void HOCRMlp.SetRejectionParamsOcrClassMlp(string genParamName, string genParamValue)

Description

set_rejection_params_ocr_class_mlpset_rejection_params_ocr_class_mlpSetRejectionParamsOcrClassMlpset_rejection_params_ocr_class_mlpSetRejectionParamsOcrClassMlpSetRejectionParamsOcrClassMlp sets the rejection class parameters of the OCR classifier passed in OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleOCRHandle. The parameter to be set is specified with GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName. Its value is specified with GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue. For some OCR applications it is important to know, if a letter to be classified is similar to the training set or not. If a letter is different to the training set, then it can be classified a rejection class. This additional rejection class must be specified as an additional character in create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlp. For details on how to specify a rejection class, see set_rejection_params_class_mlpset_rejection_params_class_mlpSetRejectionParamsClassMlpset_rejection_params_class_mlpSetRejectionParamsClassMlpSetRejectionParamsClassMlp.

Parallelization

This operator modifies the state of the following input parameter:

The value of this parameter may not be shared across multiple threads without external synchronization.

Parameters

OCRHandleOCRHandleOCRHandleOCRHandleOCRHandleOCRHandle (input_control, state is modified)  ocr_mlp HOCRMlp, HTupleHTupleHOCRMlp, HTupleHOCRMlpX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the OCR classifier.

GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name of the general parameter.

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

List of values: 'hyperbox_tolerance'"hyperbox_tolerance""hyperbox_tolerance""hyperbox_tolerance""hyperbox_tolerance""hyperbox_tolerance", 'random_seed'"random_seed""random_seed""random_seed""random_seed""random_seed", 'rejection_class_index'"rejection_class_index""rejection_class_index""rejection_class_index""rejection_class_index""rejection_class_index", 'rejection_sample_factor'"rejection_sample_factor""rejection_sample_factor""rejection_sample_factor""rejection_sample_factor""rejection_sample_factor", 'sampling_strategy'"sampling_strategy""sampling_strategy""sampling_strategy""sampling_strategy""sampling_strategy"

GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Value of the general parameter.

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

List of values: 'hyperbox_around_all_classes'"hyperbox_around_all_classes""hyperbox_around_all_classes""hyperbox_around_all_classes""hyperbox_around_all_classes""hyperbox_around_all_classes", 'hyperbox_around_each_class'"hyperbox_around_each_class""hyperbox_around_each_class""hyperbox_around_each_class""hyperbox_around_each_class""hyperbox_around_each_class", 'hyperbox_ring_around_each_class'"hyperbox_ring_around_each_class""hyperbox_ring_around_each_class""hyperbox_ring_around_each_class""hyperbox_ring_around_each_class""hyperbox_ring_around_each_class", 'no_rejection_class'"no_rejection_class""no_rejection_class""no_rejection_class""no_rejection_class""no_rejection_class"

Result

If the parameters are valid, the operator set_rejection_params_ocr_class_mlpset_rejection_params_ocr_class_mlpSetRejectionParamsOcrClassMlpset_rejection_params_ocr_class_mlpSetRejectionParamsOcrClassMlpSetRejectionParamsOcrClassMlp returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

create_ocr_class_mlpcreate_ocr_class_mlpCreateOcrClassMlpcreate_ocr_class_mlpCreateOcrClassMlpCreateOcrClassMlp, read_ocr_class_mlpread_ocr_class_mlpReadOcrClassMlpread_ocr_class_mlpReadOcrClassMlpReadOcrClassMlp

Possible Successors

trainf_ocr_class_mlptrainf_ocr_class_mlpTrainfOcrClassMlptrainf_ocr_class_mlpTrainfOcrClassMlpTrainfOcrClassMlp

Module

OCR/OCV


ClassesClassesClassesClasses | | | | Operators