#include "mediapipe/tasks/cc/components/containers/classification_result.h"
#include <optional>
#include <string>
#include <vector>
#include "mediapipe/framework/formats/classification.pb.h"
#include "mediapipe/tasks/cc/components/containers/category.h"
#include "mediapipe/tasks/cc/components/containers/proto/classifications.pb.h"
namespace mediapipe::tasks::components::containers {
Classifications ConvertToClassifications(const proto::Classifications& proto) { … }
Classifications ConvertToClassifications(
const mediapipe::ClassificationList& proto, int head_index,
std::optional<std::string> head_name) { … }
ClassificationResult ConvertToClassificationResult(
const proto::ClassificationResult& proto) { … }
}