write_ocvT_write_ocvWriteOcvWriteOcvwrite_ocv (算子)
名称
write_ocvT_write_ocvWriteOcvWriteOcvwrite_ocv — 将 OCV 工具保存到文件。
签名
描述
write_ocvwrite_ocvWriteOcvWriteOcvWriteOcvwrite_ocv writes an OCV tool to file.
This can be used to save the result of a training
(traind_ocv_projtraind_ocv_projTraindOcvProjTraindOcvProjTraindOcvProjtraind_ocv_proj).
The whole information contained in the OCV tool is stored in the
file. The file can be reloaded afterwards using the operator
read_ocvread_ocvReadOcvReadOcvReadOcvread_ocv。
As file extension '.ocv' is used. If this extension is not
given with the file name, it will be added automatically.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
OCVHandleOCVHandleOCVHandleOCVHandleOCVHandleocvhandle (输入控制) ocv → HOCV, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the OCV tool to be written.
FileNameFileNameFileNameFileNamefileNamefile_name (输入控制) filename.write → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the file where the tool has to be saved.
默认值:
'test_ocv'
"test_ocv"
"test_ocv"
"test_ocv"
"test_ocv"
"test_ocv"
File extension:
.ocv
结果
write_ocvwrite_ocvWriteOcvWriteOcvWriteOcvwrite_ocv returns 2 (
H_MSG_TRUE)
, if
the data is correct and the file can be written.否则,将抛出异常。
可能的前趋
traind_ocv_projtraind_ocv_projTraindOcvProjTraindOcvProjTraindOcvProjtraind_ocv_proj
可能的后继
close_ocvclose_ocvCloseOcvCloseOcvCloseOcvclose_ocv
另见
write_ocrwrite_ocrWriteOcrWriteOcrWriteOcrwrite_ocr
模块
光学字符识别/光学字符验证