Generic Config
Projection
[projection]
entry_0 = 0,0,0 ; x , y , exit number or pixels... text and error
exit_0 = 0,0,0 ; x , y , exit
Region of Interest (ROI)
Parameter to set up a region of the picture, it helps the process to be quicker but it is optional. Roi_x means x point of the region of interest
;roi_x = 0
roi_y = 1000
;roi_w = w
roi_h = 2500
scale_factor = 1
Validation
Set the parameters to say if the image is correct based on the detected curve.
If you create a validation section as:
[validation_NAMEOFTHELINE]
NAMEOFTHELINE should be the same name as the comma separated lines parameter from the [detection section]
Parameters inside
Size: will be the proportion of the line respect to the entire image width. It is a percentage of the image. The first line must be bigger than the 70% of the image.
camber: mincamber,maxcamber Range were the camber must be fitted.
camber_front: min,max Range were the camber_front must be fitted.
camber_back: min,max Range were the camber_back must be fitted.
draft: min,max Range were the draft must be fitted.
Example:
[validation_75]
size = 5 ; percentage
camber_min = 10
camber_max = 20 ; between 10 and 20
draft_min = 0
draft_max = 50
camber_front_min = 10
camber_front_max = 20
camber_back_min = 10
camber_back_max = 20