Actually use shape for object recognition.
Put coefficients for individual errors in config file.