Operators |
close_ocv — Clear an OCV tool.
close_ocv( : : OCVHandle : )
close_ocv closes an open OCV tool and frees the memory. The OCV tool has been created using create_ocv_proj or read_ocv. The handle is after this call no longer valid.
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.Handle of the OCV tool which has to be freed.
read_ocv("ocv_file",&ocv_handle); for (i=0; i<1000; i++) { grab_image_async(&Image,fg_handle,-1); reduce_domain(Image,ROI,&Pattern); do_ocv_simple(Pattern,ocv_handle,"A", "true","true","false","true",10, &Quality); } close_ocv(ocv_handle);
close_ocv returns 2 (H_MSG_TRUE), if the handle is valid. Otherwise, an exception is raised.
OCR/OCV
Operators |