User Kernel API
For User Kernel development instructions, please refer to the Intel® Computer Vision SDK Samples documentation.
Registering a User Kernel in VAD
VAD_USER_KERNELSenvironment variable to point to your libraries location. If not set, the default location will be used (
user_kernelsin the VAD directory)
- Copy the user kernel
- Optional - Create
<module name>.xml. Add the kernel element to hint VAD that this kernel does not have any propagation rules and that the output properties can be modified by the user. For example:
<Kernel Name="<Full Kernel Name>"/>"> <Parameter Index="1" Name="Width" Editable="true"/> <Parameter Index="1" Name="Height" Editable="true"/> </Kernel>
- Launch VAD.
Call Sequence of a Graph Verify and Release with User Kernels
The following diagram illustrates the user kernel verification and release sequence:
Call Sequence of a Graph Execution with User Kernels
The following diagram illustrates the user kernel call sequence: