[問題] 關於opencv Kalman Filter
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
opencv2.4.3 +VS2012
錯誤結果(Wrong Output):
1>main.obj : error LNK2019: 無法解析的外部符號 _cvReleaseKalman 在函式 _main
中被參考
1>main.obj : error LNK2019: 無法解析的外部符號 _cvKalmanCorrect 在函式 _main
中被參考
1>main.obj : error LNK2019: 無法解析的外部符號 _cvKalmanPredict 在函式 _main
中被參考
1>main.obj : error LNK2019: 無法解析的外部符號 _cvCreateKalman 在函式 _main 中
被參考
程式碼(Code):(請善用置底文網頁, 記得排版)
#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
#include <opencv2/video/tracking.hpp>
#include <cmath>
#include <vector>
#include <iostream>
using namespace std;
const int winHeight=600;
const int winWidth=800;
CvPoint mousePosition=cvPoint(winWidth>>1,winHeight>>1);
//mouse event callback
void mouseEvent(int event, int x, int y, int flags, void *param )
{
if (event==CV_EVENT_MOUSEMOVE) {
mousePosition=cvPoint(x,y);
}
}
int main ( )
{
補充說明(Supplement):
http://blog.sciencenet.cn/blog-261330-534267.html
小弟的程式碼是從這邊複製下來的
有include tracking
但還是無法執行
不知有沒有大大曾經使用過Cvkalman或者遇過這問題解決的
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.114.85.110
→
12/16 15:52, , 1F
12/16 15:52, 1F
→
12/16 16:10, , 2F
12/16 16:10, 2F
→
12/16 16:25, , 3F
12/16 16:25, 3F