Skip to content

Commit

Permalink
deploy: e2cbdb4
Browse files Browse the repository at this point in the history
  • Loading branch information
nekiwo committed Oct 8, 2024
1 parent 9c20f4b commit 264c888
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/PreseasonTraining/OpenCV_ColorSegmentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ <h3>Camera stream<a class="headerlink" href="#camera-stream" title="Permalink to
</section>
<section id="showing-image">
<h3>Showing image<a class="headerlink" href="#showing-image" title="Permalink to this heading"></a></h3>
<p>Use the <code class="docutils literal notranslate"><span class="pre">cv.imshow</span></code> function to show image with the first argument corresponding to window title and the second being the frame. Make sure this is inside your while loop so it keeps updating.</p>
<p>Use the <code class="docutils literal notranslate"><span class="pre">cv.imshow</span></code> function to show image with the first argument corresponding to window title and the second being the frame. Make sure this is inside your while loop so it keeps updating. The window will take in BGR, just like the camera feed, so you don’t need to convert the stream to show it properly.</p>
<div class="highlight-py notranslate"><div class="highlight"><pre><span></span><span class="n">cv</span><span class="o">.</span><span class="n">imshow</span><span class="p">(</span><span class="s2">&quot;Window Title&quot;</span><span class="p">,</span> <span class="n">your_frame</span><span class="p">)</span>
</pre></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ cv.destroyAllWindows()

### Showing image

Use the `cv.imshow` function to show image with the first argument corresponding to window title and the second being the frame. Make sure this is inside your while loop so it keeps updating.
Use the `cv.imshow` function to show image with the first argument corresponding to window title and the second being the frame. Make sure this is inside your while loop so it keeps updating. The window will take in BGR, just like the camera feed, so you don't need to convert the stream to show it properly.

```py
cv.imshow("Window Title", your_frame)
Expand Down
Loading

0 comments on commit 264c888

Please sign in to comment.