State-of-the-art 2D and 3D Face Analysis Project
This report summarizes scanner evidence for deepinsight/insightface, a Python project with 29,932 GitHub stars. SynthScan examined 421,388 lines of code across 1818 source files, recording 5952 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 18.5 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 3093 finding(s).
Are imports declared and package/API names verified? 1970 finding(s).
Are wrappers, guards, and repeated structures necessary? 2738 finding(s).
Which changes need focused human review? 5952 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 5952 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/onnx2caffe/convertCaffe.py | 5 | CODE | |
| LOW | tools/onnx2caffe/convertCaffe.py | 14 | CODE | |
| LOW | tools/onnx2caffe/convertCaffe.py | 16 | CODE | |
| LOW | tools/onnx2caffe/MyCaffe.py | 1 | CODE | |
| LOW | tools/onnx2caffe/MyCaffe.py | 1 | CODE | |
| LOW | tools/onnx2caffe/MyCaffe.py | 4 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 1 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 2 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 3 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 5 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 5 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 5 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 5 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 1 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 2 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 3 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 4 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 7 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 7 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 7 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 7 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 7 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 9 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 1 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 2 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 3 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 4 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 7 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 8 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 8 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 1 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 2 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 3 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 4 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 6 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_weightloader.py | 1 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_weightloader.py | 2 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_weightloader.py | 3 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_weightloader.py | 4 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_weightloader.py | 7 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_weightloader.py | 7 | CODE | |
| LOW | attribute/gender_age/test.py | 2 | CODE | |
| LOW | attribute/gender_age/test.py | 3 | CODE | |
| LOW | attribute/gender_age/test.py | 4 | CODE | |
| LOW | attribute/gender_age/test.py | 5 | CODE | |
| LOW | web-demos/src_recognition/scrfd.py | 2 | CODE | |
| LOW | web-demos/src_recognition/scrfd.py | 3 | CODE | |
| LOW | web-demos/src_recognition/scrfd.py | 7 | CODE | |
| LOW | web-demos/src_recognition/scrfd.py | 10 | CODE | |
| LOW | web-demos/src_recognition/main.py | 7 | CODE | |
| 1897 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 40 | def unsupported_op_configuration(self, | CODE |
| LOW⚡ | …ge/inspireface/tools/generate_error_tabel_to_python.py | 6 | def calculate_error_code_value(error_code_str, error_definitions): | CODE |
| LOW⚡ | …ge/inspireface/tools/generate_error_tabel_to_python.py | 19 | def parse_and_calculate_error_codes(header_content): | CODE |
| LOW⚡ | cpp-package/inspireface/tools/output_error_table.py | 5 | def calculate_error_code_value(error_code_str, error_definitions): | CODE |
| LOW⚡ | cpp-package/inspireface/tools/output_error_table.py | 18 | def parse_and_calculate_error_codes(header_content): | CODE |
| LOW | …age/inspireface/python/sample_face_track_from_video.py | 40 | def case_face_tracker_from_video(source, show, out): | CODE |
| LOW | …nspireface/python/sample_system_resource_statistics.py | 7 | def case_show_system_resource_statistics(resource_path): | CODE |
| LOW | cpp-package/inspireface/python/setup.py | 96 | def get_target_platform_for_envs(): | CODE |
| LOW | cpp-package/inspireface/python/sample_face_detection.py | 17 | def case_face_detection_image(image_path, show): | CODE |
| LOW | cpp-package/inspireface/python/test/test_utilis.py | 95 | def read_binary_file_to_ndarray(file_path, width, height): | CODE |
| LOW | …ge/inspireface/python/test/unit/test_tracker_module.py | 19 | def test_face_detection_from_image(self): | CODE |
| LOW⚡ | …ge/inspireface/python/test/unit/test_tracker_module.py | 107 | def test_benchmark_face_detect(self): | CODE |
| LOW⚡ | …ge/inspireface/python/test/unit/test_tracker_module.py | 113 | def test_benchmark_face_track(self): | CODE |
| LOW⚡ | …ge/inspireface/python/test/unit/test_tracker_module.py | 119 | def test_benchmark_face_track_video(self): | CODE |
| LOW | …nspireface/python/test/unit/test_recognition_module.py | 20 | def test_face_feature_extraction(self): | CODE |
| LOW | …nspireface/python/test/unit/test_recognition_module.py | 207 | def test_benchmark_feature_extract(self): | CODE |
| LOW | …ge/inspireface/python/inspireface/modules/exception.py | 216 | def validate_session_initialized(session, operation: str = "Session operation"): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 463 | def set_filter_minimum_face_pixel_size(self, min_size=32): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 469 | def set_track_mode_smooth_ratio(self, ratio=0.025): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 475 | def set_track_mode_num_smooth_cache_frame(self, num=15): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 481 | def set_track_model_detect_interval(self, num=20): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 487 | def set_landmark_augmentation_num(self, num=1): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 493 | def set_track_lost_recovery_mode(self, value=False): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 1287 | def show_system_resource_statistics(): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 1293 | def switch_apple_coreml_inference_mode(mode: int): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 1303 | def set_expansive_hardware_rockchip_dma_heap_path(path: str): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 1310 | def query_expansive_hardware_rockchip_dma_heap_path() -> str: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 22 | def ignore_check_latest_model(ignore: bool): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 435 | def set_enable_track_cost_spend(self, enable: bool): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 441 | def set_detection_confidence_threshold(self, threshold: float): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 572 | def _get_processing_function_and_param(exec_param): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 594 | def _update_face_interact_confidence(self, exec_param, flag, extends): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 619 | def _update_face_emotion_confidence(self, exec_param, flag, extends): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 631 | def _update_rgb_liveness_confidence(self, exec_param, flag, extends: List[FaceExtended]): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 643 | def _update_face_attribute_confidence(self, exec_param, flag, extends: List[FaceExtended]): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 657 | def _update_face_quality_confidence(self, exec_param, flag, extends: List[FaceExtended]): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 669 | def _get_faces_boundary_boxes(self) -> List: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 716 | def _check_modelscope_availability(): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 857 | def switch_image_processing_backend(backend: int): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 863 | def set_image_process_aligned_width(width: int): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1022 | def feature_hub_set_search_threshold(threshold: float): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1088 | def feature_hub_face_search_top_k(data: np.ndarray, top_k: int) -> List[Tuple]: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1152 | def feature_hub_get_face_identity(custom_id: int): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1172 | def feature_hub_get_face_count() -> int: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1189 | def feature_hub_get_face_id_list() -> List[int]: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1213 | def get_recommended_cosine_threshold() -> float: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1221 | def get_similarity_converter_config() -> dict: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1238 | def set_similarity_converter_config(cfg: dict): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1250 | def cosine_similarity_convert_to_percentage(similarity: float) -> float: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1351 | def check_cuda_device_support() -> bool: | CODE |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 108 | def _download_from_modelscope(self, model_name: str) -> str: | CODE |
| LOW⚡ | …spireface/python/inspireface/modules/utils/resource.py | 223 | def _download_from_modelscope_with_cache(self, name: str, re_download: bool = False) -> str: | CODE |
| LOW | python-package/tests/conftest.py | 33 | def synthetic_person_manifest(): | CODE |
| LOW | python-package/tests/test_telemetry_policy.py | 16 | def _run_without_site_packages( | CODE |
| LOW | python-package/tests/test_telemetry_policy.py | 55 | def test_telemetry_is_disabled_before_inference_import( | CODE |
| LOW | python-package/tests/test_telemetry_policy.py | 98 | def test_missing_runtime_still_has_actionable_import_error() -> None: | STRING |
| LOW⚡ | …n-package/tests/person/test_person_analysis_minimal.py | 284 | def test_get_reid_is_normalized_and_does_not_detect(setup): | CODE |
| LOW⚡ | …n-package/tests/person/test_person_analysis_minimal.py | 292 | def test_manual_body_reference_is_supported_without_a_face_reference(setup): | CODE |
| LOW⚡ | …n-package/tests/person/test_person_analysis_minimal.py | 301 | def test_face_evidence_wins_over_a_conflicting_body_match(setup): | CODE |
| LOW⚡ | …n-package/tests/person/test_person_analysis_minimal.py | 309 | def test_qualified_unmatched_face_does_not_suppress_body_match(setup): | CODE |
| 1657 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | web-demos/src_recognition/scrfd.py | 0 | decode distance prediction to bounding box. args: points (tensor): shape (n, 2), [x, y]. distance (tensor): distance fro | STRING |
| HIGH | python-package/insightface/model_zoo/retinaface.py | 0 | decode distance prediction to bounding box. args: points (tensor): shape (n, 2), [x, y]. distance (tensor): distance fro | STRING |
| HIGH | python-package/insightface/model_zoo/scrfd.py | 0 | decode distance prediction to bounding box. args: points (tensor): shape (n, 2), [x, y]. distance (tensor): distance fro | STRING |
| HIGH | detection/scrfd/tools/scrfd.py | 0 | decode distance prediction to bounding box. args: points (tensor): shape (n, 2), [x, y]. distance (tensor): distance fro | STRING |
| HIGH | detection/scrfd/mmdet/core/bbox/transforms.py | 0 | decode distance prediction to bounding box. args: points (tensor): shape (n, 2), [x, y]. distance (tensor): distance fro | STRING |
| HIGH | python-package/insightface/utils/transform.py | 0 | using least-squares solution args: x: [n, 3]. 3d points(fixed) y: [n, 3]. corresponding 3d points(moving). y = px return | STRING |
| HIGH | …ackage/insightface/thirdparty/face3d/mesh/transform.py | 0 | using least-squares solution args: x: [n, 3]. 3d points(fixed) y: [n, 3]. corresponding 3d points(moving). y = px return | STRING |
| HIGH | …/insightface/thirdparty/face3d/mesh_numpy/transform.py | 0 | using least-squares solution args: x: [n, 3]. 3d points(fixed) y: [n, 3]. corresponding 3d points(moving). y = px return | STRING |
| HIGH | python-package/insightface/utils/transform.py | 0 | decompositing camera matrix p args: p: (3, 4). affine camera matrix. returns: s: scale factor. r: (3, 3). rotation matri | STRING |
| HIGH | …ackage/insightface/thirdparty/face3d/mesh/transform.py | 0 | decompositing camera matrix p args: p: (3, 4). affine camera matrix. returns: s: scale factor. r: (3, 3). rotation matri | STRING |
| HIGH | …/insightface/thirdparty/face3d/mesh_numpy/transform.py | 0 | decompositing camera matrix p args: p: (3, 4). affine camera matrix. returns: s: scale factor. r: (3, 3). rotation matri | STRING |
| HIGH | reconstruction/ostec/utils/ganfit_camera.py | 0 | decompositing camera matrix p args: p: (3, 4). affine camera matrix. returns: s: scale factor. r: (3, 3). rotation matri | STRING |
| HIGH | python-package/insightface/utils/transform.py | 0 | get three euler angles from rotation matrix args: r: (3,3). rotation matrix returns: x: pitch y: yaw z: roll | STRING |
| HIGH | …ackage/insightface/thirdparty/face3d/mesh/transform.py | 0 | get three euler angles from rotation matrix args: r: (3,3). rotation matrix returns: x: pitch y: yaw z: roll | STRING |
| HIGH | …/insightface/thirdparty/face3d/mesh_numpy/transform.py | 0 | get three euler angles from rotation matrix args: r: (3,3). rotation matrix returns: x: pitch y: yaw z: roll | STRING |
| HIGH | reconstruction/ostec/utils/ganfit_camera.py | 0 | get three euler angles from rotation matrix args: r: (3,3). rotation matrix returns: x: pitch y: yaw z: roll | STRING |
| HIGH | …ackage/insightface/thirdparty/face3d/mesh/transform.py | 0 | checks if a matrix is a valid rotation matrix(whether orthogonal or not) | STRING |
| HIGH | …/insightface/thirdparty/face3d/mesh_numpy/transform.py | 0 | checks if a matrix is a valid rotation matrix(whether orthogonal or not) | STRING |
| HIGH | reconstruction/ostec/utils/ganfit_camera.py | 0 | checks if a matrix is a valid rotation matrix(whether orthogonal or not) | STRING |
| HIGH | recognition/arcface_mxnet/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/arcface_mxnet/common/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/partial_fc/mxnet/evaluation/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/partial_fc/mxnet/evaluation/lfw.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/arcface_torch/eval/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/arcface_oneflow/eval/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/subcenter_arcface/common/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/vpl/eval/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/arcface_mxnet/parall_module_local_v1.py | 0 | a convenient function that calls both ``forward`` and ``backward``. | STRING |
| HIGH | recognition/partial_fc/mxnet/memory_module.py | 0 | a convenient function that calls both ``forward`` and ``backward``. | STRING |
| HIGH | recognition/subcenter_arcface/parall_module_local_v1.py | 0 | a convenient function that calls both ``forward`` and ``backward``. | STRING |
| HIGH | recognition/arcface_mxnet/image_iter.py | 0 | decodes a string or byte string to an ndarray. see mx.img.imdecode for more details. | STRING |
| HIGH | recognition/arcface_mxnet/triplet_image_iter.py | 0 | decodes a string or byte string to an ndarray. see mx.img.imdecode for more details. | STRING |
| HIGH | recognition/partial_fc/mxnet/image_iter.py | 0 | decodes a string or byte string to an ndarray. see mx.img.imdecode for more details. | STRING |
| HIGH | recognition/subcenter_arcface/image_iter.py | 0 | decodes a string or byte string to an ndarray. see mx.img.imdecode for more details. | STRING |
| HIGH | recognition/arcface_mxnet/image_iter.py | 0 | reads an input image `fname` and returns the decoded raw bytes. example usage: ---------- >>> dataiter.read_image('face. | STRING |
| HIGH | recognition/arcface_mxnet/triplet_image_iter.py | 0 | reads an input image `fname` and returns the decoded raw bytes. example usage: ---------- >>> dataiter.read_image('face. | STRING |
| HIGH | recognition/partial_fc/mxnet/image_iter.py | 0 | reads an input image `fname` and returns the decoded raw bytes. example usage: ---------- >>> dataiter.read_image('face. | STRING |
| HIGH | recognition/subcenter_arcface/image_iter.py | 0 | reads an input image `fname` and returns the decoded raw bytes. example usage: ---------- >>> dataiter.read_image('face. | STRING |
| HIGH | recognition/arcface_mxnet/image_iter.py | 0 | final postprocessing step before image is loaded into the batch. | STRING |
| HIGH | recognition/arcface_mxnet/triplet_image_iter.py | 0 | final postprocessing step before image is loaded into the batch. | STRING |
| HIGH | recognition/partial_fc/mxnet/image_iter.py | 0 | final postprocessing step before image is loaded into the batch. | STRING |
| HIGH | recognition/subcenter_arcface/image_iter.py | 0 | final postprocessing step before image is loaded into the batch. | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger.py | 0 | memory allocation planner with a given threshold. the user can pass in a network configuration, a threshold that limits | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger_v2.py | 0 | memory allocation planner with a given threshold. the user can pass in a network configuration, a threshold that limits | STRING |
| HIGH | recognition/partial_fc/mxnet/symbol/memonger.py | 0 | memory allocation planner with a given threshold. the user can pass in a network configuration, a threshold that limits | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger.py | 0 | memory allocation planner with a given threshold. the user can pass in a network configuration, a threshold that limits | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger_v2.py | 0 | memory allocation planner with a given threshold. the user can pass in a network configuration, a threshold that limits | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger.py | 0 | get the cost of the current symbolic plan by running bind on cpu. sym : symbolic variable | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger_v2.py | 0 | get the cost of the current symbolic plan by running bind on cpu. sym : symbolic variable | STRING |
| HIGH | recognition/partial_fc/mxnet/symbol/memonger.py | 0 | get the cost of the current symbolic plan by running bind on cpu. sym : symbolic variable | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger.py | 0 | get the cost of the current symbolic plan by running bind on cpu. sym : symbolic variable | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger_v2.py | 0 | get the cost of the current symbolic plan by running bind on cpu. sym : symbolic variable | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger.py | 0 | quickly heurestic search over possible plans to find good memory plan. parameters ---------- sym : symbolic symbolic con | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger_v2.py | 0 | quickly heurestic search over possible plans to find good memory plan. parameters ---------- sym : symbolic symbolic con | STRING |
| HIGH | recognition/partial_fc/mxnet/symbol/memonger.py | 0 | quickly heurestic search over possible plans to find good memory plan. parameters ---------- sym : symbolic symbolic con | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger.py | 0 | quickly heurestic search over possible plans to find good memory plan. parameters ---------- sym : symbolic symbolic con | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger_v2.py | 0 | quickly heurestic search over possible plans to find good memory plan. parameters ---------- sym : symbolic symbolic con | STRING |
| HIGH | recognition/arcface_mxnet/symbol/symbol_utils.py | 0 | return resnext unit symbol for building resnext parameters ---------- data : str input data num_filter : int number of o | STRING |
| HIGH | recognition/arcface_mxnet/symbol/fresnet.py | 0 | return resnext unit symbol for building resnext parameters ---------- data : str input data num_filter : int number of o | STRING |
| HIGH | recognition/partial_fc/mxnet/symbol/symbol_utils.py | 0 | return resnext unit symbol for building resnext parameters ---------- data : str input data num_filter : int number of o | STRING |
| 139 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/inspireface/python/inspireface/modules/core/native.py | 529 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/inspireface/python/inspireface/modules/core/native.py | 561 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | alignment/synthetics/trainer_synthetics.py | 78 | # ------------ | COMMENT |
| MEDIUM | alignment/synthetics/trainer_synthetics.py | 80 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 98 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 100 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 107 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 109 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 115 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 117 | # ------------ | COMMENT |
| MEDIUM⚡ | reconstruction/ostec/external/stylegan2/dataset_tool.py | 24 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | reconstruction/ostec/external/stylegan2/dataset_tool.py | 30 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 103 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 110 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 128 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 190 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 216 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 243 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 286 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 310 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 327 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 354 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 376 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 403 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 436 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 481 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 500 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 528 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 543 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 639 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 644 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_metrics.py | 18 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_metrics.py | 29 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_metrics.py | 41 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_metrics.py | 81 | #---------------------------------------------------------------------------- | STRING |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_metrics.py | 86 | #---------------------------------------------------------------------------- | STRING |
| MEDIUM | …uction/ostec/external/stylegan2/pretrained_networks.py | 13 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …uction/ostec/external/stylegan2/pretrained_networks.py | 55 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …uction/ostec/external/stylegan2/pretrained_networks.py | 60 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …uction/ostec/external/stylegan2/pretrained_networks.py | 80 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/projector.py | 14 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/projector.py | 206 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 17 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 38 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 91 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 103 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 120 | #---------------------------------------------------------------------------- | STRING |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 168 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 173 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 19 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 32 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 53 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 71 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 83 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 95 | #---------------------------------------------------------------------------- | STRING |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 143 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 148 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_training.py | 17 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_training.py | 34 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_training.py | 122 | #---------------------------------------------------------------------------- | COMMENT |
| 183 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 201 | graph.channel_dims[output_name] = shape[1] | COMMENT |
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 441 | stride_h=strides[0],stride_w = strides[1], | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 521 | _libs = {} | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 541 | # notice, this list of conditions and the following disclaimer in | COMMENT |
| LOW | …-package/inspireface/cpp/test/settings/test_settings.h | 1 | /** | COMMENT |
| LOW | …-package/inspireface/cpp/test/settings/test_settings.h | 21 | COMMENT | |
| LOW | …-package/inspireface/cpp/test/settings/test_settings.h | 41 | COMMENT | |
| LOW | …p-package/inspireface/cpp/test/unit/test_helper/help.h | 1 | #include "test_tools.h" | COMMENT |
| LOW | …kage/inspireface/cpp/test/unit/test_helper/test_help.h | 1 | /** | COMMENT |
| LOW | cpp-package/inspireface/cpp/inspireface/cost_time.h | 1 | #ifndef COST_TIME_HPP | COMMENT |
| LOW | …package/inspireface/cpp/inspireface/middleware/utils.h | 1 | COMMENT | |
| LOW | …ckage/inspireface/cpp/inspireface/middleware/timer.cpp | 1 | #include "spend_timer.h" | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/any_net_adapter.h | 1 | /** | COMMENT |
| LOW | …ackage/inspireface/cpp/inspireface/middleware/system.h | 1 | #ifndef INSPIRE_FACE_SYSTEM_H | COMMENT |
| LOW | …middleware/inference_wrapper/inference_wrapper_mnn.cpp | 1 | #include <cstdint> | COMMENT |
| LOW | …e/inference_wrapper/inference_wrapper_rknn_adapter.cpp | 1 | /** | COMMENT |
| LOW | …iddleware/inference_wrapper/inference_wrapper_coreml.h | 1 | #ifndef INFERENCE_WRAPPER_COREML_ | COMMENT |
| LOW | …dleware/inference_wrapper/inference_wrapper_tensorrt.h | 1 | #ifndef INFERENCE_WRAPPER_COREML_ | COMMENT |
| LOW | …ace/middleware/inference_wrapper/inference_wrapper.cpp | 1 | #include <cstdint> | COMMENT |
| LOW | …ace/middleware/inference_wrapper/inference_wrapper.cpp | 21 | #include "inference_wrapper_rknn_adapter_nano.h" | COMMENT |
| LOW | …/middleware/inference_wrapper/inference_wrapper_rknn.h | 1 | /** | COMMENT |
| LOW | …are/inference_wrapper/inference_wrapper_rknn_adapter.h | 1 | /** | COMMENT |
| LOW | …e/middleware/inference_wrapper/inference_wrapper_mnn.h | 1 | #ifndef INFERENCE_WRAPPER_MNN_ | COMMENT |
| LOW | …nference_wrapper/inference_wrapper_rknn_adapter_nano.h | 1 | /** | COMMENT |
| LOW | …eware/inference_wrapper/inference_wrapper_tensorrt.cpp | 1 | #if INFERENCE_WRAPPER_ENABLE_TENSORRT | COMMENT |
| LOW | …erence_wrapper/inference_wrapper_rknn_adapter_nano.cpp | 1 | /** | COMMENT |
| LOW | …iddleware/inference_wrapper/inference_wrapper_rknn.cpp | 1 | /** | COMMENT |
| LOW | …e/middleware/inference_wrapper/inference_wrapper_log.h | 1 | #ifndef INFERENCE_WRAPPER_LOG_ | COMMENT |
| LOW | …dleware/inference_wrapper/inference_wrapper_coreml.cpp | 1 | #ifdef INFERENCE_WRAPPER_ENABLE_COREML | COMMENT |
| LOW | …leware/inference_wrapper/tensorrt/tensorrt_adapter.cpp | 1 | /** | COMMENT |
| LOW | …eware/inference_wrapper/customized/rknn_adapter_nano.h | 1 | // | COMMENT |
| LOW | …iddleware/inference_adapter/mnn_cv_adapter_inference.h | 1 | #ifndef MNN_SIMPLE_INFER_H | COMMENT |
| LOW | …e/middleware/model_archive/core_archive/core_archive.h | 61 | #endif // MODELLOADERTAR_CPP_MICROTAR_H | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 41 | COMMENT | |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 61 | COMMENT | |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 201 | #if defined(JSON_HEDLEY_STRINGIFY_EX) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 221 | #if defined(JSON_HEDLEY_CONCAT3_EX) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 241 | #if defined(JSON_HEDLEY_VERSION_DECODE_MINOR) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 261 | #undef JSON_HEDLEY_GNUC_VERSION_CHECK | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 281 | #undef JSON_HEDLEY_MSVC_VERSION_CHECK | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 301 | COMMENT | |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 321 | #if defined(JSON_HEDLEY_INTEL_CL_VERSION) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 341 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 361 | #else | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 381 | #if defined(JSON_HEDLEY_ARM_VERSION) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 401 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 421 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 441 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 461 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 481 | COMMENT | |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 501 | #if defined(JSON_HEDLEY_TI_CL6X_VERSION) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 521 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 541 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 561 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 581 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 601 | COMMENT | |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 621 | #if defined(JSON_HEDLEY_COMPCERT_VERSION) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 641 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 681 | #if defined(JSON_HEDLEY_GCC_VERSION_CHECK) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 701 | #endif | COMMENT |
| 509 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/onnx2caffe/MyCaffe.py | 21 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 27 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 168 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 25 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 250 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 310 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 454 | CODE | |
| LOW | web-demos/src_recognition/scrfd.py | 83 | CODE | |
| LOW | challenges/iccv21-mfr/onnx_helper.py | 21 | CODE | |
| LOW | challenges/iccv19-lfr/gen_video_feature.py | 86 | CODE | |
| LOW | cpp-package/inspireface/python/read_nv21.py | 7 | CODE | |
| LOW | cpp-package/inspireface/python/setup.py | 62 | CODE | |
| LOW | cpp-package/inspireface/python/test/test_utilis.py | 60 | CODE | |
| LOW | cpp-package/inspireface/python/test/test_utilis.py | 168 | CODE | |
| LOW | …ge/inspireface/python/inspireface/modules/exception.py | 115 | CODE | |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 13 | CODE | |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 427 | CODE | |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 788 | CODE | |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 810 | CODE | |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 141 | CODE | |
| LOW | python-package/packaging/pypi/release_artifacts.py | 22 | CODE | |
| LOW | python-package/tests/release/test_release_artifacts.py | 48 | CODE | |
| LOW | …ackage/tests/privateframe/test_cli_self_description.py | 433 | CODE | |
| LOW | …/tests/privateframe/test_result_document_validation.py | 43 | CODE | |
| LOW | python-package/insightface/app/person_analysis.py | 151 | CODE | |
| LOW | python-package/insightface/app/person_analysis.py | 243 | CODE | |
| LOW | python-package/insightface/app/person_analysis.py | 288 | CODE | |
| LOW | python-package/insightface/app/face_analysis.py | 69 | CODE | |
| LOW | python-package/insightface/app/face_analysis.py | 270 | CODE | |
| LOW | …on-package/insightface/app/privateframe/recognition.py | 595 | CODE | |
| LOW | python-package/insightface/app/privateframe/config.py | 29 | CODE | |
| LOW | python-package/insightface/app/privateframe/config.py | 54 | CODE | |
| LOW | …on-package/insightface/app/privateframe/base_config.py | 719 | CODE | |
| LOW | …on-package/insightface/app/privateframe/base_config.py | 1028 | CODE | |
| LOW | python-package/insightface/app/privateframe/models.py | 160 | CODE | |
| LOW | …n-package/insightface/app/privateframe/cli_contract.py | 303 | CODE | |
| LOW | …ackage/insightface/app/privateframe/artifact_render.py | 354 | CODE | |
| LOW | …ackage/insightface/app/privateframe/artifact_render.py | 408 | CODE | |
| LOW | …ackage/insightface/app/privateframe/artifact_render.py | 656 | CODE | |
| LOW | …ackage/insightface/app/privateframe/artifact_render.py | 642 | CODE | |
| LOW | …n-package/insightface/app/privateframe/revalidation.py | 462 | CODE | |
| LOW | …n-package/insightface/app/privateframe/revalidation.py | 822 | CODE | |
| LOW | …n-package/insightface/app/privateframe/revalidation.py | 101 | CODE | |
| LOW | …n-package/insightface/app/privateframe/revalidation.py | 191 | CODE | |
| LOW | …kage/insightface/app/privateframe/endpoint_matching.py | 81 | CODE | |
| LOW | python-package/insightface/app/privateframe/cli.py | 344 | CODE | |
| LOW | python-package/insightface/app/privateframe/cli.py | 387 | CODE | |
| LOW | python-package/insightface/app/privateframe/cli.py | 493 | CODE | |
| LOW | python-package/insightface/app/privateframe/cli.py | 680 | CODE | |
| LOW | python-package/insightface/app/privateframe/cli.py | 715 | CODE | |
| LOW | python-package/insightface/app/privateframe/cli.py | 823 | CODE | |
| LOW | python-package/insightface/app/privateframe/cli.py | 998 | CODE | |
| LOW | python-package/insightface/app/privateframe/cli.py | 1475 | CODE | |
| LOW | …thon-package/insightface/app/privateframe/artifacts.py | 64 | CODE | |
| LOW | …thon-package/insightface/app/privateframe/streaming.py | 305 | CODE | |
| LOW | …thon-package/insightface/app/privateframe/streaming.py | 675 | CODE | |
| LOW | …thon-package/insightface/app/privateframe/streaming.py | 1164 | CODE | |
| LOW | …thon-package/insightface/app/privateframe/streaming.py | 1570 | CODE | |
| LOW | …thon-package/insightface/app/privateframe/streaming.py | 1757 | CODE | |
| LOW | …thon-package/insightface/app/privateframe/streaming.py | 3215 | CODE | |
| 307 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2227 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2233 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2239 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2245 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2251 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2257 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2263 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2269 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2275 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2281 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2287 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2293 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 2299 | except: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 807 | except IOError: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/core/native.py | 875 | except OSError: | CODE |
| HIGH | python-package/tests/gui/test_privateframe_page.py | 1381 | except OSError: | CODE |
| HIGH | python-package/insightface/app/__init__.py | 7 | except ImportError: | CODE |
| HIGH | python-package/insightface/app/privateframe/cli.py | 747 | except FileNotFoundError: | CODE |
| HIGH | python-package/insightface/app/privateframe/cli.py | 756 | except OSError: | CODE |
| HIGH | python-package/insightface/app/privateframe/cli.py | 707 | except FileNotFoundError: | CODE |
| HIGH | python-package/insightface/app/privateframe/cli.py | 693 | except FileNotFoundError: | CODE |
| HIGH | python-package/insightface/app/privateframe/cli.py | 734 | except FileNotFoundError: | CODE |
| HIGH | python-package/insightface/app/privateframe/pipeline.py | 500 | except FileNotFoundError: | CODE |
| HIGH | python-package/insightface/app/privateframe/video.py | 29 | except OSError: | CODE |
| HIGH | python-package/insightface/app/privateframe/video.py | 20 | except OSError: | CODE |
| HIGH | python-package/insightface/app/privateframe/doctor.py | 514 | except Exception: | CODE |
| HIGH | python-package/insightface/app/privateframe/doctor.py | 2053 | except Exception: | CODE |
| HIGH | …n-package/insightface/app/privateframe/packet_cache.py | 508 | except FileNotFoundError: | CODE |
| HIGH | python-package/insightface/model_zoo/coreml_cache.py | 340 | except FileNotFoundError: | CODE |
| HIGH | python-package/insightface/model_zoo/coreml_cache.py | 300 | except FileNotFoundError: | CODE |
| HIGH | python-package/insightface/gui/app.py | 139 | except Exception: | CODE |
| HIGH | python-package/insightface/gui/resources.py | 79 | except Exception: | CODE |
| HIGH | python-package/insightface/gui/resources.py | 88 | except Exception: | CODE |
| HIGH | python-package/insightface/gui/core/theme.py | 69 | except Exception: | CODE |
| HIGH | python-package/insightface/gui/core/i18n.py | 75 | except Exception: | CODE |
| HIGH | python-package/insightface/gui/core/i18n.py | 79 | except Exception: | CODE |
| HIGH | python-package/insightface/gui/core/model_downloads.py | 212 | except OSError: | CODE |
| HIGH | python-package/insightface/gui/core/reporting.py | 757 | except Exception: | CODE |
| HIGH | python-package/insightface/gui/core/reporting.py | 516 | except Exception: | CODE |
| HIGH | python-package/insightface/gui/core/reporting.py | 539 | except Exception: | CODE |
| HIGH | …hon-package/insightface/gui/pages/privateframe_page.py | 193 | except Exception: | CODE |
| HIGH | python-package/insightface/gui/widgets/image_viewer.py | 143 | except Exception: | CODE |
| HIGH | server/backend/insightface_server/addon_config.py | 47 | except (OSError, IndexError): | CODE |
| HIGH | server/backend/insightface_server/addon_management.py | 193 | except TimeoutError: | CODE |
| HIGH | server/backend/insightface_server/app.py | 197 | except OSError: | CODE |
| HIGH | server/backend/insightface_server/inference/base.py | 133 | except OSError: | CODE |
| HIGH | server/backend/insightface_server/services/rtsp.py | 628 | except Exception: | CODE |
| HIGH | server/sdk/python/src/insightface_server/client.py | 788 | except (OSError, ValueError): | CODE |
| HIGH | …ion/ostec/external/stylegan2/dnnlib/tflib/optimizer.py | 141 | except tf.errors.NotFoundError: | CODE |
| HIGH | …construction/ostec/external/landmark_detector/utils.py | 141 | except: | CODE |
| HIGH | …construction/ostec/external/landmark_detector/utils.py | 396 | except: | CODE |
| HIGH | detection/retinaface/rcnn/pycocotools/cocoeval.py | 433 | except: | CODE |
| HIGH | detection/scrfd/mmdet/models/dense_heads/scrfd_head.py | 228 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cpp-package/inspireface/README.md | 573 | # Step 1: Initialize the SDK globally (only needs to be called once per application) | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 18 | ////////////////// Step 1: Get detections ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 65 | ////////////////// Step 2: First association, with IoU ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 89 | ////////////////// Step 3: Second association, using low score dets ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 153 | ////////////////// Step 4: Init new stracks ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 162 | ////////////////// Step 5: Update state ////////////////// | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 93 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 99 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 102 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 105 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 75 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 81 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 84 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 87 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| 55 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 18 | ////////////////// Step 1: Get detections ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 65 | ////////////////// Step 2: First association, with IoU ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 89 | ////////////////// Step 3: Second association, using low score dets ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 153 | ////////////////// Step 4: Init new stracks ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 162 | ////////////////// Step 5: Update state ////////////////// | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 93 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 99 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 102 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 105 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 75 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 81 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 84 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 87 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| 54 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ge/inspireface/tools/generate_error_tabel_to_python.py | 14 | except Exception as e: | CODE |
| MEDIUM | …ge/inspireface/tools/generate_error_tabel_to_python.py | 6 | def calculate_error_code_value(error_code_str, error_definitions): | CODE |
| LOW | cpp-package/inspireface/tools/release_modelscope.py | 47 | except Exception as e: | CODE |
| LOW⚡ | cpp-package/inspireface/tools/output_error_table.py | 13 | except Exception as e: | CODE |
| MEDIUM | cpp-package/inspireface/tools/output_error_table.py | 5 | def calculate_error_code_value(error_code_str, error_definitions): | CODE |
| MEDIUM | …age/inspireface/python/sample_face_track_from_video.py | 71 | print("Error: Could not open video source.") | CODE |
| LOW | cpp-package/inspireface/python/read_nv21.py | 61 | except Exception as e: | CODE |
| LOW | cpp-package/inspireface/python/test/test_utilis.py | 112 | except Exception as e: | CODE |
| MEDIUM | cpp-package/inspireface/python/test/test_utilis.py | 113 | print(f"An error occurred while reading the file: {str(e)}") | CODE |
| LOW | …ge/inspireface/python/inspireface/modules/exception.py | 233 | except Exception as e: | CODE |
| MEDIUM | …ge/inspireface/python/inspireface/modules/exception.py | 230 | def wrapper(*args, **kwargs): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 730 | except Exception as e: | CODE |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 93 | except Exception as e: | CODE |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 627 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 138 | except Exception as e: | CODE |
| LOW⚡ | …spireface/python/inspireface/modules/utils/resource.py | 216 | except Exception as e: | CODE |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 268 | except Exception as e: | CODE |
| MEDIUM | …spireface/python/inspireface/modules/utils/resource.py | 269 | print(f"Error: {e}") | CODE |
| LOW | …on-package/insightface/app/privateframe/recognition.py | 991 | except Exception as error: | CODE |
| LOW | …on-package/insightface/app/privateframe/recognition.py | 1050 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/cli.py | 658 | except Exception: | CODE |
| LOW | python-package/insightface/app/privateframe/cli.py | 703 | except Exception: | CODE |
| LOW | python-package/insightface/app/privateframe/cli.py | 730 | except Exception: | CODE |
| LOW | python-package/insightface/app/privateframe/cli.py | 1045 | except Exception as exc: # noqa: BLE001 - diagnostic records every failure | CODE |
| LOW | python-package/insightface/app/privateframe/cli.py | 1115 | except Exception as exc: # noqa: BLE001 - diagnostic records every failure | CODE |
| LOW | python-package/insightface/app/privateframe/cli.py | 1507 | except Exception as exc: # noqa: BLE001 - machine error envelope | CODE |
| LOW | python-package/insightface/app/privateframe/cli.py | 1537 | except Exception as exc: # noqa: BLE001 - machine error envelope | CODE |
| LOW | python-package/insightface/app/privateframe/cli.py | 1550 | except Exception as exc: # noqa: BLE001 - machine error envelope | CODE |
| LOW | python-package/insightface/app/privateframe/cli.py | 1599 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | …thon-package/insightface/app/privateframe/streaming.py | 1337 | except Exception: | CODE |
| LOW⚡ | python-package/insightface/app/privateframe/doctor.py | 508 | except Exception as error: | CODE |
| LOW⚡ | python-package/insightface/app/privateframe/doctor.py | 514 | except Exception: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 303 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 397 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 444 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 592 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 649 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 681 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 687 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 733 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 757 | except Exception: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 808 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 841 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 1119 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 1196 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 1281 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 1700 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 1912 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 2040 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 2053 | except Exception: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 2073 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 2090 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 2110 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 2132 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 2146 | except Exception as error: | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 2280 | except Exception as error: | CODE |
| LOW | python-package/insightface/model_zoo/person_package.py | 215 | except Exception as exc: | CODE |
| LOW | python-package/insightface/model_zoo/person_package.py | 252 | except Exception as exc: | CODE |
| MEDIUM | python-package/insightface/model_zoo/person_package.py | 212 | def local_package(): | CODE |
| LOW | python-package/insightface/model_zoo/coreml_cache.py | 742 | except Exception as error: | CODE |
| 138 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web-demos/src_recognition/arcface_onnx.py | 13 | __all__ = [ | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1272 | def set_logging_level(level: int) -> None: | CODE |
| LOW | …package/insightface_privateframe_bootstrap/__init__.py | 106 | __all__ = ["main"] | CODE |
| LOW | python-package/insightface/app/face_analysis.py | 31 | __all__ = ["FaceAnalysis"] | CODE |
| LOW | python-package/insightface/app/face_analysis.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | python-package/insightface/app/person/__init__.py | 5 | __all__ = ['PersonConfig', 'Face', 'Person', 'MatchResult', 'UpdateResult', 'RegistrationResult'] | CODE |
| LOW | …on-package/insightface/app/privateframe/recognition.py | 1278 | __all__ = [ | CODE |
| LOW | …-package/insightface/app/privateframe/cli_bootstrap.py | 8 | __all__ = ["main"] | CODE |
| LOW | python-package/insightface/app/privateframe/config.py | 527 | __all__ = [ | CODE |
| LOW | …on-package/insightface/app/privateframe/base_config.py | 1331 | __all__ = [ | CODE |
| LOW | python-package/insightface/app/privateframe/models.py | 534 | __all__ = [ | CODE |
| LOW | …n-package/insightface/app/privateframe/cli_contract.py | 1402 | __all__ = ["build_describe_payload"] | CODE |
| LOW | …ackage/insightface/app/privateframe/artifact_render.py | 804 | __all__ = ["RenderTarget", "_identity_should_blur", "render_artifacts"] | CODE |
| LOW | …n-package/insightface/app/privateframe/revalidation.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | …n-package/insightface/app/privateframe/revalidation.py | 946 | __all__ = ["LocalReviewer", "finalize_precomputed"] | CODE |
| LOW | python-package/insightface/app/privateframe/__init__.py | 30 | __all__ = [ | CODE |
| LOW | …kage/insightface/app/privateframe/box_stabilization.py | 298 | __all__ = ["stabilize_observations"] | CODE |
| LOW | …e/insightface/app/privateframe/bidirectional_fusion.py | 207 | __all__ = [ | CODE |
| LOW | …thon-package/insightface/app/privateframe/scene_cut.py | 288 | __all__ = ["SceneCutDetector"] | CODE |
| LOW | …kage/insightface/app/privateframe/endpoint_matching.py | 361 | __all__ = ["find_conflict_groups", "localization_match_settings", "match_endpoint_candidates", "plan_rechecks", "region_ | CODE |
| LOW | …-package/insightface/app/privateframe/model_catalog.py | 216 | __all__ = [ | CODE |
| LOW | python-package/insightface/app/privateframe/cli.py | 1626 | __all__ = ["command_parser", "main"] | CODE |
| LOW | python-package/insightface/app/privateframe/pipeline.py | 1164 | __all__ = [ | CODE |
| LOW | python-package/insightface/app/privateframe/geometry.py | 181 | __all__ = [ | CODE |
| LOW | python-package/insightface/app/privateframe/scan.py | 201 | __all__ = ["ScanRunner"] | CODE |
| LOW | python-package/insightface/app/privateframe/tracker.py | 402 | __all__ = ["BoxKalman"] | CODE |
| LOW | …thon-package/insightface/app/privateframe/artifacts.py | 112 | __all__ = [ | CODE |
| LOW | …thon-package/insightface/app/privateframe/streaming.py | 65 | logger = logging.getLogger(__name__) | CODE |
| LOW | …thon-package/insightface/app/privateframe/streaming.py | 5205 | __all__ = ["ObjectState", "StreamingEngine", "run_stream"] | CODE |
| LOW | python-package/insightface/app/privateframe/roi_flow.py | 351 | __all__ = [ | CODE |
| LOW | python-package/insightface/app/privateframe/video.py | 92 | __all__ = [ | CODE |
| LOW | python-package/insightface/app/privateframe/doctor.py | 2304 | __all__ = [ | CODE |
| LOW | …n-package/insightface/app/privateframe/packet_cache.py | 576 | __all__ = [ | CODE |
| LOW | …n-package/insightface/app/privateframe/output_paths.py | 50 | __all__ = ["PrivateFrameOutputPaths", "default_output_paths"] | CODE |
| LOW | python-package/insightface/addons/__init__.py | 6 | __all__ = ["ADDON_CATALOG", "Liveness", "ensure_addon"] | CODE |
| LOW | python-package/insightface/model_zoo/landmark.py | 17 | __all__ = [ | CODE |
| LOW | python-package/insightface/model_zoo/face_verifier.py | 204 | __all__ = ["FaceVerifier"] | CODE |
| LOW | …hon-package/insightface/model_zoo/onnxruntime_utils.py | 81 | __all__ = [ | CODE |
| LOW | python-package/insightface/model_zoo/arcface_onnx.py | 15 | __all__ = [ | CODE |
| LOW | python-package/insightface/model_zoo/attribute.py | 15 | __all__ = [ | CODE |
| LOW | python-package/insightface/model_zoo/model_license.py | 835 | __all__ = [ | CODE |
| LOW | python-package/insightface/model_zoo/coreml_cache.py | 825 | __all__ = [ | CODE |
| LOW | python-package/insightface/model_zoo/model_zoo.py | 44 | __all__ = ["get_model"] | CODE |
| LOW | python-package/insightface/model_zoo/model_zoo.py | 46 | logger = logging.getLogger(__name__) | CODE |
| LOW | python-package/insightface/model_zoo/__init__.py | 31 | __all__ = [ | CODE |
| LOW | …thon-package/insightface/model_zoo/package_manifest.py | 428 | __all__ = [ | CODE |
| LOW | python-package/insightface/model_zoo/model_store.py | 6 | __all__ = ['get_model_file'] | CODE |
| LOW⚡ | python-package/insightface/gui/main_window.py | 208 | def _update_custom_model_visibility(self, *_args) -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/main_window.py | 213 | def _update_provider_availability(self) -> None: | CODE |
| LOW | python-package/insightface/gui/main_window.py | 621 | def _settings_saved(self) -> None: | CODE |
| LOW | python-package/insightface/gui/main_window.py | 709 | def set_status(self, message: str) -> None: | CODE |
| LOW | python-package/insightface/gui/__init__.py | 12 | __all__ = ["__version__", "APP_NAME", "APP_DISPLAY_NAME"] | CODE |
| LOW⚡ | python-package/insightface/gui/resources.py | 72 | def _set_windows_app_user_model_id() -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/resources.py | 83 | def _set_process_title_best_effort(name: str) -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/resources.py | 92 | __all__ = [ | CODE |
| LOW | python-package/insightface/gui/core/tooltips.py | 100 | def set_button_tooltip(button: QAbstractButton, tooltip: str | None = None) -> None: | CODE |
| LOW | python-package/insightface/gui/core/storage.py | 215 | def update_person(self, person_id: int, **fields: Any) -> None: | CODE |
| LOW | python-package/insightface/gui/core/storage.py | 601 | def set_setting(self, key: str, value: Any) -> None: | STRING |
| LOW | python-package/insightface/gui/core/model_packages.py | 380 | __all__ = [ | CODE |
| LOW | …thon-package/insightface/gui/dialogs/license_dialog.py | 24 | def set_status(self, message: str) -> None: | CODE |
| 108 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python-package/insightface/app/privateframe/pipeline.py | 1015 | CODE | |
| LOW | python-package/insightface/gui/core/tooltips.py | 86 | CODE | |
| LOW | python-package/insightface/gui/core/storage.py | 248 | CODE | |
| LOW | python-package/insightface/gui/core/storage.py | 357 | CODE | |
| LOW | python-package/insightface/gui/core/storage.py | 399 | CODE | |
| LOW | …hon-package/insightface/gui/pages/privateframe_page.py | 236 | CODE | |
| LOW | server/backend/insightface_server/app.py | 967 | CODE | |
| LOW | server/backend/insightface_server/services/rtsp.py | 827 | CODE | |
| LOW | server/sdk/python/src/insightface_server/client.py | 128 | CODE | |
| LOW | server/sdk/python/src/insightface_server/client.py | 190 | CODE | |
| LOW | server/sdk/python/src/insightface_server/client.py | 318 | CODE | |
| LOW | server/sdk/python/src/insightface_server/client.py | 384 | CODE | |
| LOW | alignment/heatmap/data.py | 23 | CODE | |
| LOW | alignment/heatmap/symbol/sym_heatmap.py | 84 | CODE | |
| LOW | reconstruction/ostec/utils/generate_heatmap.py | 6 | CODE | |
| LOW | …uction/ostec/external/stylegan2/metrics/metric_base.py | 61 | CODE | |
| LOW | …ostec/external/stylegan2/training/networks_stylegan.py | 301 | CODE | |
| LOW | …ostec/external/stylegan2/training/networks_stylegan.py | 383 | CODE | |
| LOW | …ostec/external/stylegan2/training/networks_stylegan.py | 439 | CODE | |
| LOW | …ostec/external/stylegan2/training/networks_stylegan.py | 563 | CODE | |
| LOW | …ion/ostec/external/stylegan2/training/training_loop.py | 47 | CODE | |
| LOW | …ion/ostec/external/stylegan2/training/training_loop.py | 105 | CODE | |
| LOW | …struction/ostec/external/stylegan2/training/dataset.py | 20 | CODE | |
| LOW | …ction/ostec/external/stylegan2/dnnlib/tflib/network.py | 353 | CODE | |
| LOW | …ion/ostec/external/stylegan2/dnnlib/tflib/optimizer.py | 40 | CODE | |
| LOW | …stec/external/stylegan2/dnnlib/tflib/ops/upfirdn_2d.py | 19 | CODE | |
| LOW | …l/graphonomy/FaceHairMask/deeplab_xception_transfer.py | 358 | CODE | |
| LOW | …l/graphonomy/FaceHairMask/deeplab_xception_transfer.py | 556 | CODE | |
| LOW | …stec/external/graphonomy/FaceHairMask/ParsingResnet.py | 42 | CODE | |
| LOW | …ostec/external/graphonomy/FaceHairMask/ParsingModel.py | 76 | CODE | |
| LOW | reconstruction/jmlr/backbones/resnet.py | 37 | CODE | |
| LOW | reconstruction/jmlr/backbones/resnet.py | 102 | CODE | |
| LOW | reconstruction/jmlr/backbones/resnet.py | 309 | CODE | |
| LOW | reconstruction/jmlr/backbones/network.py | 124 | CODE | |
| LOW | reconstruction/jmlr/backbones/iresnet.py | 74 | CODE | |
| LOW | reconstruction/PBIDR/code/model/renderer.py | 423 | CODE | |
| LOW | recognition/_evaluation_/ijb/ijb_onnx.py | 52 | CODE | |
| LOW | recognition/arcface_mxnet/train.py | 233 | CODE | |
| LOW | recognition/arcface_mxnet/train_parall.py | 124 | CODE | |
| LOW | recognition/arcface_mxnet/train_parall.py | 183 | CODE | |
| LOW | recognition/arcface_mxnet/parall_module_local_v1.py | 417 | CODE | |
| LOW | recognition/arcface_mxnet/image_iter.py | 25 | CODE | |
| LOW | recognition/arcface_mxnet/triplet_image_iter.py | 31 | CODE | |
| LOW | recognition/arcface_mxnet/symbol/vargfacenet.py | 103 | CODE | |
| LOW | recognition/arcface_mxnet/symbol/vargfacenet.py | 173 | CODE | |
| LOW | recognition/arcface_mxnet/symbol/vargfacenet.py | 250 | CODE | |
| LOW | recognition/arcface_mxnet/symbol/fmobilefacenet.py | 116 | CODE | |
| LOW | recognition/arcface_mxnet/common/flops_counter.py | 99 | CODE | |
| LOW | recognition/arcface_paddle/dynamic/utils/amp.py | 22 | CODE | |
| LOW | recognition/arcface_paddle/dynamic/backbones/iresnet.py | 249 | CODE | |
| LOW | recognition/arcface_paddle/dynamic/classifiers/lsc.py | 30 | CODE | |
| LOW | recognition/arcface_paddle/static/static_model.py | 33 | CODE | |
| LOW | recognition/partial_fc/mxnet/image_iter.py | 24 | CODE | |
| LOW | recognition/arcface_torch/dataset.py | 193 | CODE | |
| LOW | recognition/arcface_torch/backbones/vit.py | 75 | CODE | |
| LOW | recognition/arcface_torch/backbones/vit.py | 139 | CODE | |
| LOW | recognition/arcface_oneflow/oneflow2onnx.py | 21 | CODE | |
| LOW | …cognition/arcface_oneflow/utils/ofrecord_data_utils.py | 8 | CODE | |
| LOW | recognition/arcface_oneflow/utils/losses.py | 49 | CODE | |
| LOW | recognition/arcface_oneflow/eval/onnx_ijbc.py | 55 | CODE | |
| 72 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …ge/inspireface/tools/generate_error_tabel_to_python.py | 18 | # Define a function to parse the error codes between anchors in a given C header file content | COMMENT |
| MEDIUM⚡ | …ge/inspireface/tools/generate_error_tabel_to_python.py | 20 | # Define the start and end anchor tags | COMMENT |
| MEDIUM⚡ | cpp-package/inspireface/tools/output_error_table.py | 17 | # Define a function to parse the error codes between anchors in a given C header file content | COMMENT |
| MEDIUM⚡ | cpp-package/inspireface/tools/output_error_table.py | 19 | # Define the start and end anchor tags | COMMENT |
| MEDIUM | …/quick_test_linux_x86_usual_python_native_interface.sh | 9 | # Create the build directory if it doesn't exist | COMMENT |
| MEDIUM | …p-package/inspireface/ci/quick_test_linux_x86_usual.sh | 20 | # Create the build directory if it doesn't exist | COMMENT |
| MEDIUM⚡ | …p-package/inspireface/ci/quick_test_linux_x86_usual.sh | 43 | # Create a symbolic link to the extracted test data directory | COMMENT |
| MEDIUM | cpp-package/inspireface/ci/quick_test_local.sh | 36 | # Create the build directory if it doesn't exist | COMMENT |
| MEDIUM | cpp-package/inspireface/ci/quick_test_local.sh | 57 | # Create a symbolic link to the extracted test data directory | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build_android.sh | 6 | # Define the new main directories | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build_android.sh | 36 | # Create a specific directory for each architecture under the main directory | COMMENT |
| MEDIUM | …age/inspireface/command/build_android_rk356x_rk3588.sh | 6 | # Define the new main directories | COMMENT |
| MEDIUM | …age/inspireface/command/build_android_rk356x_rk3588.sh | 29 | # Create a specific directory for each architecture under the main directory | COMMENT |
| MEDIUM⚡ | cpp-package/inspireface/command/build_ios.sh | 32 | # Create the directory if it does not exist | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build_ios.sh | 121 | # Create the framework structure | COMMENT |
| MEDIUM⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 32 | # Create the directory if it does not exist | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build_ios_coreml.sh | 121 | # Create the framework structure | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build.sh | 72 | # Create the build directory and navigate into it | COMMENT |
| MEDIUM | cpp-package/inspireface/command/create_ios_framework.sh | 12 | # Create the framework structure | COMMENT |
| MEDIUM | detection/retinaface/rcnn/pycocotools/_mask.c | 2739 | * # Create a 1D array, and reshape it to fortran/Matlab column-major array | COMMENT |
| MEDIUM | detection/retinaface/rcnn/pycocotools/_mask.c | 2746 | * # Create a 1D array, and reshape it to fortran/Matlab column-major array | COMMENT |
| MEDIUM | detection/scrfd/mmdet/core/mask/structures.py | 201 | """This class represents masks in the form of bitmaps. | STRING |
| MEDIUM | detection/scrfd/mmdet/core/mask/structures.py | 480 | """This class represents masks in the form of polygons. | STRING |
| MEDIUM | …fd/mmdet/core/bbox/assigners/center_region_assigner.py | 311 | # The following codes deal with this situation | COMMENT |
| MEDIUM | …ction/scrfd/mmdet/core/bbox/assigners/assign_result.py | 142 | # Create an overlap for each predicted box | COMMENT |
| MEDIUM | detection/scrfd/mmdet/models/losses/focal_loss.py | 9 | # This method is only for debugging | COMMENT |
| MEDIUM | detection/scrfd/mmdet/ops/__init__.py | 1 | # This file is added for back-compatibility. Thus, downstream codebase | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 42 | Load image data from an OpenCV image (numpy ndarray). Args: image (np.ndarray): The image | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 343 | Detects faces in the given image and returns a list of FaceInformation objects containing detailed face data. | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 748 | Launches the InspireFace system with the specified resource directory. Args: model_name (str): the nam | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 1113 | Updates an existing face identity in the feature hub. Args: face_identity (FaceIdentity): The face ide | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 1133 | Removes a face identity from the feature hub using its custom ID. Args: custom_id (int): The custom ID | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 1153 | Retrieves a face identity from the feature hub using its custom ID. Args: custom_id (int): The custom | STRING |
| HIGH | reconstruction/ostec/utils/ganfit_camera.py | 124 | Applies batched 4x4 homogenous matrix transformations to 3-D vertices. The vertices are input and output as as row-maj | STRING |
| HIGH | detection/scrfd/mmdet/core/evaluation/eval_hooks.py | 13 | Evaluation hook. Notes: If new arguments are added for EvalHook, tools/test.py, tools/eval_metric.p | STRING |
| HIGH | detection/scrfd/mmdet/core/evaluation/eval_hooks.py | 176 | Distributed evaluation hook. Notes: If new arguments are added, tools/test.py may be effected. Attribu | STRING |
| HIGH | detection/scrfd/mmdet/core/export/pytorch2onnx.py | 89 | Prepare an example input image for ``generate_inputs_and_wrap_model``. Args: input_config (dict): customize | STRING |
| HIGH | detection/scrfd/mmdet/datasets/utils.py | 6 | Replace the ImageToTensor transform in a data pipeline to DefaultFormatBundle, which is normally useful in batch inf | STRING |
| HIGH | detection/scrfd/mmdet/models/backbones/resnet.py | 486 | Make plugins for ResNet ``stage_idx`` th stage. Currently we support to insert ``context_block``, ``emp | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | reconstruction/gaze/test_gaze.py | 162 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 163 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 164 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 165 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 167 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 168 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 169 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 170 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 171 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 172 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 173 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 174 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 175 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 178 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 179 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 180 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 181 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 330 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 331 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 334 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 336 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 339 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 340 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 343 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 347 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 348 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 351 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 352 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …kage/inspireface/tools/transform_similarity_testing.py | 95 | # Print the results | COMMENT |
| LOW | …kage/inspireface/tools/generate_release_models_info.py | 43 | # Output the result | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 764 | # Check if ModelScope is available when needed | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 792 | # Check if ModelScope is available when needed | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 813 | # Check if ModelScope is available when needed | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 57 | # Check if running under Rosetta 2 | COMMENT |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 169 | # Check if model exists and is complete | COMMENT |
| LOW⚡ | …spireface/python/inspireface/modules/utils/resource.py | 233 | # Check if model exists in ModelScope cache | COMMENT |
| LOW⚡ | …p-package/inspireface/ci/quick_test_linux_x86_usual.sh | 41 | # Check if the symbolic link or directory already exists | COMMENT |
| LOW⚡ | …p-package/inspireface/ci/quick_test_linux_x86_usual.sh | 50 | # Check if the test executable file exists | COMMENT |
| LOW | cpp-package/inspireface/ci/quick_test_local.sh | 13 | # Check if the target directory already exists | COMMENT |
| LOW | cpp-package/inspireface/ci/quick_test_local.sh | 60 | # Check if the test executable file exists | COMMENT |
| LOW | cpp-package/inspireface/command/build_android.sh | 9 | # Check if the base path exists | COMMENT |
| LOW | …age/inspireface/command/build_android_rk356x_rk3588.sh | 9 | # Check if the base path exists | COMMENT |
| LOW | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 39 | # Check if MNN-2.3.0 directory already exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 41 | # Check if the framework already exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 46 | # Check if the zip file already exists | COMMENT |
| LOW | …package/inspireface/command/download_models_general.sh | 42 | # Check if argument is provided | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 41 | # Check if the framework already exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 46 | # Check if the zip file already exists | COMMENT |
| LOW | cpp-package/inspireface/command/build_linux_tensorrt.sh | 61 | # Check if it is Ubuntu | COMMENT |
| LOW⚡ | python-package/setup.py | 123 | # Check if running on macOS (Darwin) | COMMENT |
| LOW⚡ | python-package/setup.py | 127 | # Check if Homebrew is installed | COMMENT |
| LOW⚡ | python-package/setup.py | 136 | # Check if LLVM is installed | COMMENT |
| LOW | reconstruction/ostec/utils/generate_heatmap.py | 60 | # Check if the gaussian is inside | COMMENT |
| LOW | …fd/mmdet/core/bbox/assigners/center_region_assigner.py | 318 | # Assign priority to each bbox-gt pair. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | python-package/tests/privateframe/test_cli.py | 540 | "!!set {one: null}", | CODE |
| HIGH | …ckage/insightface/app/privateframe/config_reference.py | 348 | "streaming": "Frame limits count video frames and time limits use seconds of source video. max_missed_seconds must b | CODE |
| HIGH | python-package/insightface/model_zoo/coreml_cache.py | 554 | exactly ``name``, ``dtype``, and ``shape``. Symbolic, null, zero, and | STRING |
| HIGH | server/tests/api/test_documentation_contract.py | 147 | assert '"status":"input_rejected","is_live":null,"live_score":null' in result["description"] | CODE |
| HIGH | server/backend/insightface_server/app.py | 652 | is_live=false) and unsuitable input (status=input_rejected, is_live=null, | STRING |
| HIGH | server/backend/insightface_server/app.py | 653 | live_score=null); neither is a detection error. An omitted liveness field | STRING |
| HIGH | server/backend/insightface_server/api/responses.py | 65 | Unsuitable input: {"status":"input_rejected","is_live":null,"live_score":null}. | STRING |
| HIGH | recognition/arcface_mxnet/parall_module_local_v1.py | 253 | self._distkv.push(key, value) | CODE |
| HIGH | recognition/subcenter_arcface/parall_module_local_v1.py | 253 | self._distkv.push(key, value) | CODE |
| HIGH | detection/retinaface/rcnn/pycocotools/coco.py | 18 | # captions not all functions are defined (e.g. categories are undefined). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …n/ostec/external/stylegan2/dnnlib/submission/submit.py | 99 | self.local = external.stylegan2.dnnlib.submission.internal.local.TargetOptions() | CODE |
| CRITICAL | …n/ostec/external/stylegan2/dnnlib/submission/submit.py | 315 | farm = external.stylegan2.dnnlib.submission.internal.local.Target() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …kage/insightface/app/privateframe/box_stabilization.py | 233 | """Return observations with robust zero-phase box stabilization applied. | STRING |
| LOW | alignment/heatmap/img_helper.py | 48 | # If not, just return the image as is | COMMENT |
| MEDIUM | …ion/ostec/external/stylegan2/dnnlib/tflib/optimizer.py | 46 | use_loss_scaling: bool = False, # Enable dynamic loss scaling for robust mix | CODE |
| MEDIUM | …tion/scrfd/mmdet/core/bbox/samplers/sampling_result.py | 131 | # sometimes algorithms squeeze their data, be robust to that | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …n-package/tests/gui/test_global_model_configuration.py | 485 | def run_task(self, title, fn, on_result=None, **_kwargs): | CODE |
| LOW | …n-package/tests/gui/test_global_model_configuration.py | 566 | def run_task(self, title, fn, on_result=None, **kwargs): | CODE |
| LOW | python-package/tests/gui/test_privateframe_page.py | 299 | def run_task( | CODE |
| LOW | python-package/insightface/gui/main_window.py | 751 | def run_task( | CODE |
| LOW⚡ | …ackage/insightface/gui/dialogs/model_manager_dialog.py | 56 | def run_task( | CODE |
| LOW | python-package/insightface/gui/pages/base.py | 101 | def run_task( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …-package/inspireface/python/sample_face_recognition.py | 15 | # If you need to switch from the default Pikachu model to another model like Megatron, you can use reload | COMMENT |
| MEDIUM | reconstruction/ostec/utils/generate_heatmap.py | 112 | #you can use [X,2] matrix | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ge/inspireface/cpp/inspireface/engine/face_session.cpp | 120 | // TODO: implement this function | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | detection/retinaface/rcnn/pycocotools/mask.py | 39 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python-package/tests/gui/test_storage.py | 62 | image_path.write_bytes(b"placeholder") | CODE |