#ifndef MEDIAPIPE_TASKS_CC_CORE_TASK_API_FACTORY_H_
#define MEDIAPIPE_TASKS_CC_CORE_TASK_API_FACTORY_H_
#include <memory>
#include <optional>
#include <type_traits>
#include <utility>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/match.h"
#include "absl/strings/str_cat.h"
#include "mediapipe/framework/calculator.pb.h"
#include "mediapipe/framework/executor.h"
#include "mediapipe/framework/port/requires.h"
#include "mediapipe/framework/port/status_macros.h"
#include "mediapipe/tasks/cc/common.h"
#include "mediapipe/tasks/cc/core/base_task_api.h"
#include "mediapipe/tasks/cc/core/proto/base_options.pb.h"
#include "mediapipe/tasks/cc/core/proto/external_file.pb.h"
#include "mediapipe/tasks/cc/core/proto/inference_subgraph.pb.h"
#include "mediapipe/tasks/cc/core/task_runner.h"
#include "tensorflow/lite/core/api/op_resolver.h"
namespace mediapipe {
namespace tasks {
namespace core {
template <typename T>
using EnableIfBaseTaskApiSubclass =
typename std::enable_if<std::is_base_of<BaseTaskApi, T>::value>::type*;
class TaskApiFactory { … };
}
}
}
#endif