Internal change
PiperOrigin-RevId: 522292310
This commit is contained in:
parent
e894ae9cf4
commit
2e256bebb5
|
@ -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(
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue
Block a user