Object detection can be done by a machine learning approach and a deep learning approach . The machine learning approach requires the features to be defined by using various methods and then using any technique such as Support Vector Machines (SVMs) to do the classification.