This interface provide functionalities to connect to the IntelliBlink service.
IntelliBlink is a lightweight intelligent machine vision platform powered by Leaper Vision. You can use its WYSIWYG user interface to develop various optical location and measurement tasks via drag-and-drop operations, and benefits from its powerful algorithm toolkits: Location, Counting, Presence, Math & Logic, Image Filter, Geometry, Calibration, Identification, Classification, etc.
The LPV IB service module helps you to make use of the flexible and scalable IntelliBlink tasks, to integrate, execute and manipulate them in a LPV application.
To use this interface, you should create a LIBService object.
Example Code
C++
ILIBServicePtr ibService = LIBService::Create();
int errCode = ibService->SetUp(L"path to the IntelliBlink root folder, say D:/Programs/IntelliBlink/");
if (errCode != LPVNoError || !ibService->IsReady()) return; // set up IB service failed
Get the algorithm configuration with the given task ID and algorithm name.
It is a convenient function for you to get to the algorithm of interest directly.
Return null if failed to find the task with the specified ID or its algorithm with specified name.
Load the global-action module from a specified file. The global action module setup the global variables which are usually used to transfer data between different tasks or execution instances.
Parameters
[in]
filename
The path of global-action model file.
Return values
errCode
Return the error code if anything is wrong, you may check the error code lookup table, return LPVNoError if succeed.
Tear down the IntelliBlink service.
It should be called at the end after finish using any of the LPV IB objects.
It's Ok to omit the tear down step, we'll do it automatically when free the service object.