ClassesClassesClassesClasses | | | | Operators

write_ocvwrite_ocvWriteOcvwrite_ocvWriteOcvWriteOcv (Operator)

Name

write_ocvwrite_ocvWriteOcvwrite_ocvWriteOcvWriteOcv — Saving an OCV tool to file.

Signature

write_ocv( : : OCVHandle, FileName : )

Herror write_ocv(const Hlong OCVHandle, const char* FileName)

Herror T_write_ocv(const Htuple OCVHandle, const Htuple FileName)

Herror write_ocv(const HTuple& OCVHandle, const HTuple& FileName)

void HOCV::WriteOcv(const HTuple& FileName) const

void WriteOcv(const HTuple& OCVHandle, const HTuple& FileName)

void HOCV::WriteOcv(const HString& FileName) const

void HOCV::WriteOcv(const char* FileName) const

void HOperatorSetX.WriteOcv(
[in] VARIANT OCVHandle, [in] VARIANT FileName)

void HOCVX.WriteOcv([in] BSTR FileName)

static void HOperatorSet.WriteOcv(HTuple OCVHandle, HTuple fileName)

void HOCV.WriteOcv(string fileName)

Description

write_ocvwrite_ocvWriteOcvwrite_ocvWriteOcvWriteOcv writes an OCV tool to file. This can be used to save the result of a training (traind_ocv_projtraind_ocv_projTraindOcvProjtraind_ocv_projTraindOcvProjTraindOcvProj). The whole information contained in the OCV tool is stored in the file. The file can be reloaded afterwards using the operator read_ocvread_ocvReadOcvread_ocvReadOcvReadOcv.

As file extension '.ocv' is used. If this extension is not given with the file name, it will be added automatically.

Parallelization

Parameters

OCVHandleOCVHandleOCVHandleOCVHandleOCVHandleOCVHandle (input_control)  ocv HOCV, HTupleHTupleHOCV, HTupleHOCVX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the OCV tool to be written.

FileNameFileNameFileNameFileNameFileNamefileName (input_control)  filename.write HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name of the file where the tool has to be saved.

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

File extension: .ocv

Result

write_ocvwrite_ocvWriteOcvwrite_ocvWriteOcvWriteOcv returns 2 (H_MSG_TRUE), if the data is correct and the file can be written. Otherwise, an exception is raised.

Possible Predecessors

traind_ocv_projtraind_ocv_projTraindOcvProjtraind_ocv_projTraindOcvProjTraindOcvProj

Possible Successors

close_ocvclose_ocvCloseOcvclose_ocvCloseOcvCloseOcv

See also

write_ocrwrite_ocrWriteOcrwrite_ocrWriteOcrWriteOcr

Module

OCR/OCV


ClassesClassesClassesClasses | | | | Operators