Update landmark_detection_result.py

This commit is contained in:
Kinar R 2022-11-09 02:58:38 +05:30 committed by GitHub
parent 96e2eb38c7
commit 37930609ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,8 +97,7 @@ class LandmarksDetectionResult:
landmarks.append(_NormalizedLandmark.create_from_pb2(landmark)) landmarks.append(_NormalizedLandmark.create_from_pb2(landmark))
for landmark in pb2_obj.world_landmarks.landmark: for landmark in pb2_obj.world_landmarks.landmark:
world_landmarks.append(_Landmark.create_from_pb2(landmark) world_landmarks.append(_Landmark.create_from_pb2(landmark))
)
return LandmarksDetectionResult( return LandmarksDetectionResult(
landmarks=landmarks, landmarks=landmarks,
categories=categories, categories=categories,