Code Samples & Applications¶
Metavision Designer samples¶
Name |
Description |
Level |
Module |
---|---|---|---|
Streams data from an event-based camera or from a RAW file using Metavision HAL |
Easy |
Core |
|
Reads DAT-formatted file and displays events on the screen |
Easy |
Core |
|
Converts events from RAW file to AVI video |
Easy |
Core |
|
Demonstrates how to read events from RAW or DAT file using PythonConsumer and how to visualize the data rate |
Medium |
Core |
|
Filters events and displays them on the screen |
Easy |
CV |
|
Computes the sparse optical flow for moving objects |
Medium |
CV |
|
Displays data from an event-based camera in a xyt axis |
Advanced |
3DView |
|
Estimates vibration frequency per pixel and shows the dominant frequency (the most common frequency among all pixels) |
Advanced |
Analytics |
|
Counts small objects moving vertically (e.g. bulk counting) |
Advanced |
Analytics |
|
Tracks any moving object |
Advanced |
Analytics |
|
Tracks simple non-colliding objects |
Advanced |
Analytics |
Metavision SDK samples & applications¶
Name |
Description |
Level |
Module |
Application or Sample* |
---|---|---|---|---|
Displays data from an event-based camera or from a RAW file using SDK Driver API |
Easy |
Driver |
Application |
|
Displays data from an event-based camera or from a RAW file using Metavision HAL |
Easy |
Core |
Sample |
|
Prints information on the installed software (e.g. software version) |
Easy |
Base |
Application |
|
Combines multiple sources of events (from several RAW files) and results of their filtering into the same displayed frame |
Easy |
Driver |
Sample |
|
Converts RAW file to CSV-formatted file |
Easy |
Driver |
Sample |
|
Converts RAW file to DAT-formatted file |
Easy |
Driver |
Application |
|
Gets information about RAW file and prints it to console |
Easy |
Driver |
Application |
|
Filters events (ROI + polarity) and displays them on the screen |
Easy |
Core |
Sample |
|
Filters events with a noise filter Activity, Trail or STC) and displays them on the screen |
Easy |
CV |
Sample |
|
Filters events and shows both unfiltered and filtered events |
Easy |
Core |
Sample |
|
Reads CSV-formatted file and displays events on the screen |
Easy |
Core |
Sample |
|
Converts events from RAW file to AVI video |
Easy |
Core |
Application |
|
Demonstrates how to undistort and distort events |
Medium |
CV |
Sample |
|
Computes the sparse optical flow for moving objects |
Medium |
CV |
Sample |
|
Helps to focus an event-based camera using a blinking pattern |
Advanced |
Calibration |
Application |
|
Estimates intrinsics parameters of an event-based camera using a blinking pattern |
Advanced |
Calibration |
Application |
|
Estimates vibration frequency per pixel and shows the dominant frequency (the most common frequency among all pixels) |
Advanced |
Analytics |
Sample |
|
Counts small objects moving vertically (e.g. bulk counting) |
Advanced |
Analytics |
Sample |
|
Tracks any moving object |
Advanced |
Analytics |
Sample |
|
Tracks simple non-colliding objects |
Advanced |
Analytics |
Sample |
HAL samples & applications¶
Name |
Description |
Level |
Application or Sample* |
---|---|---|---|
Lists all connected Prophesee devices |
Easy |
Sample |
|
Prints information on the platform, connected Prophesee devices, and installed software (useful for debug) |
Medium |
Application |
|
Cuts RAW file from/to given time |
Medium |
Application |
|
Visualizes events from event-based cameras |
Advanced |
Sample |
Standalone samples¶
Name |
Description |
Level |
Path to the sample Paths start with <install-prefix>/share/metavision/ |
---|---|---|---|
EVT2 RAW File decoder |
Decodes an EVT 2.0 format RAW file and writes the decoded events in a CSV file |
Medium |
/samples/metavision_evt2_raw_file_decoder.cpp |
EVT3 RAW File decoder |
Decodes an EVT 3.0 format RAW file and writes the decoded events in a CSV file |
Medium |
/samples/metavision_evt3_raw_file_decoder.cpp |
- Note that there is difference between applications and samples:
samples are aimed at demonstrating concepts as simple as possible, they serve as tutorials, and they are delivered as source code only;
applications are useful tools which solve specific needs (e.g. focusing, calibration, data conversion, debugging, etc.); they are delivered as pre-compiled binaries (ready for execution) and source code (to be able to look at more complex examples).
- <install-prefix> depends on your Operating System and installation:
on Linux, the default install prefix is /usr directory
on Windows, the default install prefix is C:\Program Files\Prophesee