<span class="s2">&quot;squirrel&quot;</span><span class="p">])</span>
<span class="n">segment_frame</span><span class="o">.</span><span class="n">load_model</span><span class="p">(</span><span class="s2">&quot;Nature_model_resnet101.h5&quot;</span><span class="p">)</span>

<span class="n">capture</span> <span class="o">=</span> <span class="n">cv2</span><span class="o">.</span><span class="n">VideoCapture</span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
 <span class="k">while<