New parameters have been added to define the input of the models:
* ResizeOperation: by default center-crop was being performed, now it is
configurable.
* InputOrder: by default RGB was being used as the order for the array
values of the input tensor, now it can be configured.
* InputInterval has been changed to InputIntervals (an slice). This
means that every channel can have its own interval conversion.
* InputInterval can define now stddev and mean, because sometimes
instead of adjusting the interval, the stddev and mean of the training
data should be use.
These changes allow to configure the computer vision models through an
optional vision.yml configuration file. Note that the API endpoints
are not yet functional and require further work.
Signed-off-by: Michael Mayer <michael@photoprism.app>