This commit is contained in:
CaCO3
2024-02-11 18:03:34 +01:00
committed by CaCO3
parent f7fde7c430
commit b2e5cdd8a3
2 changed files with 24 additions and 21 deletions

View File

@@ -1,6 +1,9 @@
# Parameter `Demo` # Parameter `Demo`
Default Value: `false` Default Value: `false`
!!! Warning
This is an **Expert Parameter**! Only change it if you understand what it does!
Enable to use demo images instead of the real camera images. Enable to use demo images instead of the real camera images.
Make sure to have a `/demo` folder on your SD-Card and make sure it contains the expected files! Make sure to have a `/demo` folder on your SD-Card and make sure it contains the expected files!
Check [here](../Demo-Mode) for details. Check [here](../Demo-Mode) for details.

View File

@@ -133,8 +133,8 @@
<input style="margin-top:12px;margin-bottom:12px" type="checkbox" id="ExpertModus_enabled" value="1" onclick='UpdateExpertModus()' unchecked> <input style="margin-top:12px;margin-bottom:12px" type="checkbox" id="ExpertModus_enabled" value="1" onclick='UpdateExpertModus()' unchecked>
<label for="ExpertModus_enabled">Expert View</label> <label for="ExpertModus_enabled">Expert View</label>
</td> </td>
<td> <td colspan="2">
<button style="display:none;" class="button" id="Edit_Config_Direct" onclick="editConfigDirect()">Edit "Config.ini" File</button> <b>*)</b> A change of this parameter only is applied on the next update of the Refrence Image.
</td> </td>
<td> <td>
</td> </td>
@@ -142,17 +142,17 @@
<tr> <tr>
<td><input class="button" type="button" value="Show Actual Reference" onclick="showReference(param)"></td> <td><input class="button" type="button" value="Show Actual Reference" onclick="showReference(param)"></td>
<td><input class="button" type="button" id="startreference" value="Create New Reference" onclick="loadRawImage(false)"></td> <td><input class="button" type="button" id="startreference" value="Create New Reference" onclick="loadRawImage(false)"></td>
<td><input class="button" type="submit" id="take" onclick="doTake()" value="Update Image"> <td><input class="button" type="submit" id="take" onclick="doTake()" value="Update Reference Image">
</tr> </tr>
</table> </table>
<table style="width: 100%"> <table style="width: 100%">
<colgroup> <colgroup>
<col span="1" style="width: 32%;"> <col span="1" style="width: 20%;">
<col span="1" style="width: 28%;"> <col span="1" style="width: 28%;">
<col span="1" style="width: 10%;"> <col span="1" style="width: 2%;">
<col span="1" style="width: 18%;"> <col span="1" style="width: 20%;">
<col span="1" style="width: 22%;"> <col span="1" style="width: 20%;">
<col span="1" style="width: 5%;"> <col span="1" style="width: 8%;">
</colgroup> </colgroup>
<tr class="expert"> <tr class="expert">
<td> <td>
@@ -167,7 +167,7 @@
oninput="(!validity.rangeOverflow||(value=1280)) && (!validity.rangeUnderflow||(value=0)) && oninput="(!validity.rangeOverflow||(value=1280)) && (!validity.rangeUnderflow||(value=0)) &&
(!validity.stepMismatch||(value=parseInt(this.value)));"> (!validity.stepMismatch||(value=parseInt(this.value)));">
</td> </td>
<td>$TOOLTIP_TakeImage_ZoomOffsetX</td> <td>$TOOLTIP_TakeImage_ZoomOffsetX <b>*)</b></td>
</tr> </tr>
<tr class="expert"> <tr class="expert">
<td> <td>
@@ -177,7 +177,7 @@
oninput="(!validity.rangeOverflow||(value=1)) && (!validity.rangeUnderflow||(value=0)) && oninput="(!validity.rangeOverflow||(value=1)) && (!validity.rangeUnderflow||(value=0)) &&
(!validity.stepMismatch||(value=parseInt(this.value)));"> (!validity.stepMismatch||(value=parseInt(this.value)));">
</td> </td>
<td>$TOOLTIP_TakeImage_ZoomMode</td> <td>$TOOLTIP_TakeImage_ZoomMode <b>*)</b></td>
<td> <td>
<label for="zoomoffsety">Zoom offset Y:</label></td> <label for="zoomoffsety">Zoom offset Y:</label></td>
<td> <td>
@@ -185,7 +185,7 @@
oninput="(!validity.rangeOverflow||(value=960)) && (!validity.rangeUnderflow||(value=0)) && oninput="(!validity.rangeOverflow||(value=960)) && (!validity.rangeUnderflow||(value=0)) &&
(!validity.stepMismatch||(value=parseInt(this.value)));"> (!validity.stepMismatch||(value=parseInt(this.value)));">
</td> </td>
<td>$TOOLTIP_TakeImage_ZoomOffsetY</td> <td>$TOOLTIP_TakeImage_ZoomOffsetY <b>*)</b></td>
</tr> </tr>
<tr> <tr>
<td> <td>
@@ -201,7 +201,7 @@
oninput="(!validity.rangeOverflow||(value=100)) && (!validity.rangeUnderflow||(value=0)) && oninput="(!validity.rangeOverflow||(value=100)) && (!validity.rangeUnderflow||(value=0)) &&
(!validity.stepMismatch||(value=parseInt(this.value)));"> (!validity.stepMismatch||(value=parseInt(this.value)));">
</td> </td>
<td>$TOOLTIP_TakeImage_LEDIntensity</td> <td>$TOOLTIP_TakeImage_LEDIntensity <b>*)</b></td>
</tr> </tr>
<tr> <tr>
<td> <td>
@@ -216,7 +216,7 @@
<input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Brightness_value1" size="13" value=0 min="-2" max="2" oninput="this.nextElementSibling.value = this.value"> <input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Brightness_value1" size="13" value=0 min="-2" max="2" oninput="this.nextElementSibling.value = this.value">
<output id="TakeImage_Brightness_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output> <output id="TakeImage_Brightness_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output>
</td> </td>
<td>$TOOLTIP_TakeImage_Brightness</td> <td>$TOOLTIP_TakeImage_Brightness <b>*)</b></td>
</tr> </tr>
<tr> <tr>
<td><label for="prerotateangle">Rotation angle:</label></td> <td><label for="prerotateangle">Rotation angle:</label></td>
@@ -233,7 +233,7 @@
<input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Contrast_value1" size="13" value=0 min="-2" max="2" oninput="this.nextElementSibling.value = this.value"> <input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Contrast_value1" size="13" value=0 min="-2" max="2" oninput="this.nextElementSibling.value = this.value">
<output id="TakeImage_Contrast_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output> <output id="TakeImage_Contrast_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output>
</td> </td>
<td>$TOOLTIP_TakeImage_Contrast</td> <td>$TOOLTIP_TakeImage_Contrast <b>*)</b></td>
</tr> </tr>
<tr> <tr>
<td><label for="finerotate">(Fine-tune):</label></td> <td><label for="finerotate">(Fine-tune):</label></td>
@@ -250,26 +250,26 @@
<input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Saturation_value1" size="13" value=0 min="-2" max="2" oninput="this.nextElementSibling.value = this.value"> <input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Saturation_value1" size="13" value=0 min="-2" max="2" oninput="this.nextElementSibling.value = this.value">
<output id="TakeImage_Saturation_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output> <output id="TakeImage_Saturation_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output>
</td> </td>
<td>$TOOLTIP_TakeImage_Saturation</td> <td>$TOOLTIP_TakeImage_Saturation <b>*)</b></td>
</tr> </tr>
<tr class="expert"> <tr class="expert">
<td> <td>
<label for="grayscale" id="labelgrayscale">Grayscale:</label></td> <label for="grayscale" id="labelgrayscale">Grayscale:</label></td>
<td> <td>
<input type="checkbox" id="grayscale" name="grayscale" value="0"></td> <input type="checkbox" id="grayscale" name="grayscale" value="0"></td>
<td>$TOOLTIP_TakeImage_Grayscale</td> <td>$TOOLTIP_TakeImage_Grayscale <b>*)</b></td>
<td> <td>
<label for="aec2" id="labelaec2">Auto Exposure Control 2:</label></td> <label for="aec2" id="labelaec2">Auto Exposure Control 2:</label></td>
<td> <td>
<input type="checkbox" id="aec2" name="aec2" value="0"></td> <input type="checkbox" id="aec2" name="aec2" value="0"></td>
<td>$TOOLTIP_TakeImage_Aec2</td> <td>$TOOLTIP_TakeImage_Aec2 <b>*)</b></td>
</tr> </tr>
<tr class="expert"> <tr class="expert">
<td> <td>
<label for="negative" id="labelnegative">Negative:</label></td> <label for="negative" id="labelnegative">Negative:</label></td>
<td> <td>
<input type="checkbox" id="negative" name="negative" value="0" onchange="drawRotated()"></td> <input type="checkbox" id="negative" name="negative" value="0" onchange="drawRotated()"></td>
<td>$TOOLTIP_TakeImage_Negative</td> <td>$TOOLTIP_TakeImage_Negative <b>*)</b></td>
<td> <td>
<class id="TakeImage_AutoExposureLevel_text" style="color:black;">Auto Exposure Level:</class> <class id="TakeImage_AutoExposureLevel_text" style="color:black;">Auto Exposure Level:</class>
</td> </td>
@@ -277,14 +277,14 @@
<input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_AutoExposureLevel_value1" size="13" value=0 min="-2" max="2" oninput="this.nextElementSibling.value = this.value"> <input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_AutoExposureLevel_value1" size="13" value=0 min="-2" max="2" oninput="this.nextElementSibling.value = this.value">
<output id="TakeImage_AutoExposureLevel_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output> <output id="TakeImage_AutoExposureLevel_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output>
</td> </td>
<td>$TOOLTIP_TakeImage_AutoExposureLevel</td> <td>$TOOLTIP_TakeImage_AutoExposureLevel <b>*)</b></td>
</tr> </tr>
<tr class="expert"> <tr class="expert">
<td> <td>
<label for="FixedExposure" id="labelFixedExposure">FixedExposure:</label></td> <label for="FixedExposure" id="labelFixedExposure">FixedExposure:</label></td>
<td> <td>
<input type="checkbox" id="FixedExposure" name="FixedExposure" value="0"></td> <input type="checkbox" id="FixedExposure" name="FixedExposure" value="0"></td>
<td>$TOOLTIP_TakeImage_FixedExposure</td> <td>$TOOLTIP_TakeImage_FixedExposure <b>*)</b></td>
<td> <td>
<class id="TakeImage_Sharpness_text" style="color:black;">Sharpness:</class> <class id="TakeImage_Sharpness_text" style="color:black;">Sharpness:</class>
</td> </td>
@@ -292,7 +292,7 @@
<input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Sharpness_value1" size="13" value=0 min="-4" max="3" oninput="this.nextElementSibling.value = this.value"> <input style="clear: both; width: 80%;vertical-align:middle" type="range" id="TakeImage_Sharpness_value1" size="13" value=0 min="-4" max="3" oninput="this.nextElementSibling.value = this.value">
<output id="TakeImage_Sharpness_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output> <output id="TakeImage_Sharpness_value1_output" style="vertical-align:middle; min-width:15px; padding-right:5px; text-align:right; float:left">0</output>
</td> </td>
<td>$TOOLTIP_TakeImage_Sharpness</td> <td>$TOOLTIP_TakeImage_Sharpness <b>*)</b></td>
</tr> </tr>
</table> </table>
<table> <table>