diff --git a/mediapipe/tasks/cc/vision/object_detector/object_detector.cc b/mediapipe/tasks/cc/vision/object_detector/object_detector.cc index 9483d73c0..fe0651e1e 100644 --- a/mediapipe/tasks/cc/vision/object_detector/object_detector.cc +++ b/mediapipe/tasks/cc/vision/object_detector/object_detector.cc @@ -170,7 +170,7 @@ absl::StatusOr ObjectDetector::Detect( } absl::StatusOr ObjectDetector::DetectForVideo( - mediapipe::Image image, int64 timestamp_ms, + mediapipe::Image image, int64_t timestamp_ms, std::optional image_processing_options) { if (image.UsesGpu()) { return CreateStatusWithPayload( @@ -195,7 +195,7 @@ absl::StatusOr ObjectDetector::DetectForVideo( } absl::Status ObjectDetector::DetectAsync( - Image image, int64 timestamp_ms, + Image image, int64_t timestamp_ms, std::optional image_processing_options) { if (image.UsesGpu()) { return CreateStatusWithPayload( diff --git a/mediapipe/tasks/cc/vision/object_detector/object_detector_graph.cc b/mediapipe/tasks/cc/vision/object_detector/object_detector_graph.cc index cb85fc46f..e0eb32fdd 100644 --- a/mediapipe/tasks/cc/vision/object_detector/object_detector_graph.cc +++ b/mediapipe/tasks/cc/vision/object_detector/object_detector_graph.cc @@ -64,7 +64,7 @@ using ::tflite::EnumNameContentProperties; using ::tflite::ProcessUnit; using ::tflite::ProcessUnitOptions_ScoreThresholdingOptions; using ::tflite::TensorMetadata; -using LabelItems = mediapipe::proto_ns::Map; +using LabelItems = mediapipe::proto_ns::Map; using ObjectDetectorOptionsProto = object_detector::proto::ObjectDetectorOptions; using TensorsSource =