Event-based marker extraction for eWand
This tool is built ontop of FrequencyCam. It relies on FrequencyCam's ability to detect frequencies. Additionally, it filters out frequencies outside of the frequency of eWand's markers, does blob detection and orders the markers.
Please follow the instructions of FrequencyCam.
Use the extract_triggers.py scripts:
python3 extract_triggers.py /path/to/rosbag /path/to/trigger_file <optional arguments>
- Adjust the fields
bag_file,bag_topicandframe_time_fileto the path in your setup ineb_marker_extraction.launch.py - Run colcon
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfoin the ROS2 workspace - Run the extraction
ros2 launch frequency_cam eb_marker_extraction.launch.py
The extracted markers are then saved in blob_detection_position_points.csv.