diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-12 07:09:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-12 07:09:46 +0200 |
commit | c986731a379191e096a965f4d741bc3853820b8f (patch) | |
tree | f50ece78a831ac20e9a1e5994854f196d8980fd8 /ftnoir_tracker_ht/ht-api.h | |
parent | 78e20c5173ae722ddac1499df25e40a3ab6d0f3e (diff) | |
parent | f396490f2d15d699d8299b91406a9791b38c7237 (diff) |
Merge branch 'unstable' into trackhat-ui
Diffstat (limited to 'ftnoir_tracker_ht/ht-api.h')
-rw-r--r-- | ftnoir_tracker_ht/ht-api.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ftnoir_tracker_ht/ht-api.h b/ftnoir_tracker_ht/ht-api.h index 4f88a6a3..4629a00b 100644 --- a/ftnoir_tracker_ht/ht-api.h +++ b/ftnoir_tracker_ht/ht-api.h @@ -9,7 +9,8 @@ #if !defined(_WIN32) && !defined(_isnan) # define _isnan isnan #endif -//#include <opencv2/core.hpp> +#include <opencv2/core.hpp> +#include <opencv2/highgui.hpp> struct ht_context; typedef struct ht_context headtracker_t; @@ -44,6 +45,7 @@ typedef struct { HT_API(headtracker_t*) ht_make_context(const ht_config_t* config, const char* filename); HT_API(void) ht_free_context(headtracker_t* ctx); -//HT_API(const cv::Mat) ht_get_bgr_frame(headtracker_t* ctx); +HT_API(const cv::Mat) ht_get_bgr_frame(headtracker_t* ctx); HT_API(bool) ht_cycle(headtracker_t* ctx, ht_result_t* euler); HT_API(void) ht_reset(headtracker_t* ctx); +HT_API(cv::VideoCapture*) ht_capture(headtracker_t* ctx); |