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 5266fea..210cc41 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 e3e6894..9486b51 100644 (file)
@@ -18,6 +18,7 @@
 #define __MEDIA_VISION_OBJECTTRACKER_H__
 
 #include <opencv2/core.hpp>
+#include <opencv2/tracking.hpp>
 
 namespace MediaVision {
 namespace Image {
index 4a58714..b93267a 100644 (file)
@@ -18,6 +18,7 @@
 #define __MEDIA_VISION_MFTRACKER_H__
 
 #include <opencv2/core.hpp>
+#include <opencv2/tracking.hpp>
 
 namespace mediavision {
 namespace surveillance {
index 70a2bc1..7bb6988 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