Skip to content

Commit 89ef676

Browse files
committed
Merge pull request opencv#19297 from raaldrid:Template_Match_Tutorial_fix_17739
2 parents 83e14f6 + 380009a commit 89ef676

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/js_tutorials/js_assets/js_template_matching_matchTemplate.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ <h2>Template Match Example</h2>
7474
utils.loadCode('codeSnippet', 'codeEditor');
7575
utils.loadImageToCanvas('lena.jpg', 'imageCanvasInput');
7676
utils.loadImageToCanvas('lenaFace.png', 'templateCanvasInput');
77-
utils.addFileInputHandler('fileInput', 'canvasInput');
77+
utils.addFileInputHandler('fileInput', 'imageCanvasInput');
78+
utils.addFileInputHandler('templateFileInput', 'templateCanvasInput');
7879

7980
let tryIt = document.getElementById('tryIt');
8081
tryIt.addEventListener('click', () => {

0 commit comments

Comments
 (0)