face/image: Add opencv's tracking header files
authorTae-Young Chung <ty83.chung@samsung.com>
Fri, 21 Jan 2022 00:28:32 +0000 (09:28 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Tue, 25 Jan 2022 06:41:28 +0000 (15:41 +0900)
[Version] 0.12.3-0
[Issue type] Update

From OpenCV-4.5.3, a tracking module is moved to contrib
and some tracking modes is changed to legacy.

Change-Id: Ibdfcc89abf5f10a8d874da81ab3fc4601cec5423
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
mv_face/face/include/FaceTracker.h
mv_image/image/include/Tracking/ObjectTracker.h
mv_surveillance/surveillance/include/MFTracker.h
packaging/capi-media-vision.spec

index 5266feae5c4544e28406f939989f310df713325c..210cc417331ca186fd2686224240c638e39fdbed 100644 (file)
@@ -44,6 +44,7 @@
 
 #include <opencv2/core.hpp>
 #include <opencv2/tracking.hpp>
+#include <opencv2/tracking/tracking_legacy.hpp>
 
 namespace cv {
 
@@ -59,7 +60,7 @@ by authors to outperform MIL). During the implementation period the code at
 <http://www.aonsquared.co.uk/node/5>, the courtesy of the author Arthur Amarra, was used for the
 reference purpose.
  */
-class FaceTracker : public TrackerMedianFlow {
+class FaceTracker : public legacy::TrackerMedianFlow {
 public:
        struct Params {
                /**
index e3e6894ad74181d770c6df3acc89dbb4c6d6cac8..9486b51a26ed4568b90c5f28343936d3825a52e4 100644 (file)
@@ -18,6 +18,7 @@
 #define __MEDIA_VISION_OBJECTTRACKER_H__
 
 #include <opencv2/core.hpp>
+#include <opencv2/tracking.hpp>
 
 namespace MediaVision {
 namespace Image {
index 4a587140a0ac85f9119fe94ffcf81c3c3ff83700..b93267a8f076fbb021ab4ef68a4ac3d06162d9b0 100644 (file)
@@ -18,6 +18,7 @@
 #define __MEDIA_VISION_MFTRACKER_H__
 
 #include <opencv2/core.hpp>
+#include <opencv2/tracking.hpp>
 
 namespace mediavision {
 namespace surveillance {
index 70a2bc194a15552f92ee16ff295eba0e90924fb5..7bb69887994714eabce048703efac0d3b7417cde 100644 (file)
@@ -1,6 +1,6 @@
 Name:        capi-media-vision
 Summary:     Media Vision library for Tizen Native API
-Version:     0.12.2
+Version:     0.12.3
 Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0 and BSD-3-Clause