2023-04-26 14:18:24 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html th:lang="${#locale.toString()}" th:lang-direction="#{language.direction}" xmlns:th="http://www.thymeleaf.org">
|
|
|
|
|
2023-05-01 19:50:20 +02:00
|
|
|
<th:block th:insert="~{fragments/common :: head(title=#{home.ScannerImageSplit.title})}"></th:block>
|
2023-04-26 14:18:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="page-container">
|
|
|
|
<div id="content-wrap">
|
|
|
|
<div th:insert="~{fragments/navbar.html :: navbar}"></div>
|
|
|
|
<br> <br>
|
|
|
|
<div class="container">
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-md-6">
|
2023-05-01 19:50:20 +02:00
|
|
|
<h2 th:text="#{home.ScannerImageSplit.title}"></h2>
|
2023-04-26 14:18:24 +02:00
|
|
|
|
|
|
|
<form id="multiPdfForm" th:action="@{extract-image-scans}" method="post" enctype="multipart/form-data">
|
|
|
|
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multiple=false, accept='image/*, application/pdf')}"></div>
|
2023-04-29 00:18:10 +02:00
|
|
|
<div class="form-group">
|
2023-05-01 19:50:20 +02:00
|
|
|
<label for="angleThreshold" th:text="#{ScannerImageSplit.selectText.1}"></label>
|
2023-04-29 00:18:10 +02:00
|
|
|
<input type="number" class="form-control" id="angleThreshold" name="angle_threshold" value="5">
|
2023-05-01 19:50:20 +02:00
|
|
|
<small id="angleThresholdHelp" class="form-text text-muted" th:text="#{ScannerImageSplit.selectText.2}"></small>
|
2023-04-29 00:18:10 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-05-01 19:50:20 +02:00
|
|
|
<label for="tolerance" th:text="#{ScannerImageSplit.selectText.3}"></label>
|
2023-04-29 00:18:10 +02:00
|
|
|
<input type="number" class="form-control" id="tolerance" name="tolerance" value="20">
|
2023-05-01 19:50:20 +02:00
|
|
|
<small id="toleranceHelp" class="form-text text-muted" th:text="#{ScannerImageSplit.selectText.4}"></small>
|
2023-04-29 00:18:10 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-05-01 19:50:20 +02:00
|
|
|
<label for="minArea" th:text="#{ScannerImageSplit.selectText.5}"></label>
|
2023-04-29 00:18:10 +02:00
|
|
|
<input type="number" class="form-control" id="minArea" name="min_area" value="8000">
|
2023-05-01 19:50:20 +02:00
|
|
|
<small id="minAreaHelp" class="form-text text-muted" th:text="#{ScannerImageSplit.selectText.6}"></small>
|
2023-04-29 00:18:10 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2023-05-01 19:50:20 +02:00
|
|
|
<label for="minContourArea" th:text="#{ScannerImageSplit.selectText.7}"></label>
|
2023-04-29 00:18:10 +02:00
|
|
|
<input type="number" class="form-control" id="minContourArea" name="min_contour_area" value="500">
|
2023-05-01 19:50:20 +02:00
|
|
|
<small id="minContourAreaHelp" class="form-text text-muted" th:text="#{ScannerImageSplit.selectText.8}"></small>
|
2023-04-29 00:18:10 +02:00
|
|
|
</div>
|
2023-05-01 19:50:20 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="borderSize" th:text="#{ScannerImageSplit.selectText.9}"></label>
|
|
|
|
<input type="number" class="form-control" id="borderSize" name="border_size" value="1">
|
|
|
|
<small id="borderSizeHelp" class="form-text text-muted" th:text="#{ScannerImageSplit.selectText.10}"></small>
|
2023-04-29 00:18:10 +02:00
|
|
|
</div>
|
2023-05-01 19:50:20 +02:00
|
|
|
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{genericSubmit}"></button>
|
2023-04-26 14:18:24 +02:00
|
|
|
</form>
|
2023-05-01 19:50:20 +02:00
|
|
|
|
2023-04-26 14:18:24 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div th:insert="~{fragments/footer.html :: footer}"></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|