.</span><span class="n">set_overlay_state</span><span class="p">(</span><span class="s2">&quot;on&quot;</span><span class="p">)</span>

        <span class="k">try</span><span class="p">:</span>
            <span class="k">with</span> <span class="n">camera_client</span><span class="o">.</span><span class="n">get_inferences</span><span class="p">()</span> <span class="k">as</span> <span class="n">results</span><span class="p">:</span>
                <span class="n">print_inferences</span><span class="p">(<