mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-01 14:19:03 +03:00
Rolling 20220831
This commit is contained in:
@@ -254,7 +254,10 @@ function changeCCW(){
|
||||
ROIInfo = getROIInfo("analog", _number);
|
||||
aktindex = parseInt(document.getElementById("index").value);
|
||||
|
||||
ROIInfo[aktindex]["CCW"] = document.getElementById("CCW").checked;
|
||||
if (document.getElementById("CCW").checked)
|
||||
ROIInfo[aktindex]["CCW"] = "true";
|
||||
else
|
||||
ROIInfo[aktindex]["CCW"] = "false";
|
||||
UpdateROIs();
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ function getbasepath(){
|
||||
{
|
||||
// host = "http://192.168.2.219"; // jomjol interner test
|
||||
// host = "http://192.168.178.46"; // jomjol interner test
|
||||
host = "http://192.168.178.44"; // jomjol interner Real
|
||||
host = "http://192.168.178.62"; // jomjol interner Real
|
||||
// host = "http://192.168.43.191";
|
||||
// host = "."; // jomjol interner localhost
|
||||
|
||||
|
||||
@@ -86,8 +86,6 @@ function ParseConfig() {
|
||||
ParamAddValue(param, catname, "CNNGoodThreshold", 1);
|
||||
ParamAddValue(param, catname, "LogImageLocation");
|
||||
ParamAddValue(param, catname, "LogfileRetentionInDays");
|
||||
// ParamAddValue(param, catname, "ModelInputSize", 2);
|
||||
|
||||
|
||||
var catname = "Analog";
|
||||
category[catname] = new Object();
|
||||
@@ -97,7 +95,6 @@ function ParseConfig() {
|
||||
ParamAddValue(param, catname, "Model");
|
||||
ParamAddValue(param, catname, "LogImageLocation");
|
||||
ParamAddValue(param, catname, "LogfileRetentionInDays");
|
||||
// ParamAddValue(param, catname, "ModelInputSize", 2);
|
||||
|
||||
var catname = "PostProcessing";
|
||||
category[catname] = new Object();
|
||||
@@ -236,9 +233,9 @@ function ParseConfigParamAll(_aktline, _catname){
|
||||
let [isCom, input] = isCommented(_input);
|
||||
var linesplit = ZerlegeZeile(input);
|
||||
ParamExtractValueAll(param, linesplit, _catname, _aktline, isCom);
|
||||
if (!isCom && (linesplit.length == 6) && (_catname == 'Digits'))
|
||||
if (!isCom && (linesplit.length >= 5) && (_catname == 'Digits'))
|
||||
ExtractROIs(input, "digit");
|
||||
if (!isCom && (linesplit.length == 6) && (_catname == 'Analog'))
|
||||
if (!isCom && (linesplit.length >= 5) && (_catname == 'Analog'))
|
||||
ExtractROIs(input, "analog");
|
||||
if (!isCom && (linesplit.length == 3) && (_catname == 'Alignment'))
|
||||
{
|
||||
@@ -486,7 +483,9 @@ function ExtractROIs(_aktline, _type){
|
||||
abc["dx"] = linesplit[3];
|
||||
abc["dy"] = linesplit[4];
|
||||
abc["ar"] = parseFloat(linesplit[3]) / parseFloat(linesplit[4]);
|
||||
abc["CCW"] = linesplit[5];
|
||||
abc["CCW"] = "false";
|
||||
if (linesplit.length >= 6)
|
||||
abc["CCW"] = linesplit[5];
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
16.2.0
|
||||
16.3.1
|
||||
Reference in New Issue
Block a user