Update templates/other.html
Browse files- templates/other.html +9 -1
templates/other.html
CHANGED
|
@@ -14,13 +14,21 @@
|
|
| 14 |
<button type="button" onclick="performOCR()">Perform OCR</button>
|
| 15 |
</div>
|
| 16 |
<div class="paste-container">
|
| 17 |
-
<h2>
|
|
|
|
|
|
|
| 18 |
<div id="paste-box" contenteditable="true" onpaste="handlePaste(event)">
|
| 19 |
<p></p>
|
| 20 |
</div>
|
| 21 |
<img id="pasted-image" src="" alt="Pasted Image" style="display: none;">
|
| 22 |
<button type="button" onclick="saveImage()">Save Image</button>
|
| 23 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
<div id="ocr-result" class="ocr-result"></div>
|
| 25 |
<div id="loading" class="loading" style="display: none;">Loading</div>
|
| 26 |
</div>
|
|
|
|
| 14 |
<button type="button" onclick="performOCR()">Perform OCR</button>
|
| 15 |
</div>
|
| 16 |
<div class="paste-container">
|
| 17 |
+
<h2>Dán hình ảnh ở đây</h2>
|
| 18 |
+
<p>Bấm lưu hình ảnh sau khi dán</p>
|
| 19 |
+
|
| 20 |
<div id="paste-box" contenteditable="true" onpaste="handlePaste(event)">
|
| 21 |
<p></p>
|
| 22 |
</div>
|
| 23 |
<img id="pasted-image" src="" alt="Pasted Image" style="display: none;">
|
| 24 |
<button type="button" onclick="saveImage()">Save Image</button>
|
| 25 |
</div>
|
| 26 |
+
<div id="image-container">
|
| 27 |
+
<h2>Captured Image</h2>
|
| 28 |
+
<div class="image-frame">
|
| 29 |
+
<img id="captured-image" src="" alt="Captured Image" style="display: none;">
|
| 30 |
+
</div>
|
| 31 |
+
</div>
|
| 32 |
<div id="ocr-result" class="ocr-result"></div>
|
| 33 |
<div id="loading" class="loading" style="display: none;">Loading</div>
|
| 34 |
</div>
|