automatic commit
[folded-ctf.git] / materials.cc
index 21f6790..64729db 100644 (file)
@@ -171,7 +171,7 @@ void write_pool_images_with_poses_and_referentials(LabelledImagePool *pool,
       if(detector) {
         int nb_features = 100;
         for(int f = 0; f < nb_features; f++) 
-          if(f == 0 || f ==50 || f  == 53) {
+          if(f == 0 || f == 50 || f  == 53) {
             int n_family, n_feature;
             if(f < nb_features/2) {
               n_family = 0;
@@ -192,17 +192,6 @@ void write_pool_images_with_poses_and_referentials(LabelledImagePool *pool,
       u++;
     }
 
-    //         sprintf(buffer, "/tmp/image-%05d.png", i);
-    //         cout << "Writing " << buffer << endl;
-    //         result_sp.write_png(buffer);
-
-    //         if(global.write_tag_images) {
-    //           sprintf(buffer, "/tmp/image-%05d_tags.png", i);
-    //           cout << "Writing " << buffer << endl;
-    //           image->compute_rich_structure();
-    //           image->write_tag_png(buffer);
-    //         }
-
     pool->release_image(i);
   }