Update landmark_detection_result.py
This commit is contained in:
parent
96e2eb38c7
commit
37930609ff
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user