Skip to content

Software

frequency_cam

By ROS event camera support, from github.com/ros-event-camera/frequency_cam (opens in a new tab)

  • Perception
  • Tool
  • Apache-2.0

A ROS/ROS2 node that colors each pixel of an event camera image by the frequency at which its brightness changes, producing a frequency image for periodic signals.

Facts

GitHub stars
27read on 28 Nov 2026
Last update
26 Apr 2026Newest commit on master
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Advanced
Hardware it needs, as the project states it
Tested on Ubuntu 20.04 under ROS2 Galactic.

Checked on GitHub on 28 Nov 2026.

Licenses

Code
Apache-2.0 (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 7407326 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Colors pixels by the frequency of their brightness changes, yielding a frequency image similar to Prophesee's Metavision vibration module.
  • Uses an IIR digital filter to approximately reconstruct each pixel's brightness, then measures time between zero-level crossings.
  • Expects event_camera_msgs messages, typically from the metavision ROS driver; other cameras can be supported via conversion tools or the libcaer driver.
  • Parameters control the frequency range, filter cutoff, timeouts, publishing rate, log-scale coloring, overlay of event pixels, and legend appearance.
  • Can play from a bag file under ROS2 and write generated frames to disk, with optional image scaling.
  • Publishes the frequency image on a topic and subscribes to an event topic.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
Apache-2.0. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Maintained, last commit on 26 Apr 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 7407326

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by ROS event camera support, at commit 7407326, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

FrequencyCam: Imaging Periodic Signals in Real-Time

FrequencyCam guitar (opens in a new tab)

This repository has a ROS/ROS2 node for frequency analysis with event based cameras. FrequencyCam colors pixels in an image with the frequency at which their brightness changes. The end result is a "frequency image" that is very similar to Prophesee's Metavision Vibration Estimation module (opens in a new tab).

In contrast to the Metavision module, FrequencyCam is open source under a permissive (Apache2 license) and is documented. It uses an IIR digital filter to approximately reconstruct the brightness of each pixel and then measures the time it takes between zero-level crossings. For more details please refer to this paper (opens in a new tab).

Here are a few videos of FrequencyCam in action:

Supported platforms

Currently tested on Ubuntu 20.04 under ROS2 Galactic.

Set the following shell variables:

repo=frequency_cam
url=https://github.com/ros-event-camera/${repo}.git

and follow the instructions here (opens in a new tab)

ros2 launch frequency_cam frequency_cam.launch.py

FrequencyCam expects ROS event_camera_msgs messages from the metavision ROS driver (opens in a new tab) here. You should be able to use other cameras (like DVS etc) by converting the messages with a republish nodelet from the event camera tools (opens in a new tab) repository. Alternatively you can use the libcaer driver (opens in a new tab) that publishes suitable messages natively.

Parameters (see launch file):

Input and algorithm related parameters:

  • min_frequency: lower bound for detected frequency
  • max_frequency: upper bound for detected frequency
  • cutoff_period: number of events to use for the filter, see paper. When in doubt set to 5.0 (default).
  • num_timeout_cycles: mark pixel inactive if it has not been updated for a time of num_timeout_cycles times pixel period (defaults to 2).
  • use_sim_time: set this to true when playing from bag (and play bag with --clock 10000)
  • bag_file: only supported under ROS2: play from bag file and write generated frames to disk. If no bag file is given the node subscibes to topics.

Imaging related parameters:

  • publishing_frequency: frequency (in Hz) at which frequency image is published (defaults to 20Hz)
  • use_log_frequency: use log scale for frequency image coloring
  • overlay_events: mark pixels grey for which events have happened but no frequency could be found.
  • legend_num_bins: how many color patches to show (defaults to 11)
  • legend_num_sig_digits: how many significant digits to use for legend (defaults to 3).
  • legend_frequencies: explicitly specify frequencies of color patches to show in the legend.
  • legend_width: how many pixels wide the legend should be (defaults to 100).
  • scale_image: factor by how much to scale up the image in resolution. Only used when playing from bag under ROS2. Useful for getting nicer fonts for numbers when running from bag for movie generation.
Topics
  • ~/image_raw: topic under which frequency image is published.
  • ~/events: event topic to subscribe to.
License

This software is issued under the Apache License Version 2.0.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.