 In this
example we capture an image if the confidence level of the object is greater than 90.
Below is location in the <em>print_inferences</em> method where we are doing this</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">if</span> <span class="nb">int</span><span class="p">(</span><span class="n">confidence</span><span class="p">)</span> <span class="o">&gt;=</span> <span class="mi">90</span><span class="p">:</span>
    <span class="k">if</span> <s