mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 04:26:58 +03:00
Ensure, that no ',' or '.' is in the ROIs name
This commit is contained in:
@@ -657,6 +657,12 @@ function getNUMBERInfo(){
|
||||
}
|
||||
|
||||
function RenameNUMBER(_alt, _neu){
|
||||
if ((_neu.search(".") >= 0) || (_neu.search(",") >= 0))
|
||||
{
|
||||
return "Name must not contain ',' or '.' - please change name";
|
||||
}
|
||||
|
||||
|
||||
index = -1;
|
||||
found = false;
|
||||
for (i = 0; i < NUMBERS.length; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user