diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-12 06:46:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-12 06:46:03 +0200 |
commit | bfdec03aaecfa3c6d67e9a87be95e703e73a845e (patch) | |
tree | 09ff536a82f0a71c976b4e838417f54a6987205a /ftnoir_tracker_ht/ht-api.h | |
parent | f17bbbca24fe123dbe322769960ad78247796cb4 (diff) |
ht: include in DLL, not as subprocess
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); |