/span> <span class="kc">True</span><span class="p">:</span>
   <span class="n">ret</span><span class="p">,</span> <span class="n">frame</span> <span class="o">=</span> <span class="n">capture</span><span class="o">.</span><span class="n">read</span><span class="p">()</span>
   <span class="n">segment_frame</span><span class="o">.</span><span class="n">segmentFrame</span><span class="p">(</span><span class="n">frame</span><span class="p">)</span>
   <span class="n">cv2</span><span class="o">.</span><span cla