HAL Seek Sample

The sample metavision_hal_seek.cpp shows how to use Metavision HAL to seek in a RAW file.

The source code of this sample can be found in <install-prefix>/share/metavision/hal/cpp_samples/metavision_hal_seek when installing Metavision SDK from installer or packages. For other deployment methods, check the page Path of Samples.

Warning

this sample uses HAL facilities that may not be available for the version of your camera plugin.

Expected Output

The application visualizes CD events from a RAW file on the screen with a control that allows to navigate within the file.

Expected Output from Metavision HAL Seek Sample

How to start

First, compile the sample as described in this tutorial.

To start the sample, provide the full path to a RAW file (here, we use the file pedestrians.raw from our Sample Recordings):

Linux

./metavision_hal_seek -i pedestrians.raw

Windows

metavision_hal_seek.exe -i pedestrians.raw