ROS2 Focus Peaking

Released this ROS 2 package which assists in manually focusing lenses on machine vision cameras and evaluating image sharpness.

demo video

Features

  • Visual Focus Aid: Highlights sharp edges in real-time.
  • Quantitative Sharpness Score: Provides a numerical metric for focus quality.
  • Interactive ROI Selection: Allows focusing on specific areas of interest.
  • Focus History: The sharpness score considers a history of frames (configurable via focus_history_size parameter) to provide a stable peak reading, mitigating temporary fluctuations (e.g., minor lighting changes).
7 Likes

Wow, this looks quite interesting. I think we’ll have a use for this package!

1 Like