The road markings setup should be specified: number and location of the driving lanes and traffic directions.
To set up the markings parameters, do the following:
In the Keypoints window, set the keypoints, signifying the markings.
A keypoint is a small object or a marking easily identified in the image. The actual road markings can be used as key points. No more than two points should lie on a single straight line. The keypoints should be as far from each other as possible, although inside the camera viewing zone. The farther the keypoints are from each other, the more precise will be the setup. Measure and write down the coordinates of actual keypoints on the road relative to any origin. These will be the ground coordinates of the keypoints. |
At this stage you must specify four keypoints and their coordinates. By default keypoints are set automatically.
To change the keypoints and their coordinates do the following:
6.1 Remove from the screen the keypoint whose coordinates you want to change. This requires a point with the mouse and hold down the «Shift», press the left mouse button.
6.2 Click the position for a keypoint in the video frame and press the left mouse button.
6.3 In the zoom window that opens, mark the keypoint and enter the ground oordinates in the X and Y fields.
6.4 Click OK.
It is expected that the width of all driving lanes is similar. For correct system working it is recommended to use separate traffic detectors for each driving lane if there is some area in the camera field of view which width is not divisible to the width of driving lane. |
The road markings are now set.