This commit is contained in:
priankakariatyml 2023-03-20 22:29:15 +02:00 committed by GitHub
commit 42cb784159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

View File

@ -17,6 +17,10 @@
#include "mediapipe/framework/calculator.pb.h" #include "mediapipe/framework/calculator.pb.h"
#include "mediapipe/tasks/cc/core/task_runner.h" #include "mediapipe/tasks/cc/core/task_runner.h"
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN
/** /**
@ -88,3 +92,7 @@ NS_ASSUME_NONNULL_BEGIN
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus

View File

@ -12,12 +12,19 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#ifndef MEDIAPIPE_TASKS_IOS_TEXT_TEXT_CLASSIFIER_SOURCES_MPP_TEXT_CLASSIFIER_H_
#define MEDIAPIPE_TASKS_IOS_TEXT_TEXT_CLASSIFIER_SOURCES_MPP_TEXT_CLASSIFIER_H_
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import "mediapipe/tasks/ios/core/sources/MPPTaskOptions.h" #import "mediapipe/tasks/ios/core/sources/MPPTaskOptions.h"
#import "mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifierOptions.h" #import "mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifierOptions.h"
#import "mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifierResult.h" #import "mediapipe/tasks/ios/text/text_classifier/sources/MPPTextClassifierResult.h"
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_BEGIN
/** /**
@ -100,3 +107,9 @@ NS_SWIFT_NAME(TextClassifier)
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
#endif // MEDIAPIPE_TASKS_IOS_TEXT_TEXT_CLASSIFIER_SOURCES_MPP_TEXT_CLASSIFIER_H_