<p>Great question. Detecting multiple objects in the same image boils is essentially a "segmentation problem". Two nice and popular algorithms are 
YOLO (You Only Look Once), and SSD(Single Shot Multibox Detector). I included links to them at the bottom. </p>

<p>I would watch a few videos on how YOLO works, and see if you grasp the idea. Then read the paper on SSD, and see if you get why this algorithm is even faster and more precise. </p>

<p>Both algorithms are single-pass: they only look at the image "once" and predict bounding boxes for the categories they spot. There are more precise algorithms, but they are slower (they first pick many spots they want to look, and then run a classifier on only that spot. The result is that they run this classifier many times per image, which is slow). </p>

<p>As you stated you are a newbie to Tensorflow, you can try this code other people made: <a href="https://github.com/thtrieu/darkflow" rel="noreferrer">https://github.com/thtrieu/darkflow</a> . The very extensive readme shows you how to get started on your own dataset. </p>

<p>Good luck, and let us know if you have other questions, or if these algorithms do not fit your use-case. </p>

<ul>
<li>YOLO 9000 (<a href="https://pjreddie.com/darknet/yolo/" rel="noreferrer">https://pjreddie.com/darknet/yolo/</a>)</li>
<li>SSD (Single shot multibox detector) (<a href="https://arxiv.org/abs/1512.02325" rel="noreferrer">https://arxiv.org/abs/1512.02325</a>)</li>
</ul>
How to locate multiple objects in the same image?
<p>I am a newbie in TensorFlow.</p>

<p>Currently, I am testing some classification's examples "Convolutional Neural Network" in the TensorFlow website, and it explains how to classify input images into pre-defined classes, but the problem is: I can't figure out how to locate multiple objects in the same image. For example, I had an input image with a cat and dog and I want my graph to display in the output that there are both of them "a cat and a dog" in the image.</p>