firelab-general/templates/index.html

79 lines
2.2 KiB
HTML
Raw Normal View History

2022-10-28 15:18:51 -07:00
{% extends "base.html" %}
2022-11-04 17:55:25 -07:00
{% block head %}
{% endblock %}
2022-10-11 11:19:48 -07:00
{% block content %}
2022-10-11 13:46:53 -07:00
<form action="/ratio_pyro" method="POST" enctype="multipart/form-data">
<h2>Ratio Pyrometry Interface</h2>
2022-10-12 11:40:52 -07:00
<img src="#" id="img-preview" type="file"/>
<br>
2022-10-12 15:48:52 -07:00
<input id="img-upload" type="file" name="file" accept=".png,.jpg,.jpeg,.tiff" value="Choose Image"/>
2022-10-11 13:46:53 -07:00
<h4>Camera Settings</h4>
<label for="iso">ISO</label>
2022-10-11 20:31:04 -07:00
<input type="number" name="iso" value="64"/>
2022-10-11 13:46:53 -07:00
<br>
<label for="i_darkcurrent">I_Darkcurrent</label>
2022-10-18 13:15:50 -07:00
<input type="number" name="i_darkcurrent" value="7.7" step="0.001"/>
2022-10-11 13:46:53 -07:00
<br>
<label for="exposure_time">Exposure Time <i>t</i></label>
2022-10-18 13:15:50 -07:00
<input type="number" name="exposure_time" value="0.5" step="0.001"/>
2022-10-11 13:46:53 -07:00
<br>
2022-10-12 21:22:10 -07:00
2022-10-11 13:46:53 -07:00
<label for="f_stop">F-stop <i>f</i></label>
2022-10-18 13:15:50 -07:00
<input type="number" name="f_stop" value="2.4" step="0.001"/>
2022-10-11 13:46:53 -07:00
<br>
2022-10-12 21:22:10 -07:00
2022-10-11 13:46:53 -07:00
<h4>Temperature Settings</h4>
<label for="min_temp">Min Temp (°C)</label>
2022-10-20 17:33:15 -07:00
<input type="number" name="min_temp" value="600"/>
2022-10-11 13:46:53 -07:00
<br>
<label for="max_temp">Max Temp (°C)</label>
<input type="number" name="max_temp" value="1200"/>
<br>
2022-10-20 17:33:15 -07:00
<h4>Pyrometry Equation Settings</h4>
<img src="/s/pyrometry_eqn.png" id="pyro-eqn" alt="pyrometry calibration formula">
<br>
<label for="equation_scaling_factor">Equation scaling factor (1 default, 0.55 recommended)</label>
<input type="number" name="equation_scaling_factor" value="0.55" step="0.001"/>
<br>
2022-11-11 19:39:19 -08:00
<h4>Firebrand Detection Settings</h4>
<label for="intensity_threshold">intensity threshold (0-255)</label>
<input type="number" name="intensity_threshold" value="250", step="0.1"/>
<br>
<label for="min_area">min area (removes small particles)</label>
<input type="number" name="min_area" value="115", step="0.1"/>
<br>
2022-11-11 19:39:19 -08:00
2022-10-12 17:37:31 -07:00
<h4>Output Settings</h4>
<label for="smoothing_radius">Smoothing Radius (px)</label>
<input type="number" name="smoothing_radius" value="2"/>
<br>
<label for="legend_entries">Legend Entries</label>
<input type="number" name="legend_entries" value="20"/>
<br>
2022-10-11 13:46:53 -07:00
<br>
<input type="submit" value="Generate Heatmap"/>
</form>
2022-10-12 11:40:52 -07:00
2022-11-04 17:55:25 -07:00
<!-- Image Preview -->
<script src="/s/js/img_preview.js"></script>
2022-10-12 11:40:52 -07:00
2022-10-11 11:19:48 -07:00
{% endblock %}