Internal change
PiperOrigin-RevId: 551789915
This commit is contained in:
parent
db9a72a5df
commit
7db0c1944b
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user