mirror of
https://github.com/opencv/opencv.git
synced 2025-07-30 17:37:05 +08:00
Merge pull request #19291 from gpiffault:docs-js_usage-fix_imshow
This commit is contained in:
commit
5389309d40
@ -82,7 +82,7 @@ In this tutorial, we just show a cv.Mat on screen. To show a cv.Mat, you need a
|
||||
|
||||
You can use cv.imshow to show cv.Mat on the canvas.
|
||||
@code{.js}
|
||||
cv.imshow(mat, "outputCanvas");
|
||||
cv.imshow("outputCanvas", mat);
|
||||
@endcode
|
||||
|
||||
Putting all of the steps together, the final index.html is shown below.
|
||||
|
Loading…
Reference in New Issue
Block a user