Internal change
PiperOrigin-RevId: 524229420
This commit is contained in:
parent
06bbd9c599
commit
215465bee0
|
@ -70,7 +70,7 @@ class Lift2DFrameAnnotationTo3DCalculator : public CalculatorBase {
|
|||
// In a single MediaPipe session, the IDs are unique.
|
||||
// Also assign timestamp for the FrameAnnotation to be the input packet
|
||||
// timestamp.
|
||||
void AssignObjectIdAndTimestamp(int64 timestamp_us,
|
||||
void AssignObjectIdAndTimestamp(int64_t timestamp_us,
|
||||
FrameAnnotation* annotation);
|
||||
std::unique_ptr<Decoder> decoder_;
|
||||
Lift2DFrameAnnotationTo3DCalculatorOptions options_;
|
||||
|
@ -159,7 +159,7 @@ absl::Status Lift2DFrameAnnotationTo3DCalculator::LoadOptions(
|
|||
}
|
||||
|
||||
void Lift2DFrameAnnotationTo3DCalculator::AssignObjectIdAndTimestamp(
|
||||
int64 timestamp_us, FrameAnnotation* annotation) {
|
||||
int64_t timestamp_us, FrameAnnotation* annotation) {
|
||||
for (auto& ann : *annotation->mutable_annotations()) {
|
||||
ann.set_object_id(GetNextObjectId());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user