aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYinhang Liu <yinhangx.liu@intel.com>2018-01-04 16:13:57 +0800
committerwindyuan <feng.yuan@intel.com>2018-01-05 10:58:52 +0800
commit93e8eaedc153d9f4e73a198fbb0087ae7046cf37 (patch)
tree637118d8d1cd3da2101fa6d2f10af66bca90a1ff
parentdcfe27193df74e302584fb7f41a90e8f7472a196 (diff)
downloadlibxcam-93e8eaedc153d9f4e73a198fbb0087ae7046cf37.tar.gz
android: tune track_error for feature match
-rw-r--r--modules/soft/soft_stitcher.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/soft/soft_stitcher.cpp b/modules/soft/soft_stitcher.cpp
index c36d4ac..42f0c93 100644
--- a/modules/soft/soft_stitcher.cpp
+++ b/modules/soft/soft_stitcher.cpp
@@ -352,7 +352,11 @@ StitcherImpl::init_config (uint32_t count)
config.recur_offset_error = 8.0f;
config.max_adjusted_offset = 24.0f;
config.max_valid_offset_y = 20.0f;
+#ifndef ANDROID
config.max_track_error = 28.0f;
+#else
+ config.max_track_error = 3600.0f;
+#endif
_overlaps[i].matcher->set_config (config);
_overlaps[i].matcher->set_fm_index (i);
#endif