<p>Any ordinary pre-trained classification model like vgg or resNet will extract different features of the image on each layer. While the earlier layers will respond to more basic and simple features like edges, the deeper layers will respond to more specific features. If you want to have specific features extracted from images, you have to label some data and train your model with that dataset. 
For that, you can use the first couple of layers from a pre-trained model as an encoder. </p>

<p>But I would guess a CNN only solution will get you better results. Here is a nice read about the subject: <a href="https://arxiv.org/ftp/arxiv/papers/1709/1709.08761.pdf" rel="nofollow noreferrer">https://arxiv.org/ftp/arxiv/papers/1709/1709.08761.pdf</a></p>

<p>Keras actually includes some applications with pre-trained weights, including vgg16: <a href="https://github.com/fchollet/keras/blob/master/keras/applications/vgg16.py" rel="nofollow noreferrer">https://github.com/fchollet/keras/blob/master/keras/applications/vgg16.py</a></p>

<p>There you can find the link to the weights for this vgg16 model (pre-trained on imageNet):
<a href="https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels.h5" rel="nofollow noreferrer">https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels.h5</a></p>
Pre-Trained model to extract the feature of the images tensorflow?
<p>Could someone please provide details of model available to extract the feature of images model for tensorflow or Keras? I have been looking for pre-trained models that will extract the features of the image. And then I will create a vector of the images then apply the nearest neighbor to find out similar images.</p>