Parameter updates
The list of parameters that the inference worker actually uses is really unclear ATM. Some parameters were introduced in the past for projects but not set in the worker configuration at all. We need to do some cleanup. After some discussion with @starride, I came up with the following plan :
- Expose the following parameters as user_configurable parameters
-
scale_x
, not required, float, defaults to 1.0, Rescale the image on the X axis -
scale_y_top
, not required, float, defaults to 1.0, Rescale the image on the Y axis, only affects the top part -
scale_y_bottom
, not required, float, defaults to 1.0, Rescale the image on the Y axis, only affects the bottom part
-
- Hardcode the following parameters
should_rescale = scale_x * scale_y_top * scale_bottom != 1.0
skew_angle = None
max_deskew_angle = 45