|
|
@@ -1,3 +1,20 @@ |
|
|
+/*
|
|
|
+ DepthJS
|
|
|
+ Copyright (C) 2010 Aaron Zinman, Doug Fritz, Roy Shilkrot, Greg Elliott
|
|
|
+
|
|
|
+ This program is free software: you can redistribute it and/or modify
|
|
|
+ it under the terms of the GNU Affero General Public License as
|
|
|
+ published by the Free Software Foundation, either version 3 of the
|
|
|
+ License, or (at your option) any later version.
|
|
|
+
|
|
|
+ This program is distributed in the hope that it will be useful,
|
|
|
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
+ GNU Affero General Public License for more details.
|
|
|
+
|
|
|
+ You should have received a copy of the GNU Affero General Public License
|
|
|
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
+ */
|
|
|
#include "FreenectDevice.h"
|
|
|
|
|
|
#define LABEL_GARBAGE 0
|
|
@@ -28,8 +45,8 @@ class GestureEngine { |
|
|
double height_over_num_y_reps,width_over_num_x_reps;
|
|
|
|
|
|
|
|
|
- vector<double> _d; //the descriptor
|
|
|
- Mat descriptorMat;
|
|
|
+ vector<double> _d; //the descriptor
|
|
|
+ Mat descriptorMat; //as a matrix
|
|
|
|
|
|
CvKNearest classifier;
|
|
|
|
|
|
0 comments on commit
70741c7