fixed warnings in the tracking module

pull/292/head
Vadim Pisarevsky 10 years ago
parent 5ec764d8bd
commit ef10402f2f
  1. 3
      modules/tracking/src/featureColorName.cpp
  2. 5
      modules/tracking/src/precomp.hpp
  3. 1
      modules/tracking/src/trackerKCF.cpp

@ -43,7 +43,7 @@
#include <stdlib.h>
namespace cv{
const static double ColorNames[32768][10]={
const double ColorNames[][10]={
{0.45975,0.014802,0.044289,-0.028193,0.001151,-0.0050145,0.34522,0.018362,0.23994,0.1689},
{0.47157,0.021424,0.041444,-0.030215,0.0019002,-0.0029264,0.32875,0.0082059,0.2502,0.17007},
{0.47098,0.042624,0.025014,-0.033501,0.0028958,-0.001415,0.29519,-0.0072627,0.26919,0.16947},
@ -32813,5 +32813,4 @@ namespace cv{
{0.0030858,-0.016151,0.013017,0.0072284,-0.53357,0.30985,0.0041336,-0.012531,0.00142,-0.33842},
{0.0087778,-0.015645,0.004769,0.011785,-0.54199,0.31505,0.00020476,-0.020282,0.00021236,-0.34675}
};
}

@ -45,4 +45,9 @@
#include "opencv2/tracking.hpp"
#include "opencv2/core/utility.hpp"
namespace cv
{
extern const double ColorNames[][10];
}
#endif

@ -40,7 +40,6 @@
//M*/
#include "precomp.hpp"
#include "featureColorName.cpp"
#include <complex>
/*---------------------------

Loading…
Cancel
Save