Text this: Automatic visual model for classification and measurement of quality of fruit: case mangifera indica l