Skip to content

Commit 5389309

Browse files
committed
Merge pull request opencv#19291 from gpiffault:docs-js_usage-fix_imshow
2 parents 058460d + 0043d9b commit 5389309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/js_tutorials/js_setup/js_usage/js_usage.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ In this tutorial, we just show a cv.Mat on screen. To show a cv.Mat, you need a
8282

8383
You can use cv.imshow to show cv.Mat on the canvas.
8484
@code{.js}
85-
cv.imshow(mat, "outputCanvas");
85+
cv.imshow("outputCanvas", mat);
8686
@endcode
8787

8888
Putting all of the steps together, the final index.html is shown below.

0 commit comments

Comments
 (0)