2.jpg" src="_images/b2.jpg" />
<p>You can perform live camera segmentation with your custom model making use of this code:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">pixellib</span>
<span class="kn">from</span> <span class="nn">pixellib.instance</span> <span class="kn">import</span> <span class="n">custom_segmentation</span>
<span class="kn">import</span> <span class="nn">cv2</span>


<span class="n">capture</span> <