           image_ids (list, optional): List of image IDs corresponding to the images.</span>

<span class="sd">        Returns:</span>
<span class="sd">            list: List of prediction results.</span>
<span class="sd">        &quot;&quot;&quot;</span>
        <span class="n">results</span> <span class="o">=</span> <span class="p">[]</span>
        <span class="k">for</span> <span class="n">idx</span><span class="p">,</span> <span class="n">image</span> <span class="ow">in</span> <span class="nb">enumera