Browse Source

Merge branch 'master' of https://git.tk.informatik.tu-darmstadt.de/etri-smartspaces

Alexander Hendrich 11 năm trước cách đây
mục cha
commit
a59311e171
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 5 2
      bbiwarg/Detectors/Palm/PalmDetector.cs

+ 5 - 2
bbiwarg/Detectors/Palm/PalmDetector.cs

@@ -60,9 +60,12 @@ namespace bbiwarg.Detectors.Palm
                 removePointsFromContour(wristLine, 1);
                 removePointsFromContour(thumbLine, 1);
 
-                findPalmRect();
+                if (palmContour.Count<Point>() != 0)
+                {
+                    findPalmRect();
 
-                draw();
+                    draw();
+                }
             }
         }