Camera Plugins Installation

Camera plugins are libraries required to use your camera with Metavision SDK. They are distributed by camera makers.

  • For Prophesee EVKs, plugins are included in the deployment:

    • Metavision SDK users installing from binary packages/installers already have the plugins installed and ready to use.

    • Metavision SDK Pro users or those compiling OpenEB have the code of the plugin included in the repository which will be compiled along with SDK modules. For those plugins to be visible from Metavision SDK, the MV_HAL_PLUGIN_PATH environment variable should be set as explained below in the section Camera Plugins Search Path.

  • For Third-party cameras, plugins can be retrieved from suppliers.

For those plugins to be visible from Metavision SDK, the MV_HAL_PLUGIN_PATH environment variable should be set

as explained below in the section Camera Plugins Search Path

Camera Plugins Search Path

Camera plugins are searched in the following folders listed by order of priority (note that this list can be customized as explained in the next section):

  • the folder list provided by the environment variable MV_HAL_PLUGIN_PATH (note that folders are separated by ‘:’ under Unix and ‘;’ under Microsoft environment)

  • the system paths in which the plugins were deployed: <install-prefix>/lib/metavision/hal/plugins/ (i.e. /usr/lib/metavision/hal/plugins/ by default on Ubuntu OS)

To specify the location of the plugins, you should customize the MV_HAL_PLUGIN_PATH environment variable:

Linux

export MV_HAL_PLUGIN_PATH=/path/to/my/plugins/

Windows

set "MV_HAL_PLUGIN_PATH=C:\path\to\my\plugins\"

If you want to permanently set this environment variable:

  • on Linux, you should include the export in your ~/.bashrc

  • on Windows, right click on your computer in the file browser and select properties. Then, click Advanced system settings in the left hand side bar and click Environment Variables. Finally, add the MV_HAL_PLUGIN_PATH variable in the System variables section.

Plugins Search Mode

It is possible to customize the paths where plugins are searched by Metavision SDK with the environment variable MV_HAL_PLUGIN_SEARCH_MODE that can take the following values:

  • PLUGIN_PATH_ONLY: consider only paths defined by MV_HAL_PLUGIN_PATH (the system paths are ignored)

  • SYSTEM_PATHS_ONLY: consider only system paths (paths defined by MV_HAL_PLUGIN_PATH are ignored)

  • DEFAULT: check both system paths and the ones defined by MV_HAL_PLUGIN_PATH