Skip to content

Calibration

Yossi Neiman edited this page Feb 9, 2017 · 11 revisions

In order to calibrate your Cardigan you need to open the file defaults.cfg and edit the variables to fit your needs.

Update: You can now calibrate using a simple UI using our app!

Make sure your road frame will look only on the road, Avoid the skyline and the car hood. Road frame

Variable explained

Name Description Default
need_to_calibrate Calibration flag (Will be used for automatic calibration) False
fps Real time frame rate 8
lane_center X value of avg center of lane 100
x1, y1 Left upper point of road window 80, 220
road_height Road frame height 120
road_width Road frame width 400
square_width Car detection area of interest width 40
square_height Car detection area of interest height 40
flip If the video needs to be flipped True
debug In debug mode the system will save data and output the process in real time. True
Clone this wiki locally