jomjol 4 лет назад
Родитель
Сommit
4b6044dade

+ 4 - 0
README.md

@@ -41,6 +41,10 @@ If you would like to support the developer with a cup of coffee you can do that
 
 ##### Rolling (2021-02-06)
 
+* New Feature `FixedExposure`: fixes the illumination settings at the ini phase. Therefore later on the waiting time after switching on the illumination can be reduced to a minimum and the flow is 5 seconds faster
+  * parameter needs to be added manually in an existing `config.ini`
+  * together with fast alignment now every 40s or faster a value can be readout (instead of 2-3 minutes before)
+* updated tflite of digits to v8.1.1
 * added checked value information to MQTT error message
 
 

+ 1 - 1
code/.helper/makezip.bat

@@ -1 +1 @@
-powershell Compress-Archive "C:\Users\Muell\Documents\Programmieren\GitHub\AI-on-the-edge-device\sd-card\html\*" "C:\Users\Muell\Documents\Programmieren\GitHub\AI-on-the-edge-device\firmware\html.zip"
+powershell Compress-Archive "C:\Users\Muell\Documents\Programmieren\GitHub\AI-on-the-edge-device\sd-card\html\*.*" "C:\Users\Muell\Documents\Programmieren\GitHub\AI-on-the-edge-device\firmware\html.zip"

BIN
firmware/html.zip


+ 1 - 0
sd-card/config/config.ini

@@ -5,6 +5,7 @@ WaitBeforeTakingPicture = 5
 ImageQuality = 5
 ImageSize = VGA
 Brightness = 0
+FixedExposure = true
 
 [Alignment]
 InitalRotate=180

+ 20 - 0
sd-card/html/edit_config_param.html

@@ -143,6 +143,24 @@ textarea {
 				Image Brightness (-2 .. 2 - default = "0")
 			</td>
 		</tr>
+		<tr class="expert"  id="MakeImage_FixedExposure_ex10">
+			<td width="20px"  style="padding-left: 40px;">
+			</td>
+			<td  width="200px">
+				<class id="MakeImage_FixedExposure_text" style="color:black;">FixedExposure</class>
+			</td>
+			<td>
+				<select id="MakeImage_FixedExposure_value1">
+					<option value="0" selected>true</option>
+					<option value="1" >false</option>
+				</select>
+			</td>
+			<td style="font-size: 80%;">
+				Fixes the illumination setting of camera at the startup and uses this later --> individual round is faster
+			</td>
+		</tr>
+
+
 <!--
 		<tr class="expert"  id="Contrast_ex3">
 			<td width="20px" style="padding-left: 40px;">
@@ -814,6 +832,7 @@ function UpdateInput() {
 //	WriteParameter(param, category, "MakeImage", "Contrast", false);		
 //	WriteParameter(param, category, "MakeImage", "Saturation", false);		
 	WriteParameter(param, category, "MakeImage", "ImageSize", false, true, true);		
+	WriteParameter(param, category, "MakeImage", "FixedExposure", false, true, true);		
 
 	WriteParameter(param, category, "Alignment", "SearchFieldX", false);		
 	WriteParameter(param, category, "Alignment", "SearchFieldY", false);		
@@ -870,6 +889,7 @@ function ReadParameterAll()
 //	ReadParameter(param, "MakeImage", "Contrast", false);		
 //	ReadParameter(param, "MakeImage", "Saturation", false);		
 	ReadParameter(param, "MakeImage", "ImageSize", false, true);	
+	ReadParameter(param, "MakeImage", "FixedExposure", false, true);	
 
 	ReadParameter(param, "Alignment", "SearchFieldX", false);		
 	ReadParameter(param, "Alignment", "SearchFieldY", false);

+ 1 - 0
sd-card/html/readconfigparam.js

@@ -28,6 +28,7 @@ function ParseConfig() {
      ParamAddValue(param, catname, "Saturation");
      ParamAddValue(param, catname, "ImageQuality");
      ParamAddValue(param, catname, "ImageSize");     
+     ParamAddValue(param, catname, "FixedExposure");     
 
      var catname = "Alignment";
      category[catname] = new Object(); 

+ 1 - 1
sd-card/html/version.txt

@@ -1 +1 @@
-5.2.0
+5.3.0