mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-10 13:36:54 +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){
|
function RenameNUMBER(_alt, _neu){
|
||||||
|
if ((_neu.search(".") >= 0) || (_neu.search(",") >= 0))
|
||||||
|
{
|
||||||
|
return "Name must not contain ',' or '.' - please change name";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
index = -1;
|
index = -1;
|
||||||
found = false;
|
found = false;
|
||||||
for (i = 0; i < NUMBERS.length; ++i) {
|
for (i = 0; i < NUMBERS.length; ++i) {
|
||||||
|
|||||||
Reference in New Issue
Block a user