diff --git a/sd-card/html/setup.html b/sd-card/html/setup.html index 3fdbb6ec7..78564b46f 100644 --- a/sd-card/html/setup.html +++ b/sd-card/html/setup.html @@ -92,7 +92,7 @@

A Neural Network Recognition Sy - Setup Progress:
+ Setup Progress:
@@ -130,7 +130,7 @@

A Neural Network Recognition Sy function clickAbort() { setupCompleted = false; - aktstep = 7; + aktstep = 5; document.getElementById('stream').src = ""; document.getElementById('stream').style.display = "none"; // Make sure that stream iframe is always hidden LoadStep(); @@ -140,8 +140,8 @@

A Neural Network Recognition Sy function clickNext() { aktstep++; - if (aktstep > 7) { - aktstep = 7; + if (aktstep > 5) { + aktstep = 5; } document.getElementById('stream').src = ""; document.getElementById('stream').style.display = "none"; // Make sure that stream iframe is always hidden @@ -200,8 +200,9 @@

A Neural Network Recognition Sy document.getElementById("progressBar").value = 1; setupCompleted = false; + // needs to be the last statement because it's blocking webserver setTimeout(function() { - document.getElementById('stream').src = getDomainname() + '/camera?task=stream_flashlight'; // needs to be the last statement because it's kind of blocking + document.getElementById('stream').src = getDomainname() + '/camera?task=stream_flashlight'; document.getElementById('stream').style.display = ""; }, 500); break; @@ -243,8 +244,8 @@

A Neural Network Recognition Sy setupCompleted = false; break; - case 4: // Digit ROIs - document.getElementById('maincontent').src = 'edit_digit.html?v=$COMMIT_HASH#description'; + case 4: // Number sequences incl. ROIs + document.getElementById('maincontent').src = 'edit_sequence.html?v=$COMMIT_HASH#description'; document.getElementById('h_iframe_explain').style.display = ""; document.getElementById('h_iframe_explain').style="height:45px;" @@ -258,53 +259,17 @@

A Neural Network Recognition Sy document.getElementById("skip").disabled = false; document.getElementById("progressBar").value = 4; - setupCompleted = false; - break; - - case 5: // Analog ROIs - document.getElementById('maincontent').src = 'edit_analog.html?v=$COMMIT_HASH#description'; - - document.getElementById('h_iframe_explain').style.display = ""; - document.getElementById('h_iframe_explain').style="height:45px;" - document.getElementById('explaincontent').style="height:45px;" - document.getElementById('explaincontent').scrolling="no" - document.getElementById('explaincontent').src = 'setup_explain_5.html?v=$COMMIT_HASH'; - - document.getElementById("restart").disabled = false; - document.getElementById("previous").disabled = false; - document.getElementById("next").disabled = false; - document.getElementById("skip").disabled = false; - - document.getElementById("progressBar").value = 5; - setupCompleted = false; - break; - - case 6: // Config page - document.getElementById('maincontent').src = 'edit_config_param.html?v=$COMMIT_HASH#description'; - - document.getElementById('h_iframe_explain').style.display = ""; - document.getElementById('h_iframe_explain').style="height:100px;" - document.getElementById('explaincontent').style="height:100px;" - document.getElementById('explaincontent').scrolling="no" - document.getElementById('explaincontent').src = 'setup_explain_6.html?v=$COMMIT_HASH'; - - document.getElementById("restart").disabled = false; - document.getElementById("previous").disabled = false; - document.getElementById("next").disabled = false; - document.getElementById("skip").disabled = false; - - document.getElementById("progressBar").value = 6; setupCompleted = true; break; - case 7: // Setup completed / aborted + case 5: // Setup completed / aborted document.getElementById('h_iframe').style="height:660px;" document.getElementById('maincontent').style="height:660px;" if (setupCompleted) { - document.getElementById('maincontent').src = 'setup_explain_7.html?v=$COMMIT_HASH'; + document.getElementById('maincontent').src = 'setup_explain_5.html?v=$COMMIT_HASH'; } else { - document.getElementById('maincontent').src = 'setup_explain_7_abort.html?v=$COMMIT_HASH'; + document.getElementById('maincontent').src = 'setup_explain_5_abort.html?v=$COMMIT_HASH'; document.getElementById("previous").disabled = true; } @@ -314,7 +279,7 @@

A Neural Network Recognition Sy document.getElementById("restart").disabled = false; document.getElementById("next").disabled = true; - document.getElementById("progressBar").value = 7; + document.getElementById("progressBar").value = 5; break; } } diff --git a/sd-card/html/setup_explain_0.html b/sd-card/html/setup_explain_0.html index df421f91b..4e722a09d 100644 --- a/sd-card/html/setup_explain_0.html +++ b/sd-card/html/setup_explain_0.html @@ -2,7 +2,7 @@ - AI on the edge + AI-on-the-Edge + + + -

Step 5 / 7: Configuration Of ROIs For Analog Counters

+

Step 5 / 5: Initial setup completed

+ +

+ Congratulations! You have completed the initial setup and you are now ready to switch to the regular web interface! +

+

+ Once you push the button below, the setup mode will be completed and the device will be automatically switch to + regular web interface. If configuration is error free, the device will automatically start with first processing. + It will take some time until you get the first reading. +

+

+ +

+ + + + - \ No newline at end of file + diff --git a/sd-card/html/setup_explain_7_abort.html b/sd-card/html/setup_explain_5_abort.html similarity index 97% rename from sd-card/html/setup_explain_7_abort.html rename to sd-card/html/setup_explain_5_abort.html index f741b289f..fe1fe1186 100644 --- a/sd-card/html/setup_explain_7_abort.html +++ b/sd-card/html/setup_explain_5_abort.html @@ -2,7 +2,7 @@ - AI on the edge + AI-on-the-Edge - - - - - -

Step 6 / 7: Configuration Page: List Of All Parameters

-

- NOTE: All parameter can be edited later in the regular web interface. So don't worry if you do not understand the parameters yet! -

- - diff --git a/sd-card/html/setup_explain_7.html b/sd-card/html/setup_explain_7.html deleted file mode 100644 index 1c59422cf..000000000 --- a/sd-card/html/setup_explain_7.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - AI on the edge - - - - - - - - - - -

Step 7 / 7: Initial setup completed!

- -

- Congratulations! You have completed the initial setup and you are now ready to switch to the regular web interface! -

-

- Once you push the button below, the setup mode will be completed and the device will be automatically switch to - regular web interface. If configuration is error free, the device will automatically start with first processing. - It will take some time until you get the first reading. -

-

- -

- - - - - - -