t_data</span><span class="p">)</span>
        <span class="c1"># Perform detection</span>
        <span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">model</span><span class="o">.</span><span class="n">predict</span><span class="p">(</span><span class="n">images</span><span class="p">,</span> <span class="n">result_path</span><span class="p">)</span>

    <span class="k">def</span> <span class="nf">predict_pdfs</span><span class="p">(</span><span class="bp">self