Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit a6454db

Browse files
committed
Remove cnn based segmentation algorithms for Android platform
1 parent 0a857c1 commit a6454db

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

SolARModuleOpenCV.pri

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ HEADERS += $$PWD/interfaces/SolAR2D3DcorrespondencesFinderOpencv.h \
6363
$$PWD/interfaces/SolARUnprojectPlanarPointsOpencv.h \
6464
$$PWD/interfaces/SolARSVDTriangulationOpencv.h \
6565
$$PWD/interfaces/SolARVideoAsCameraOpencv.h \
66-
$$PWD/interfaces/SolARYOLACTSegmentationOpencv.h \
6766
$$PWD/interfaces/SolARMaskOverlayOpencv.h \
68-
$$PWD/interfaces/SolARFCNSegmentationOpencv.h \
6967
$$PWD/interfaces/features2d_akaze2.hpp \
7068
$$PWD/src/AKAZE2/AKAZEConfig.h \
7169
$$PWD/src/AKAZE2/AKAZEFeatures.h \
@@ -142,10 +140,18 @@ SOURCES += $$PWD/src/AKAZE2/akaze.cpp \
142140
$$PWD/src/SolARUndistortPointsOpencv.cpp \
143141
$$PWD/src/SolARUnprojectplanarPointsOpencv.cpp \
144142
$$PWD/src/SolARVideoAsCameraOpencv.cpp \
143+
$$PWD/src/SolARMaskOverlayOpencv.cpp
144+
145+
!android {
146+
147+
HEADERS += \
148+
$$PWD/interfaces/SolARYOLACTSegmentationOpencv.h \
149+
$$PWD/interfaces/SolARFCNSegmentationOpencv.h
150+
151+
SOURCES += \
145152
$$PWD/src/SolARYOLACTSegmentationOpencv.cpp \
146-
$$PWD/src/SolARMaskOverlayOpencv.cpp \
147153
$$PWD/src/SolARFCNSegmentationOpencv.cpp
148154

149-
155+
}
150156

151157

interfaces/SolARFCNSegmentationOpencv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace OPENCV {
3030

3131
/**
3232
* @class SolARFCNSegmentationOpencv
33-
* @brief <B>Perform 2D semantic segmentation based on the FCN network.</B>
33+
* @brief <B>Perform 2D semantic segmentation based on the FCN network (Not available for Android!).</B>
3434
* <TT>UUID: 77a8b776-6b0c-4bc0-b0a8-437a796b8e29</TT>
3535
*
3636
* @SolARComponentPropertiesBegin

interfaces/SolARYOLACTSegmentationOpencv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace OPENCV {
3030

3131
/**
3232
* @class SolARYOLACTSegmentationOpencv
33-
* @brief <B>Perform 2D instance segmentation based on the YOLACT network.</B>
33+
* @brief <B>Perform 2D instance segmentation based on the YOLACT network (Not available for Android!).</B>
3434
* <TT>UUID: b6288dde-4e58-4ead-8e41-f2ce98f43626</TT>
3535
*
3636
* @SolARComponentPropertiesBegin

0 commit comments

Comments
 (0)