mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
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.
|
||||
@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