Object detection via convolutional neural network