Merge pull request #19291 from gpiffault:docs-js_usage-fix_imshow

This commit is contained in:
Alexander Alekhin 2021-01-11 20:03:29 +00:00
commit 5389309d40

View File

@ -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.