Filter Guide: Lens Correction - Crowsinc/LiveVisionKit GitHub Wiki

A correction filter for removing camera lens distortion.

Almost all camera lens contain some optical distortion that often leads to squishing or stretching of scenery near the center and edges of the frame. This filter aims to correct this distortion, resulting in more realistic video.

Specifications

  • Filter Type: Video or effects filter
  • HDR Support: No
  • Performance Impact: Low (<1ms)
  • Special Requirements:
    • Must have an OpenCL capable GPU.
    • Must perform camera calibration with the Calibration Tool.
    • Must be applied before HUD elements (donations, subscriptions etc.)

Settings

  • Calibration Profile: The calibration profile for the camera and lens combo in use, created with the Calibration Tool. The filter will automatically start the lens correction once the profile is selected. Unselect the profile, or turn the filter off to disable lens correction.
  • Test Mode: Draws a grid on the video to visualize the lens correction being applied.

Best Practices

The filter should be applied to video under the same conditions used for creating the calibration profile. In practice, this means that the same camera, lens and resolution (no crop etc.) must be used.