Mineral Grain Localization and Classification using Deep Neural Networks