mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Only accept images to upload for OpenCV.js tutorials
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<div>
|
||||
<div class="inputoutput">
|
||||
<img id="imageSrc" alt="No Image" />
|
||||
<div class="caption">imageSrc <input type="file" id="fileInput" name="file" /></div>
|
||||
<div class="caption">imageSrc <input type="file" id="fileInput" name="file" accept="image/*" /></div>
|
||||
</div>
|
||||
<div class="inputoutput">
|
||||
<canvas id="canvasOutput" ></canvas>
|
||||
|
||||
Reference in New Issue
Block a user