Cross-platform, customizable ML solutions for live and streaming media.
3556 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | setup_opencv.sh | 1 | #!/bin/bash |
| LOW | setup_android_sdk_and_ndk.sh | 1 | #!/bin/bash |
| LOW | build_desktop_examples.sh | 1 | #!/bin/bash |
| LOW | requirements_lock_3_12.txt | 1 | # |
| LOW | requirements_lock_3_12.txt | 21 | jax==0.4.30 |
| LOW | requirements_lock_3_12.txt | 41 | # matplotlib |
| LOW | requirements_lock_3_12.txt | 61 | scipy==1.13.1 |
| LOW | requirements_lock_3_10.txt | 1 | # |
| LOW | requirements_lock_3_10.txt | 21 | jax==0.4.30 |
| LOW | requirements_lock_3_10.txt | 41 | # matplotlib |
| LOW | requirements_lock_3_10.txt | 61 | scipy==1.13.1 |
| LOW | requirements_lock.txt | 1 | # |
| LOW | requirements_lock.txt | 21 | importlib-metadata==8.5.0 |
| LOW | requirements_lock.txt | 41 | # -r mediapipe/opensource_only/requirements.txt |
| LOW | requirements_lock.txt | 61 | pyparsing==3.1.4 |
| LOW | requirements_lock_3_11.txt | 1 | # |
| LOW | requirements_lock_3_11.txt | 21 | jax==0.4.30 |
| LOW | requirements_lock_3_11.txt | 41 | # matplotlib |
| LOW | requirements_lock_3_11.txt | 61 | scipy==1.13.1 |
| LOW | build_ios_examples.sh | 1 | #!/bin/bash |
| LOW | build_android_examples.sh | 1 | #!/bin/bash |
| LOW | docs/build_java_api_docs.py | 1 | # Copyright 2022 The MediaPipe Authors. |
| LOW | docs/build_py_api_docs.py | 1 | # Copyright 2022 The MediaPipe Authors. |
| LOW | docs/build_model_maker_api_docs.py | 1 | # Copyright 2022 The MediaPipe Authors. |
| LOW | …asksDocGen/MediaPipeTasksDocGen/MediaPipeTasksDocGen.h | 1 | // |
| LOW | docs/framework_concepts/calculators.md | 361 | namespace mediapipe { |
| LOW | docs/getting_started/install.md | 521 | ```bash |
| LOW | docs/getting_started/install.md | 641 | |
| LOW | docs/getting_started/install.md | 761 | # Should print: |
| LOW | docs/getting_started/install.md | 801 | # ---> f5d5f402071b |
| LOW | mediapipe/__init__.py | 1 | # Copyright 2019 - 2022 The MediaPipe Authors. |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29601 | collarbone |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29621 | ##) |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29641 | ##{ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29661 | ##¶ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29681 | ##ɕ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29701 | ##ʌ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29721 | ##β |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29741 | ##б |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29761 | ##і |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29781 | ##պ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29801 | ##ם |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29821 | ##ح |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29841 | ##چ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29861 | ##थ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29881 | ##। |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29901 | ##দ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29921 | ##ட |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29941 | ##ය |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29961 | ##་ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 29981 | ##თ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 30001 | ##ᄌ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 30021 | ##ᆨ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 30041 | ##ᵖ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 30061 | ##„ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 30081 | ##ⁿ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 30101 | ##₤ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 30121 | ##∂ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 30141 | ##⊗ |
| LOW | mediapipe/tasks/testdata/text/mobilebert_vocab.txt | 30161 | ##⽥ |
| 2378 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | setup.py | 115 | def _modify_opencv_cmake_rule(link_opencv): |
| LOW | mediapipe/tasks/python/core/mediapipe_c_bindings.py | 90 | def convert_strings_to_ctypes_array( |
| LOW | mediapipe/tasks/python/test/core/base_options_test.py | 23 | def test_convert_to_ctypes_with_model_asset_path(self): |
| LOW | mediapipe/tasks/python/test/core/base_options_test.py | 33 | def test_convert_to_ctypes_with_model_asset_buffer(self): |
| LOW | mediapipe/tasks/python/test/core/base_options_test.py | 43 | def test_convert_to_ctypes_with_gpu_delegate(self): |
| LOW | mediapipe/tasks/python/test/core/base_options_test.py | 54 | def test_convert_to_ctypes_without_delegate(self): |
| LOW | …apipe/tasks/python/test/core/serial_dispatcher_test.py | 40 | def test_delegates_to_registered_methods(self): |
| LOW | …apipe/tasks/python/test/core/serial_dispatcher_test.py | 48 | def test_method_calls_are_serialized(self): |
| LOW | …apipe/tasks/python/test/core/serial_dispatcher_test.py | 57 | def side_effect_long_running_func(): |
| LOW | …apipe/tasks/python/test/core/serial_dispatcher_test.py | 86 | def test_method_calls_are_invoked_from_same_thread(self): |
| LOW | …apipe/tasks/python/test/core/serial_dispatcher_test.py | 129 | def test_continues_after_error(self): |
| LOW | …apipe/tasks/python/test/core/serial_dispatcher_test.py | 148 | def test_calls_after_close_are_not_dispatched(self): |
| LOW | …apipe/tasks/python/test/core/serial_dispatcher_test.py | 160 | def test_calls_status_functions_with_error_argument(self): |
| LOW | …apipe/tasks/python/test/core/serial_dispatcher_test.py | 188 | def test_uses_error_message_for_status_functions(self, error_message): |
| LOW | …apipe/tasks/python/test/core/mediapipe_c_utils_test.py | 81 | def test_handle_status_raises_correct_errors( |
| LOW | …tasks/python/test/core/async_result_dispatcher_test.py | 39 | def test_throws_error_if_callback_already_set(self): |
| LOW | …tasks/python/test/core/async_result_dispatcher_test.py | 47 | def test_callback_invoked_with_converted_data(self): |
| LOW | …tasks/python/test/core/async_result_dispatcher_test.py | 58 | def test_exception_in_callback_does_not_block_dispatcher(self): |
| LOW | …tasks/python/test/core/async_result_dispatcher_test.py | 85 | def test_calls_callbck_in_separate_thread(self): |
| LOW | …tasks/python/test/core/async_result_dispatcher_test.py | 108 | def test_ignores_calls_after_close(self): |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 130 | def test_create_from_file_succeeds_with_valid_model_path(self): |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 137 | def test_create_from_options_succeeds_with_valid_model_path(self): |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 144 | def test_create_from_options_fails_with_invalid_model_path(self): |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 156 | def test_create_from_options_succeeds_with_valid_model_content(self): |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 195 | def test_segment_succeeds_with_category_mask( |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 262 | def test_segment_succeeds_with_confidence_mask( |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 297 | def test_segment_succeeds_with_rotation(self): |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 327 | def test_segment_fails_with_roi_in_image_processing_options(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 92 | def test_create_from_file_succeeds_with_valid_model_path(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 97 | def test_create_from_options_succeeds_with_valid_model_path(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 104 | def test_create_from_options_fails_with_invalid_model_path(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 318 | def test_calling_detect_for_video_in_image_mode(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 327 | def test_calling_detect_async_in_image_mode(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 336 | def test_calling_detect_in_video_mode(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 345 | def test_calling_detect_async_in_video_mode(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 354 | def test_detect_for_video_succeeds_with_full_range_model(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 457 | def test_calling_detect_in_live_stream_mode(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 467 | def test_calling_detect_for_video_in_live_stream_mode(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 477 | def test_detect_async_calls_with_illegal_timestamp(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 60 | def _get_expected_face_detector_result(file_name: str) -> FaceDetectorResult: |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 116 | def test_create_from_options_succeeds_with_valid_model_content(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 125 | def _expect_keypoints_correct(self, actual_keypoints, expected_keypoints): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 139 | def _expect_bounding_box_correct(self, actual_bbox, expected_bbox): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 161 | def _expect_face_detector_results_correct( |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 238 | def test_detect_succeeds_with_full_range_model(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 259 | def test_detect_succeeds_with_rotated_image(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 281 | def test_empty_detection_outputs(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 294 | def test_missing_result_callback(self): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 306 | def test_illegal_result_callback(self, running_mode): |
| LOW | …diapipe/tasks/python/test/vision/face_detector_test.py | 372 | def test_detect_for_video_with_out_of_order_timestamp(self): |
| LOW | …pipe/tasks/python/test/vision/image_classifier_test.py | 165 | def test_create_from_file_succeeds_with_valid_model_path(self): |
| LOW | …pipe/tasks/python/test/vision/image_classifier_test.py | 170 | def test_create_from_options_succeeds_with_valid_model_path(self): |
| LOW | …pipe/tasks/python/test/vision/image_classifier_test.py | 177 | def test_create_from_options_fails_with_invalid_model_path(self): |
| LOW | …pipe/tasks/python/test/vision/image_classifier_test.py | 476 | def test_calling_classify_for_video_in_image_mode(self): |
| LOW | …pipe/tasks/python/test/vision/image_classifier_test.py | 485 | def test_calling_classify_async_in_image_mode(self): |
| LOW | …pipe/tasks/python/test/vision/image_classifier_test.py | 494 | def test_calling_classify_in_video_mode(self): |
| LOW | …pipe/tasks/python/test/vision/image_classifier_test.py | 503 | def test_calling_classify_async_in_video_mode(self): |
| LOW | …pipe/tasks/python/test/vision/image_classifier_test.py | 512 | def test_classify_for_video_with_out_of_order_timestamp(self): |
| LOW | …pipe/tasks/python/test/vision/image_classifier_test.py | 561 | def test_calling_classify_in_live_stream_mode(self): |
| LOW | …pipe/tasks/python/test/vision/image_classifier_test.py | 571 | def test_calling_classify_for_video_in_live_stream_mode(self): |
| 535 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | mediapipe/tasks/python/vision/image_classifier.py | 243 | Creates an `ImageClassifier` object from a TensorFlow Lite model and the default `ImageClassifierOptions`. Note tha |
| HIGH | mediapipe/tasks/python/vision/image_classifier.py | 270 | Creates the `ImageClassifier` object from image classifier options. Args: options: Options for the image clas |
| HIGH | mediapipe/tasks/python/vision/image_classifier.py | 335 | Performs image classification on the provided MediaPipe Image. Only use this method when the ImageClassifier is cre |
| HIGH | mediapipe/tasks/python/vision/image_classifier.py | 375 | Performs image classification on the provided video frames. Only use this method when the ImageClassifier is create |
| HIGH | …pe/tasks/python/vision/interactive_segmenter_legacy.py | 234 | Creates an `InteractiveSegmenterLegacy` object from a TensorFlow Lite model and the default `InteractiveSegmenterLegacyO |
| HIGH | …pe/tasks/python/vision/interactive_segmenter_legacy.py | 262 | Creates the `InteractiveSegmenterLegacy` object from interactive segmenter options. Args: options: Options fo |
| HIGH | …pe/tasks/python/vision/interactive_segmenter_legacy.py | 291 | Performs the actual segmentation task on the provided MediaPipe Image. The image can be of any size with format RGB |
| HIGH | mediapipe/tasks/python/vision/pose_landmarker.py | 364 | Creates a `PoseLandmarker` object from a model bundle file and the default `PoseLandmarkerOptions`. Note that the c |
| HIGH | mediapipe/tasks/python/vision/pose_landmarker.py | 391 | Creates the `PoseLandmarker` object from pose landmarker options. Args: options: Options for the pose landmar |
| HIGH | mediapipe/tasks/python/vision/pose_landmarker.py | 449 | Performs pose landmarks detection on the given image. Only use this method when the PoseLandmarker is created with |
| HIGH | mediapipe/tasks/python/vision/pose_landmarker.py | 490 | Performs pose landmarks detection on the provided video frame. Only use this method when the PoseLandmarker is crea |
| HIGH | mediapipe/tasks/python/vision/object_detector.py | 283 | Creates an `ObjectDetector` object from a TensorFlow Lite model and the default `ObjectDetectorOptions`. Note that |
| HIGH | mediapipe/tasks/python/vision/object_detector.py | 310 | Creates the `ObjectDetector` object from object detector options. Args: options: Options for the object detec |
| HIGH | mediapipe/tasks/python/vision/object_detector.py | 374 | Performs object detection on the provided MediaPipe Image. Only use this method when the ObjectDetector is created |
| HIGH | mediapipe/tasks/python/vision/object_detector.py | 419 | Performs object detection on the provided video frames. Only use this method when the ObjectDetector is created wit |
| HIGH | mediapipe/tasks/python/vision/face_landmarker.py | 3109 | Creates an `FaceLandmarker` object from a TensorFlow Lite model and the default `FaceLandmarkerOptions`. Note that |
| HIGH | mediapipe/tasks/python/vision/face_landmarker.py | 3136 | Creates the `FaceLandmarker` object from face landmarker options. Args: options: Options for the face landmar |
| HIGH | mediapipe/tasks/python/vision/face_landmarker.py | 3194 | Performs face landmark detection on the provided MediaPipe Image. Only use this method when the FaceLandmarker is c |
| HIGH | mediapipe/tasks/python/vision/face_landmarker.py | 3236 | Performs face landmarks detection on the provided video frame. Only use this method when the FaceLandmarker is crea |
| HIGH | mediapipe/tasks/python/vision/gesture_recognizer.py | 245 | Creates an `GestureRecognizer` object from a TensorFlow Lite model and the default `GestureRecognizerOptions`. Note |
| HIGH | mediapipe/tasks/python/vision/gesture_recognizer.py | 272 | Creates the `GestureRecognizer` object from gesture recognizer options. Args: options: Options for the gestur |
| HIGH | mediapipe/tasks/python/vision/gesture_recognizer.py | 341 | Performs hand gesture recognition on the given image. Only use this method when the GestureRecognizer is created wi |
| HIGH | mediapipe/tasks/python/vision/gesture_recognizer.py | 385 | Performs gesture recognition on the provided video frame. Only use this method when the GestureRecognizer is create |
| HIGH | mediapipe/tasks/python/vision/holistic_landmarker.py | 360 | Creates an `HolisticLandmarker` object from a TensorFlow Lite model and the default `HolisticLandmarkerOptions`. No |
| HIGH | mediapipe/tasks/python/vision/holistic_landmarker.py | 387 | Creates the `HolisticLandmarker` object from holistic landmarker options. Args: options: Options for the holi |
| HIGH | mediapipe/tasks/python/vision/holistic_landmarker.py | 446 | Performs holistic landmarks detection on the given image. Only use this method when the HolisticLandmarker is creat |
| HIGH | mediapipe/tasks/python/vision/holistic_landmarker.py | 489 | Performs holistic landmarks detection on the provided video frame. Only use this method when the HolisticLandmarker |
| HIGH | mediapipe/tasks/python/vision/hand_landmarker.py | 360 | Creates an `HandLandmarker` object from a TensorFlow Lite model and the default `HandLandmarkerOptions`. Note that |
| HIGH | mediapipe/tasks/python/vision/hand_landmarker.py | 387 | Creates the `HandLandmarker` object from hand landmarker options. Args: options: Options for the hand landmar |
| HIGH | mediapipe/tasks/python/vision/hand_landmarker.py | 447 | Performs hand landmarks detection on the given image. Only use this method when the HandLandmarker is created with |
| HIGH | mediapipe/tasks/python/vision/hand_landmarker.py | 492 | Performs hand landmarks detection on the provided video frame. Only use this method when the HandLandmarker is crea |
| HIGH | mediapipe/tasks/python/vision/image_segmenter.py | 285 | Creates an `ImageSegmenter` object from a TensorFlow Lite model and the default `ImageSegmenterOptions`. Note that |
| HIGH | mediapipe/tasks/python/vision/image_segmenter.py | 312 | Creates the `ImageSegmenter` object from image segmenter options. Args: options: Options for the image segmen |
| HIGH | mediapipe/tasks/python/vision/image_segmenter.py | 370 | Performs the actual segmentation task on the provided MediaPipe Image. Args: image: MediaPipe Image. im |
| HIGH | mediapipe/tasks/python/vision/image_segmenter.py | 410 | Performs segmentation on the provided video frames. Only use this method when the ImageSegmenter is created with th |
| HIGH | mediapipe/tasks/python/vision/image_embedder.py | 241 | Creates an `ImageEmbedder` object from a TensorFlow Lite model and the default `ImageEmbedderOptions`. Note that th |
| HIGH | mediapipe/tasks/python/vision/image_embedder.py | 268 | Creates the `ImageEmbedder` object from image embedder options. Args: options: Options for the image embedder |
| HIGH | mediapipe/tasks/python/vision/image_embedder.py | 322 | Performs image embedding extraction on the provided MediaPipe Image. Extraction is performed on the region of inte |
| HIGH | mediapipe/tasks/python/vision/image_embedder.py | 361 | Performs image embedding extraction on the provided video frames. Extraction is performed on the region of interest |
| HIGH | mediapipe/tasks/python/vision/image_embedder.py | 467 | Utility function to compute cosine similarity between two embedding entries. May return an InvalidArgumentError if |
| HIGH | mediapipe/tasks/python/vision/face_detector.py | 195 | Creates an `FaceDetector` object from a TensorFlow Lite model and the default `FaceDetectorOptions`. Note that the |
| HIGH | mediapipe/tasks/python/vision/face_detector.py | 220 | Creates the `FaceDetector` object from face detector options. Args: options: Options for the face detector ta |
| HIGH | mediapipe/tasks/python/vision/face_detector.py | 281 | Performs face detection on the provided MediaPipe Image. Only use this method when the FaceDetector is created with |
| HIGH | mediapipe/tasks/python/vision/face_detector.py | 325 | Performs face detection on the provided video frames. Only use this method when the FaceDetector is created with th |
| HIGH | mediapipe/tasks/python/vision/core/image.py | 298 | Creates an `Image` object from an image file. Args: file_name: The path to the image file. Returns: |
| HIGH | mediapipe/tasks/python/vision/core/image.py | 440 | Use the indexer operators to access pixel data. Args: key: A tuple of integers representing the row, column, |
| HIGH | mediapipe/tasks/python/vision/core/image.py | 522 | Return True if each row of the data is aligned to alignment boundary, which must be 1 or a power of 2. Args: |
| HIGH | mediapipe/tasks/python/audio/audio_classifier.py | 218 | Creates an `AudioClassifier` object from a TensorFlow Lite model and the default `AudioClassifierOptions`. Note tha |
| HIGH | mediapipe/tasks/python/audio/audio_classifier.py | 245 | Creates the `AudioClassifier` object from audio classifier options. Args: options: Options for the audio clas |
| HIGH | mediapipe/tasks/python/audio/audio_classifier.py | 299 | Performs audio classification on the provided audio clip. The audio clip is represented as a MediaPipe AudioData. T |
| HIGH | mediapipe/tasks/python/audio/audio_classifier.py | 405 | Creates an AudioRecord instance to record audio stream. The returned AudioRecord instance is initialized and client |
| HIGH | mediapipe/tasks/python/audio/core/audio_record.py | 108 | Reads the latest audio data captured in the buffer. Args: size: Number of samples to read from the buffer. |
| HIGH | mediapipe/tasks/python/text/language_detector.py | 193 | Creates an `LanguageDetector` object from a TensorFlow Lite model and the default `LanguageDetectorOptions`. Args: |
| HIGH | mediapipe/tasks/python/text/language_detector.py | 218 | Creates the `LanguageDetector` object from language detector options. Args: options: Options for the language |
| HIGH | mediapipe/tasks/python/text/language_detector.py | 243 | Predicts the language of the input `text`. Args: text: The input text. Returns: A `LanguageDetecto |
| HIGH | mediapipe/tasks/python/text/text_embedder.py | 212 | Creates an `TextEmbedder` object from a TensorFlow Lite model and the default `TextEmbedderOptions`. Args: mo |
| HIGH | mediapipe/tasks/python/text/text_embedder.py | 232 | Creates the `TextEmbedder` object from text embedder options. Args: options: Options for the text embedder ta |
| HIGH | mediapipe/tasks/python/text/text_embedder.py | 258 | Performs text embedding extraction on the provided text. Args: text: The input text. format_context: Op |
| HIGH | mediapipe/tasks/python/text/text_embedder.py | 298 | Utility function to compute cosine similarity between two embedding entries. May return an InvalidArgumentError if |
| HIGH | mediapipe/tasks/python/text/text_classifier.py | 175 | Creates an `TextClassifier` object from a TensorFlow Lite model and the default `TextClassifierOptions`. Args: |
| 41 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | mediapipe/tasks/python/__init__.py | 17 | |
| LOW | mediapipe/tasks/python/__init__.py | 18 | |
| LOW | mediapipe/tasks/python/__init__.py | 20 | |
| LOW | mediapipe/tasks/python/__init__.py | 21 | |
| LOW | …ipe/tasks/python/test/metadata/metadata_parser_test.py | 17 | |
| LOW | …ipe/tasks/python/test/metadata/metadata_parser_test.py | 18 | |
| LOW | …ipe/tasks/python/test/metadata/metadata_parser_test.py | 19 | |
| LOW | …test/metadata/metadata_writers/object_detector_test.py | 25 | |
| LOW | mediapipe/util/sequence/media_sequence_test.py | 18 | |
| LOW | mediapipe/util/sequence/media_sequence_test.py | 19 | |
| LOW | mediapipe/util/sequence/media_sequence_test.py | 20 | |
| LOW | mediapipe/util/sequence/media_sequence.py | 155 | |
| LOW | mediapipe/util/sequence/media_sequence.py | 156 | |
| LOW | mediapipe/util/sequence/media_sequence.py | 157 | |
| LOW | mediapipe/util/sequence/media_sequence_util.py | 21 | |
| LOW | mediapipe/util/sequence/media_sequence_util.py | 22 | |
| LOW | mediapipe/util/sequence/media_sequence_util.py | 23 | |
| LOW | mediapipe/util/sequence/media_sequence_util_test.py | 18 | |
| LOW | mediapipe/util/sequence/media_sequence_util_test.py | 19 | |
| LOW | mediapipe/util/sequence/media_sequence_util_test.py | 20 | |
| LOW | mediapipe/python/solution_base.py | 43 | |
| LOW | mediapipe/python/solution_base.py | 44 | |
| LOW | mediapipe/python/solution_base.py | 45 | |
| LOW | mediapipe/python/solution_base.py | 46 | |
| LOW | mediapipe/python/solution_base.py | 47 | |
| LOW | mediapipe/python/solution_base.py | 48 | |
| LOW | mediapipe/python/solution_base.py | 49 | |
| LOW | mediapipe/python/__init__.py | 17 | |
| LOW | mediapipe/python/__init__.py | 18 | |
| LOW | mediapipe/python/__init__.py | 19 | |
| LOW | mediapipe/python/__init__.py | 20 | |
| LOW | mediapipe/python/__init__.py | 21 | |
| LOW | mediapipe/python/__init__.py | 22 | |
| LOW | mediapipe/python/__init__.py | 23 | |
| LOW | mediapipe/python/__init__.py | 24 | |
| LOW | mediapipe/python/__init__.py | 25 | |
| LOW | mediapipe/python/__init__.py | 26 | |
| LOW | mediapipe/python/__init__.py | 27 | |
| LOW | mediapipe/python/__init__.py | 28 | |
| LOW | mediapipe/python/__init__.py | 29 | |
| LOW | mediapipe/python/solutions/hands.py | 23 | |
| LOW | mediapipe/python/solutions/hands.py | 24 | |
| LOW | mediapipe/python/solutions/hands.py | 25 | |
| LOW | mediapipe/python/solutions/hands.py | 26 | |
| LOW | mediapipe/python/solutions/hands.py | 27 | |
| LOW | mediapipe/python/solutions/hands.py | 28 | |
| LOW | mediapipe/python/solutions/hands.py | 29 | |
| LOW | mediapipe/python/solutions/hands.py | 30 | |
| LOW | mediapipe/python/solutions/hands.py | 31 | |
| LOW | mediapipe/python/solutions/hands.py | 32 | |
| LOW | mediapipe/python/solutions/hands.py | 33 | |
| LOW | mediapipe/python/solutions/hands.py | 34 | |
| LOW | mediapipe/python/solutions/hands.py | 35 | |
| LOW | mediapipe/python/solutions/hands.py | 36 | |
| LOW | mediapipe/python/solutions/hands.py | 37 | |
| LOW | mediapipe/python/solutions/hands.py | 41 | |
| LOW | mediapipe/python/solutions/selfie_segmentation.py | 22 | |
| LOW | mediapipe/python/solutions/selfie_segmentation.py | 23 | |
| LOW | mediapipe/python/solutions/selfie_segmentation.py | 24 | |
| LOW | mediapipe/python/solutions/selfie_segmentation.py | 25 | |
| 158 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | mediapipe/tasks/python/core/base_options.py | 0 | checks if this object is equal to the given object. args: other: the object to be compared with. returns: true if the ob |
| HIGH | …sks/python/components/processors/classifier_options.py | 0 | checks if this object is equal to the given object. args: other: the object to be compared with. returns: true if the ob |
| HIGH | …diapipe/tasks/python/components/containers/keypoint.py | 0 | checks if this object is equal to the given object. args: other: the object to be compared with. returns: true if the ob |
| HIGH | mediapipe/tasks/python/components/containers/rect.py | 0 | checks if this object is equal to the given object. args: other: the object to be compared with. returns: true if the ob |
| HIGH | …ipe/tasks/python/components/containers/bounding_box.py | 0 | checks if this object is equal to the given object. args: other: the object to be compared with. returns: true if the ob |
| HIGH | …apipe/tasks/python/components/containers/detections.py | 0 | checks if this object is equal to the given object. args: other: the object to be compared with. returns: true if the ob |
| HIGH | …apipe/tasks/python/components/containers/detections.py | 0 | checks if this object is equal to the given object. args: other: the object to be compared with. returns: true if the ob |
| HIGH | …diapipe/tasks/python/components/containers/category.py | 0 | checks if this object is equal to the given object. args: other: the object to be compared with. returns: true if the ob |
| HIGH | …pe/tasks/python/vision/interactive_segmenter_legacy.py | 0 | shuts down the mediapipe task instance on exit of the context manager. |
| HIGH | mediapipe/tasks/python/vision/holistic_landmarker.py | 0 | shuts down the mediapipe task instance on exit of the context manager. |
| HIGH | mediapipe/tasks/python/vision/image_embedder.py | 0 | shuts down the mediapipe task instance on exit of the context manager. |
| HIGH | mediapipe/tasks/python/text/text_embedder.py | 0 | shuts down the mediapipe task instance on exit of the context manager. |
| HIGH | mediapipe/util/__init__.py | 0 | copyright 2019 the mediapipe authors. licensed under the apache license, version 2.0 (the "license"); you may not use th |
| HIGH | mediapipe/util/sequence/__init__.py | 0 | copyright 2019 the mediapipe authors. licensed under the apache license, version 2.0 (the "license"); you may not use th |
| HIGH | mediapipe/examples/__init__.py | 0 | copyright 2019 the mediapipe authors. licensed under the apache license, version 2.0 (the "license"); you may not use th |
| HIGH | mediapipe/examples/desktop/__init__.py | 0 | copyright 2019 the mediapipe authors. licensed under the apache license, version 2.0 (the "license"); you may not use th |
| HIGH | mediapipe/examples/desktop/media_sequence/__init__.py | 0 | copyright 2019 the mediapipe authors. licensed under the apache license, version 2.0 (the "license"); you may not use th |
| HIGH | mediapipe/examples/desktop/youtube8m/__init__.py | 0 | copyright 2019 the mediapipe authors. licensed under the apache license, version 2.0 (the "license"); you may not use th |
| HIGH | mediapipe/python/solution_base_test.py | 0 | input_stream: 'image_in' output_stream: 'image_out' node { calculator: 'imagetransformationcalculator' input_stream: 'im |
| HIGH | mediapipe/python/solution_base_test.py | 0 | input_stream: 'image_in' output_stream: 'image_out' node { calculator: 'imagetransformationcalculator' input_stream: 'im |
| HIGH | mediapipe/python/solution_base_test.py | 0 | input_stream: 'image_in' output_stream: 'image_out' node { calculator: 'imagetransformationcalculator' input_stream: 'im |
| HIGH | mediapipe/python/calculator_graph_test.py | 0 | max_queue_size: 1 input_stream: 'in' output_stream: 'out' node { calculator: 'passthroughcalculator' input_stream: 'in' |
| HIGH | mediapipe/python/calculator_graph_test.py | 0 | max_queue_size: 1 input_stream: 'in' output_stream: 'out' node { calculator: 'passthroughcalculator' input_stream: 'in' |
| HIGH | mediapipe/python/calculator_graph_test.py | 0 | max_queue_size: 1 input_stream: 'in' output_stream: 'out' node { calculator: 'passthroughcalculator' input_stream: 'in' |
| HIGH | mediapipe/python/calculator_graph_test.py | 0 | max_queue_size: 1 input_stream: 'in' output_stream: 'out' node { calculator: 'passthroughcalculator' input_stream: 'in' |
| HIGH | mediapipe/python/calculator_graph_test.py | 0 | max_queue_size: 1 input_stream: 'in' output_stream: 'out' node { calculator: 'passthroughcalculator' input_stream: 'in' |
| HIGH | …apipe/model_maker/python/core/tasks/classifier_test.py | 0 | a mock class with implementation of abstract methods for testing. |
| HIGH | …ipe/model_maker/python/core/tasks/custom_model_test.py | 0 | a mock class with implementation of abstract methods for testing. |
| HIGH | …e/model_maker/python/core/utils/loss_functions_test.py | 0 | a mock class with implementation of abstract methods for testing. |
| HIGH | …iapipe/examples/desktop/media_sequence/demo_dataset.py | 0 | runs mediapipe over mediasequence tf.train.sequenceexamples. args: path_to_mediapipe_binary: path to the compiled binary |
| HIGH | …pe/examples/desktop/media_sequence/kinetics_dataset.py | 0 | runs mediapipe over mediasequence tf.train.sequenceexamples. args: path_to_mediapipe_binary: path to the compiled binary |
| HIGH | …pe/examples/desktop/media_sequence/charades_dataset.py | 0 | runs mediapipe over mediasequence tf.train.sequenceexamples. args: path_to_mediapipe_binary: path to the compiled binary |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | setup.py | 136 | # Create an empty __init__.py file in the root directory. |
| MEDIUM | setup.py | 153 | # Create an empty __init__.py file in the extension directory. |
| MEDIUM | mediapipe/tasks/python/benchmark/vision/benchmark.py | 66 | # Define a mapping of modes to their respective function argument lists |
| MEDIUM | …/vision/image_classifier/image_classifier_benchmark.py | 38 | # Initialize the image classifier |
| MEDIUM | …rk/vision/object_detector/object_detector_benchmark.py | 38 | # Initialize the object detector |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 69 | # Create a model with two inputs and one output, which matches the metadata |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 103 | # Create a model with two inputs and one output. |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 432 | # Create a model with two inputs and one output. |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 496 | # Create a dummy metadata without Subgraph. |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 512 | # Create a dummy metadata with no input tensor metadata, while the expected |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 533 | # Create a dummy metadata with no output tensor metadata, while the expected |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 554 | # Create a src model with metadata and two associated files. |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 561 | # Create a model to be populated with the metadata and files from |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 583 | # Create a source model with two associated files but no metadata. |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 589 | # Create a model to be populated with the files from `src_model_buf`. |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 623 | # Create the tensor with process units. |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 627 | # Create the subgrah with the tensor. |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 641 | # Create a model metadata with the subgraph metadata |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 679 | # Create the subgraph with process units. |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 694 | # Create a model metadata with the subgraph metadata |
| MEDIUM | …n/test/metadata/metadata_writers/metadata_info_test.py | 481 | # Create a dummy model using the tensor metadata. |
| MEDIUM | …n/test/metadata/metadata_writers/metadata_info_test.py | 487 | # Create the Flatbuffers object and convert it to the json format. |
| MEDIUM | …n/test/metadata/metadata_writers/metadata_info_test.py | 497 | # Create a dummy model using the tensor metadata. |
| MEDIUM | …n/test/metadata/metadata_writers/metadata_info_test.py | 503 | # Create the Flatbuffers object and convert it to the json format. |
| MEDIUM | …n/test/metadata/metadata_writers/metadata_info_test.py | 521 | # Create the Flatbuffers object and convert it to the json format. |
| MEDIUM | …n/test/metadata/metadata_writers/metadata_info_test.py | 49 | # Create the Flatbuffers object and convert it to the json format. |
| MEDIUM | …n/test/metadata/metadata_writers/metadata_info_test.py | 75 | # Create the Flatbuffers object and convert it to the json format. |
| MEDIUM | …n/test/metadata/metadata_writers/metadata_info_test.py | 312 | # Create the Flatbuffers object and convert it to the json format. |
| MEDIUM | mediapipe/tasks/python/vision/core/image.py | 324 | # Create an empty Image object and then populate it. |
| MEDIUM | mediapipe/tasks/python/vision/core/image.py | 359 | # Create an empty Image object and then populate it. |
| MEDIUM | mediapipe/tasks/python/audio/core/audio_record.py | 61 | # Create a ring buffer to store the input audio. |
| MEDIUM | mediapipe/tasks/python/audio/core/audio_record.py | 76 | # Create an input stream to continuously capture the audio data. |
| MEDIUM | mediapipe/tasks/python/metadata/metadata.py | 247 | # Creating the deleting such a tempfile is handled by the class, |
| MEDIUM | mediapipe/tasks/python/metadata/metadata.py | 907 | # Create an individual method for getting the metadata json file, so that it can |
| MEDIUM | …ks/python/metadata/metadata_writers/object_detector.py | 99 | # Create an individual method for getting the metadata json file, so that it can |
| MEDIUM | …ks/python/metadata/metadata_writers/metadata_writer.py | 372 | # Create the subgraph metadata. |
| MEDIUM | …ks/python/metadata/metadata_writers/metadata_writer.py | 387 | # Create the whole model metadata. |
| MEDIUM | …asks/python/metadata/metadata_writers/metadata_info.py | 264 | # Create the RegexTokenizer. |
| MEDIUM | …ks/python/metadata/metadata_writers/image_segmenter.py | 52 | # Create an individual method for getting the metadata json file, so that it can |
| MEDIUM | mediapipe/tasks/ios/build_ios_framework.sh | 151 | # Create the temporary directory for the given framework. |
| MEDIUM | mediapipe/tasks/ios/build_ios_framework.sh | 169 | # Create the parent folder which will hold the graph libraries of all architectures. |
| MEDIUM | mediapipe/tasks/ios/build_ios_framework.sh | 188 | # Create the parent folder which will hold the genai libraries of all architectures. |
| MEDIUM | mediapipe/tasks/ios/build_ios_framework.sh | 210 | # Create the framework archive directory. |
| MEDIUM | mediapipe/python/solution_base.py | 376 | # Create a NamedTuple object where the field names are mapping to the graph |
| MEDIUM | mediapipe/model_maker/python/core/utils/file_util.py | 89 | # Create the parent dir of absolute_path and copy the contents of the |
| MEDIUM | …/model_maker/python/vision/image_classifier/dataset.py | 83 | # Create a dataset if (image, label) pairs |
| MEDIUM | …odel_maker/python/vision/gesture_recognizer/dataset.py | 243 | # Create a dataset with (hand_embedding, one_hot_label) pairs |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | setup_opencv.sh | 15 | # ========================================================================= |
| MEDIUM | setup_android_sdk_and_ndk.sh | 15 | # ========================================================================= |
| MEDIUM | build_desktop_examples.sh | 15 | # ========================================================================= |
| MEDIUM | build_ios_examples.sh | 15 | # ========================================================================= |
| MEDIUM | build_android_examples.sh | 15 | # ========================================================================= |
| MEDIUM | docs/build_java_api_docs.py | 14 | # ============================================================================== |
| MEDIUM | docs/build_py_api_docs.py | 14 | # ============================================================================== |
| MEDIUM | docs/build_model_maker_api_docs.py | 14 | # ============================================================================== |
| MEDIUM | …ipe/tasks/python/test/metadata/metadata_parser_test.py | 14 | # ============================================================================== |
| MEDIUM | mediapipe/tasks/python/test/metadata/metadata_test.py | 14 | # ============================================================================== |
| MEDIUM | …est/metadata/metadata_writers/image_classifier_test.py | 14 | # ============================================================================== |
| MEDIUM | …n/test/metadata/metadata_writers/face_stylizer_test.py | 14 | # ============================================================================== |
| MEDIUM | …data/metadata_writers/model_asset_bundle_utils_test.py | 14 | # ============================================================================== |
| MEDIUM | …test/metadata/metadata_writers/metadata_writer_test.py | 14 | # ============================================================================== |
| MEDIUM | …test/metadata/metadata_writers/image_segmenter_test.py | 14 | # ============================================================================== |
| MEDIUM | …n/test/metadata/metadata_writers/metadata_info_test.py | 14 | # ============================================================================== |
| MEDIUM | …test/metadata/metadata_writers/text_classifier_test.py | 14 | # ============================================================================== |
| MEDIUM | …test/metadata/metadata_writers/object_detector_test.py | 14 | # ============================================================================== |
| MEDIUM | mediapipe/tasks/python/metadata/metadata.py | 14 | # ============================================================================== |
| MEDIUM | …iapipe/tasks/python/metadata/metadata_displayer_cli.py | 14 | # ============================================================================== |
| MEDIUM | …s/python/metadata/metadata_writers/image_classifier.py | 14 | # ============================================================================== |
| MEDIUM | …ks/python/metadata/metadata_writers/object_detector.py | 14 | # ============================================================================== |
| MEDIUM | …/metadata/metadata_writers/model_asset_bundle_utils.py | 14 | # ============================================================================== |
| MEDIUM | …ks/python/metadata/metadata_writers/metadata_writer.py | 14 | # ============================================================================== |
| MEDIUM | …asks/python/metadata/metadata_writers/metadata_info.py | 14 | # ============================================================================== |
| MEDIUM | …ks/python/metadata/metadata_writers/text_classifier.py | 14 | # ============================================================================== |
| MEDIUM | …ks/python/metadata/metadata_writers/image_segmenter.py | 14 | # ============================================================================== |
| MEDIUM | …tasks/python/metadata/metadata_writers/writer_utils.py | 14 | # ============================================================================== |
| MEDIUM | mediapipe/model_maker/python/core/data/data_util.py | 14 | # ============================================================================== |
| MEDIUM | …/model_maker/python/vision/core/image_preprocessing.py | 14 | # ============================================================================== |
| MEDIUM | mediapipe/model_maker/python/vision/core/image_utils.py | 14 | # ============================================================================== |
| MEDIUM | …er/python/vision/gesture_recognizer/metadata_writer.py | 14 | # ============================================================================== |
| MEDIUM | …thon/vision/gesture_recognizer/metadata_writer_test.py | 14 | # ============================================================================== |
| MEDIUM | …odel_maker/python/text/text_classifier/preprocessor.py | 14 | # ============================================================================== |
| MEDIUM | .github/bot_config.yml | 14 | # ============================================================================ |
| MEDIUM | .github/workflows/stale.yaml | 14 | # ============================================================================== |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …e/tasks/python/test/vision/holistic_landmarker_test.py | 342 | # Performs holistic landmarks detection on the input. |
| MEDIUM | …e/tasks/python/test/vision/holistic_landmarker_test.py | 361 | # Performs holistic landmarks detection on the input. |
| MEDIUM | …e/tasks/python/test/vision/holistic_landmarker_test.py | 266 | # Creates holistic landmarker. |
| MEDIUM | …e/tasks/python/test/vision/holistic_landmarker_test.py | 287 | # Performs holistic landmarks detection on the input. |
| MEDIUM | …e/tasks/python/test/vision/holistic_landmarker_test.py | 296 | # Closes the holistic landmarker explicitly when the holistic landmarker is |
| MEDIUM | …e/tasks/python/test/vision/holistic_landmarker_test.py | 321 | # Creates holistic landmarker. |
| MEDIUM | …e/tasks/python/test/vision/holistic_landmarker_test.py | 469 | # Creates holistic landmarker. |
| MEDIUM | …e/tasks/python/test/vision/holistic_landmarker_test.py | 483 | # Performs holistic landmarks detection on the input. |
| MEDIUM | mediapipe/gpu/gl_calculator_helper.h | 223 | // calculator. This is the preferred way to utilize the memory pool inside of |
| MEDIUM | mediapipe/util/tracking/motion_analysis.h | 16 | // locally filtered (robust) feature tracking, camera motion estimation, and |
| MEDIUM | mediapipe/util/tracking/motion_estimation.h | 374 | // Replace each features irls weight by robust min-filtered irls weight |
| MEDIUM | mediapipe/framework/deps/status_macros.h | 21 | // with the goal of having a single, consistent, and robust implementation. |
| MEDIUM | mediapipe/web/graph_runner/graph_runner_webgpu.ts | 88 | // Our inference engines can utilize the adapter info to optimize WebGPU |
| MEDIUM | …maker/python/vision/object_detector/object_detector.py | 169 | # TODO: Refactor this method to utilize shared training function |
| MEDIUM | …sktop/autoflip/calculators/scene_cropping_calculator.h | 62 | // target aspect ratio, padding will be applied. In this case, a seamless |
| MEDIUM | mediapipe/calculators/tensor/tensor_span.h | 26 | // *without* making any deep-copies or keeping any memory alive. Essentially |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …pipe/tasks/vision/facedetector/FaceDetectorResult.java | 44 | com.google.mediapipe.tasks.components.containers.Detection.createFromProto( |
| CRITICAL | …/vision/gesturerecognizer/GestureRecognizerResult.java | 60 | com.google.mediapipe.tasks.components.containers.NormalizedLandmark.create( |
| CRITICAL | …/vision/gesturerecognizer/GestureRecognizerResult.java | 71 | com.google.mediapipe.tasks.components.containers.Landmark.create( |
| CRITICAL | …/tasks/vision/objectdetector/ObjectDetectorResult.java | 38 | com.google.mediapipe.tasks.components.containers.Detection.createFromProto( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …cognizer/calculators/handedness_to_matrix_calculator.h | 38 | // Usage example: |
| LOW | …ecognizer/calculators/landmarks_to_matrix_calculator.h | 35 | // Usage example: |
| LOW | …ecognizer/calculators/combined_prediction_calculator.h | 37 | // Usage example: |
| LOW | …enter/calculators/tensors_to_segmentation_calculator.h | 40 | // Usage example: |
| LOW | …s/cc/components/processors/image_preprocessing_graph.h | 34 | // Example usage: |
| LOW | …components/processors/detection_postprocessing_graph.h | 31 | // Example usage: |
| LOW | …nents/processors/classification_postprocessing_graph.h | 34 | // Example usage: |
| LOW | …ks/cc/components/processors/text_preprocessing_graph.h | 32 | // Example usage: |
| LOW | …components/processors/embedding_postprocessing_graph.h | 33 | // Example usage: |
| LOW | mediapipe/gpu/gl_app_texture_support.h | 41 | // Usage example: |
| LOW | mediapipe/gpu/gl_app_texture_support.h | 86 | // Usage example: |
| LOW | mediapipe/util/annotation_renderer.h | 28 | // Example usage: |
| LOW | mediapipe/util/tracking/region_flow.h | 381 | // Usage example: |
| LOW | mediapipe/util/tracking/motion_analysis.h | 21 | // Usage example: |
| LOW | mediapipe/util/tracking/tracking.h | 267 | // Example usage: |
| LOW | mediapipe/framework/memory_manager.h | 33 | // Example usage: |
| LOW | mediapipe/framework/packet.h | 176 | // Example usage: |
| LOW | mediapipe/framework/deps/requires.h | 26 | // Example usage: |
| LOW | mediapipe/framework/deps/registration_token.h | 30 | // Example usage: |
| LOW | mediapipe/framework/deps/mathutil.h | 47 | // Example usage: |
| LOW | mediapipe/framework/tool/sink.h | 68 | // Example usage: |
| LOW | …esktop/autoflip/quality/scene_camera_motion_analyzer.h | 41 | // Example usage: |
| LOW | …pipe/examples/desktop/autoflip/quality/scene_cropper.h | 40 | // Example usage: |
| LOW | …iapipe/calculators/util/filter_collection_calculator.h | 34 | // Example usage: |
| LOW | mediapipe/calculators/image/warp_affine_calculator.h | 57 | // Usage example: |
| LOW | …alculators/tensor/tensors_to_segmentation_calculator.h | 41 | // Usage example: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | mediapipe/tasks/python/core/mediapipe_c_utils.py | 169 | |
| LOW | mediapipe/tasks/python/test/test_utils.py | 121 | |
| LOW | …ks/python/metadata/metadata_writers/metadata_writer.py | 776 | |
| LOW | …asks/python/metadata/metadata_writers/metadata_info.py | 411 | |
| LOW | mediapipe/python/solution_base.py | 109 | |
| LOW | mediapipe/python/solution_base.py | 300 | |
| LOW | mediapipe/python/solution_base.py | 468 | |
| LOW | mediapipe/python/solution_base.py | 490 | |
| LOW | mediapipe/python/solutions/face_mesh_test.py | 133 | |
| LOW | mediapipe/python/solutions/hands_test.py | 131 | |
| LOW | mediapipe/model_maker/python/core/utils/hub_loader.py | 45 | |
| LOW | mediapipe/model_maker/python/core/utils/file_util.py | 47 | |
| LOW | …ker/python/vision/image_classifier/image_classifier.py | 39 | |
| LOW | …ython/vision/image_classifier/image_classifier_demo.py | 55 | |
| LOW | …l_maker/python/text/text_classifier/text_classifier.py | 579 | |
| LOW | …iapipe/examples/desktop/media_sequence/demo_dataset.py | 175 | |
| LOW | …pe/examples/desktop/media_sequence/kinetics_dataset.py | 224 | |
| LOW | …pe/examples/desktop/media_sequence/kinetics_dataset.py | 286 | |
| LOW | …pe/examples/desktop/media_sequence/kinetics_dataset.py | 329 | |
| LOW | …pe/examples/desktop/media_sequence/charades_dataset.py | 245 | |
| LOW | …pe/examples/desktop/media_sequence/charades_dataset.py | 291 | |
| LOW | mediapipe/examples/desktop/youtube8m/viewer/server.py | 101 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | mediapipe/tasks/python/benchmark/vision/benchmark.py | 72 | # Check if the mode is supported and get the argument dictionary |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 228 | # Check if data type of `category_mask` is correct. |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 281 | # Check if confidence mask shape is correct. |
| LOW | …ython/test/vision/interactive_segmenter_legacy_test.py | 320 | # Check if confidence mask shape is correct. |
| LOW | …apipe/tasks/python/test/vision/image_segmenter_test.py | 208 | # Check if data type of `category_mask` is correct. |
| LOW | …apipe/tasks/python/test/vision/image_segmenter_test.py | 243 | # Check if confidence mask shape is correct. |
| LOW | …apipe/tasks/python/test/vision/image_segmenter_test.py | 381 | # Check if confidence mask shape is correct. |
| LOW | …apipe/tasks/python/test/vision/image_segmenter_test.py | 492 | # Check if confidence mask shape is correct. |
| LOW | mediapipe/tasks/python/test/metadata/metadata_test.py | 277 | # Check if the model buffer read from file is the same as that read from |
| LOW | mediapipe/tasks/python/test/metadata/metadata_test.py | 331 | # Check if the model buffer read from file is the same as that read from |
| LOW | mediapipe/tasks/python/metadata/metadata.py | 657 | # Check if metadata has already been populated. |
| LOW | mediapipe/tasks/python/metadata/metadata.py | 712 | # Verify if the number of tensor metadata matches the number of tensors. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | mediapipe/tasks/python/core/async_result_dispatcher.py | 161 | except Exception as e: # pylint: disable=broad-except |
| LOW | mediapipe/tasks/python/core/async_result_dispatcher.py | 173 | except Exception as e: # pylint: disable=broad-except |
| LOW | mediapipe/tasks/python/metadata/metadata.py | 149 | except Exception: |
| LOW | mediapipe/tasks/python/metadata/metadata.py | 163 | except Exception as e: |
| LOW | mediapipe/examples/ios/link_local_profiles.py | 88 | except Exception: # pylint: disable=broad-except |
| MEDIUM | mediapipe/examples/ios/link_local_profiles.py | 159 | print("Error: Unable to find any provisioning profiles " + |
| MEDIUM | mediapipe/examples/ios/link_local_profiles.py | 82 | def get_app_id(profile_path) -> Optional[str]: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | mediapipe/util/tracking/region_flow.h | 451 | // track with a direction as requested by the flow direction of the |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …e/tasks/web/genai/llm_inference/model_loading_utils.ts | 50 | // cancel() may be called at any time, so we need to check if this |