2022-10-28 17:52:47 -07:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
|
|
|
2022-10-28 20:11:50 -07:00
|
|
|
<form action="/projected_area_results" method="POST" enctype="multipart/form-data">
|
|
|
|
<h2>Projected Area Interface</h2>
|
2022-10-28 17:52:47 -07:00
|
|
|
|
2022-10-28 20:49:54 -07:00
|
|
|
<img src="#" id="img-preview" type="file"/>
|
|
|
|
<br>
|
|
|
|
|
2022-10-28 20:11:50 -07:00
|
|
|
<input id="img-upload" type="file" name="file" accept=".png,.jpg,.jpeg,.tiff" value="Choose Image"/>
|
|
|
|
|
|
|
|
<h4>Settings</h4>
|
|
|
|
|
|
|
|
<label for="area_threshold">Area threshold (to remove dust particles) in px</label>
|
|
|
|
<input type="number" name="area_threshold" value="250"/>
|
|
|
|
<br>
|
2022-11-04 17:55:25 -07:00
|
|
|
<br>
|
2022-10-28 20:11:50 -07:00
|
|
|
|
|
|
|
<label for="min_display_threshold">Minimum display threshold (in px)</label>
|
|
|
|
<input type="number" name="min_display_threshold" value="300"/>
|
|
|
|
<br>
|
2022-11-04 17:55:25 -07:00
|
|
|
<br>
|
|
|
|
|
|
|
|
<label for="min_display_threshold">Page size</label>
|
|
|
|
<input type="number" name="paper_width" value="8.5"/>
|
|
|
|
X
|
|
|
|
<input type="number" name="paper_height" value="11"/> inches
|
|
|
|
<br>
|
|
|
|
<br>
|
2022-10-28 20:11:50 -07:00
|
|
|
|
|
|
|
<br>
|
|
|
|
<input type="submit" value="Generate Projected Sizes"/>
|
|
|
|
</form>
|
2022-10-28 17:52:47 -07:00
|
|
|
|
2022-11-04 17:55:25 -07:00
|
|
|
<!-- Image Preview -->
|
|
|
|
<script src="/s/js/img_preview.js"></script>
|
2022-10-28 20:49:54 -07:00
|
|
|
|
2022-10-28 17:52:47 -07:00
|
|
|
{% endblock %}
|