Internal change

PiperOrigin-RevId: 551789915
This commit is contained in:
MediaPipe Team 2023-07-28 02:27:17 -07:00 committed by Copybara-Service
parent db9a72a5df
commit 7db0c1944b
2 changed files with 2 additions and 3 deletions

View File

@ -13,17 +13,17 @@
# limitations under the License. # limitations under the License.
"""MediaPipe solution drawing utils.""" """MediaPipe solution drawing utils."""
import dataclasses
import math import math
from typing import List, Mapping, Optional, Tuple, Union from typing import List, Mapping, Optional, Tuple, Union
import cv2 import cv2
import dataclasses
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
import numpy as np import numpy as np
from mediapipe.framework.formats import detection_pb2 from mediapipe.framework.formats import detection_pb2
from mediapipe.framework.formats import location_data_pb2
from mediapipe.framework.formats import landmark_pb2 from mediapipe.framework.formats import landmark_pb2
from mediapipe.framework.formats import location_data_pb2
_PRESENCE_THRESHOLD = 0.5 _PRESENCE_THRESHOLD = 0.5
_VISIBILITY_THRESHOLD = 0.5 _VISIBILITY_THRESHOLD = 0.5

View File

@ -20,7 +20,6 @@ import cv2
import numpy as np import numpy as np
from google.protobuf import text_format from google.protobuf import text_format
from mediapipe.framework.formats import detection_pb2 from mediapipe.framework.formats import detection_pb2
from mediapipe.framework.formats import landmark_pb2 from mediapipe.framework.formats import landmark_pb2
from mediapipe.python.solutions import drawing_utils from mediapipe.python.solutions import drawing_utils