Internal change

PiperOrigin-RevId: 522292310
This commit is contained in:
MediaPipe Team 2023-04-06 03:17:11 -07:00 committed by Copybara-Service
parent e894ae9cf4
commit 2e256bebb5
2 changed files with 3 additions and 3 deletions

View File

@ -170,7 +170,7 @@ absl::StatusOr<ObjectDetectorResult> ObjectDetector::Detect(
}
absl::StatusOr<ObjectDetectorResult> ObjectDetector::DetectForVideo(
mediapipe::Image image, int64 timestamp_ms,
mediapipe::Image image, int64_t timestamp_ms,
std::optional<core::ImageProcessingOptions> image_processing_options) {
if (image.UsesGpu()) {
return CreateStatusWithPayload(
@ -195,7 +195,7 @@ absl::StatusOr<ObjectDetectorResult> ObjectDetector::DetectForVideo(
}
absl::Status ObjectDetector::DetectAsync(
Image image, int64 timestamp_ms,
Image image, int64_t timestamp_ms,
std::optional<core::ImageProcessingOptions> image_processing_options) {
if (image.UsesGpu()) {
return CreateStatusWithPayload(

View File

@ -64,7 +64,7 @@ using ::tflite::EnumNameContentProperties;
using ::tflite::ProcessUnit;
using ::tflite::ProcessUnitOptions_ScoreThresholdingOptions;
using ::tflite::TensorMetadata;
using LabelItems = mediapipe::proto_ns::Map<int64, ::mediapipe::LabelMapItem>;
using LabelItems = mediapipe::proto_ns::Map<int64_t, ::mediapipe::LabelMapItem>;
using ObjectDetectorOptionsProto =
object_detector::proto::ObjectDetectorOptions;
using TensorsSource =