Fixed iOS framework compilation warnings
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
/* State vector is (x,y,w,h,dx,dy,dw,dh). */
|
||||
/* Measurement is (x,y,w,h). */
|
||||
|
||||
#if 0
|
||||
/* Dynamic matrix A: */
|
||||
const float A8[] = { 1, 0, 0, 0, 1, 0, 0, 0,
|
||||
0, 1, 0, 0, 0, 1, 0, 0,
|
||||
@@ -60,6 +61,12 @@ const float H8[] = { 1, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 1, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 1, 0, 0, 0, 0};
|
||||
|
||||
#define STATE_NUM 8
|
||||
#define A A8
|
||||
#define H H8
|
||||
|
||||
#else
|
||||
|
||||
/* Matrices for zero size velocity: */
|
||||
/* Dinamic matrix A: */
|
||||
const float A6[] = { 1, 0, 0, 0, 1, 0,
|
||||
@@ -79,6 +86,8 @@ const float H6[] = { 1, 0, 0, 0, 0, 0,
|
||||
#define A A6
|
||||
#define H H6
|
||||
|
||||
#endif
|
||||
|
||||
class CvBlobTrackPostProcKalman:public CvBlobTrackPostProcOne
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user