Learning scene gist with convolutional neural networks to improve object recognition