Text this: The Development of a vision-based flotation froth analysis system