Plant Classification Method Using Histogram and Machine Learning for Smart Agriculture Applications