summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h
blob: 18ff6e37ec3ca7221308ba8a382fba24c4fab8ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* Copyright (c) 2012 Patrick Ruoff
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 */

#ifndef FTNOIR_TRACKER_PT_SETTINGS_H
#define FTNOIR_TRACKER_PT_SETTINGS_H

#include <opencv2/opencv.hpp>
#include "point_tracker.h"

//-----------------------------------------------------------------------------
struct TrackerSettings
{
	// camera
	int cam_index;
	float cam_f;

	// point extraction
	int threshold;
	int min_point_size;
	int max_point_size;

	// point tracking
	cv::Vec3f M01;
	cv::Vec3f M02;

	// head pos
	FrameTrafo X_MH;

	int sleep_time;
	bool video_widget;

	void load_ini();
	void save_ini() const;
};

#endif //FTNOIR_TRACKER_PT_SETTINGS_H