docs(tutorial_js_usage): fix imshow usage
This commit is contained in:
parent
2d2d72afbb
commit
0043d9bf13
@ -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.
|
You can use cv.imshow to show cv.Mat on the canvas.
|
||||||
@code{.js}
|
@code{.js}
|
||||||
cv.imshow(mat, "outputCanvas");
|
cv.imshow("outputCanvas", mat);
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
Putting all of the steps together, the final index.html is shown below.
|
Putting all of the steps together, the final index.html is shown below.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user