Commit 6909da9b authored by YONG-LIN SU's avatar YONG-LIN SU

merge

parents f0f5b8ff 3fb6eb8a
/img/test /test/img
\ No newline at end of file
...@@ -179,7 +179,14 @@ namespace ETC_App1 ...@@ -179,7 +179,14 @@ namespace ETC_App1
else { json.message2 = "車牌辨識無結果"; } else { json.message2 = "車牌辨識無結果"; }
} }
} }
else { json.message2 = "車牌定位無結果"; } else {
json.success = false;
json.failed = true;
json.tickoff = true;
json.lost1 = false;
json.lost2 = false;
json.message2 = "車牌定位無結果";
}
int percent = Convert.ToInt32(Math.Round(Convert.ToDouble(i) * 10000 / data.Count) / 100); int percent = Convert.ToInt32(Math.Round(Convert.ToDouble(i) * 10000 / data.Count) / 100);
......
...@@ -117,7 +117,7 @@ namespace ETC_App1 ...@@ -117,7 +117,7 @@ namespace ETC_App1
Success = Success + (json.success ? 1 : 0); Success = Success + (json.success ? 1 : 0);
Failed = Failed + (json.failed ? 1 : 0); Failed = Failed + (!json.success ? 1 : 0);
Lost = Lost + (json.lost1 ? 1 : 0); Lost = Lost + (json.lost1 ? 1 : 0);
......
This diff is collapsed.
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment