How to use the lftools.DistortionCorrector function in lftools

To help you get started, we’ve selected a few lftools examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github t-lanigan / vehicle-detection-and-tracking / road_sensor.py View on Github external
def __init__(self):

        self.g             = GlobalObjects()        
        self.thresholder   = lftools.ImageThresholder()
        self.distCorrector = lftools.DistortionCorrector(self.g.camera_cal_folder)
        self.histFitter    = lftools.HistogramLineFitter()
        self.laneDrawer    = lftools.LaneDrawer()
        self.leftLane      = lftools.Line()
        self.rightLane     = lftools.Line()
        
        self.windFinder    = vdtools.WindowFinder()
        self.vTracker      = vdtools.VehicleTracker()

        return

lftools

Linux Foundation Release Engineering Tools

EPL-1.0
Latest version published 9 months ago

Package Health Score

65 / 100
Full package analysis

Similar packages