Commit f9c35526d23d6b9a3152e77624353377461fe1af

Authored by dgcrouse
1 parent 1f041fdb

Removed unused code

Showing 1 changed file with 0 additions and 6 deletions
openbr/plugins/cascade.cpp
@@ -315,8 +315,6 @@ class CascadeTransform : public MetaTransform @@ -315,8 +315,6 @@ class CascadeTransform : public MetaTransform
315 315
316 bool buildPos = false; // If true, build positive vector from single image 316 bool buildPos = false; // If true, build positive vector from single image
317 317
318 - QList<QString> vectors;  
319 -  
320 trainParams params; 318 trainParams params;
321 319
322 // Fill in from params (param defaults are same as struct defaults, so no checks are needed) 320 // Fill in from params (param defaults are same as struct defaults, so no checks are needed)
@@ -382,10 +380,6 @@ class CascadeTransform : public MetaTransform @@ -382,10 +380,6 @@ class CascadeTransform : public MetaTransform
382 if (f.localKeys().contains("maxxangle")) params.maxxangle = f.localMetadata()["maxxangle"].toDouble(); 380 if (f.localKeys().contains("maxxangle")) params.maxxangle = f.localMetadata()["maxxangle"].toDouble();
383 if (f.localKeys().contains("maxyangle")) params.maxyangle = f.localMetadata()["maxyangle"].toDouble(); 381 if (f.localKeys().contains("maxyangle")) params.maxyangle = f.localMetadata()["maxyangle"].toDouble();
384 if (f.localKeys().contains("maxzangle")) params.maxzangle = f.localMetadata()["maxzangle"].toDouble(); 382 if (f.localKeys().contains("maxzangle")) params.maxzangle = f.localMetadata()["maxzangle"].toDouble();
385 -  
386 - }else if (tset == "vector"){  
387 - vectors.append(f.path() + foldersep + f.fileName());  
388 - }  
389 } 383 }
390 } 384 }
391 385