State-of-the-art 2D and 3D Face Analysis Project
This report summarizes scanner evidence for deepinsight/insightface, a Python project with 30,100 GitHub stars. SynthScan examined 461,283 lines of code across 1985 source files, recording 6168 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 17.1 (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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 3242 finding(s).
Are imports declared and package/API names verified? 2028 finding(s).
Are wrappers, guards, and repeated structures necessary? 2901 finding(s).
Which changes need focused human review? 6168 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 6168 distinct pattern matches across 23 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/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 | …ackage/inspireface/python/sample_image_stream_guard.py | 236 | def run_format_and_buffer_cases(guard): | CODE |
| LOW | …nspireface/python/sample_system_resource_statistics.py | 7 | def case_show_system_resource_statistics(resource_path): | CODE |
| LOW | …e/inspireface/python/sample_resource_download_guard.py | 268 | def observe_complete_destination(): | CODE |
| LOW | cpp-package/inspireface/python/setup.py | 103 | 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 | …e/python/sample_testcase/test_similarity_and_errors.py | 21 | def test_cpp_similarity_converter_vectors(self): | CODE |
| LOW⚡ | …e/python/sample_testcase/test_similarity_and_errors.py | 61 | def test_unsupported_error_mapping_and_ir_session_contract(self): | CODE |
| LOW⚡ | …e/python/sample_testcase/test_similarity_and_errors.py | 70 | def test_feature_dtype_validation(self): | CODE |
| LOW⚡ | …e/python/sample_testcase/test_similarity_and_errors.py | 79 | def test_feature_shape_layout_and_finite_validation(self): | CODE |
| LOW | …e/python/sample_testcase/test_similarity_and_errors.py | 103 | def test_feature_hub_top_k_reports_disabled_hub(self): | CODE |
| LOW | …e/python/sample_testcase/test_similarity_and_errors.py | 116 | def test_session_rejects_invalid_image_and_pipeline_parameter(self): | CODE |
| LOW | …e/python/sample_testcase/test_similarity_and_errors.py | 126 | def test_cv_image_shape_validation(self): | CODE |
| LOW | …/inspireface/python/sample_testcase/test_face_track.py | 51 | def test_custom_parameter_exposes_cpp_face_pose_field(self): | CODE |
| LOW | …/inspireface/python/sample_testcase/test_face_track.py | 60 | def test_face_and_no_face_detection(self): | CODE |
| LOW | …/inspireface/python/sample_testcase/test_face_track.py | 74 | def test_rotated_detection_consistency(self): | CODE |
| LOW | …/inspireface/python/sample_testcase/test_face_track.py | 97 | def test_head_pose_signs_match_cpp_cases(self): | CODE |
| LOW | …/inspireface/python/sample_testcase/test_face_track.py | 114 | def test_landmark_shapes_and_values(self): | CODE |
| LOW | …/inspireface/python/sample_testcase/test_face_track.py | 128 | def test_light_track_id_stability(self): | CODE |
| LOW | …/inspireface/python/sample_testcase/test_face_track.py | 139 | def test_detection_pixel_levels_match_cpp_ranges(self): | CODE |
| LOW | …/inspireface/python/sample_testcase/test_face_track.py | 168 | def test_invalid_preview_level_is_clamped(self): | CODE |
| LOW | cpp-package/inspireface/python/sample_testcase/run.py | 78 | def native_library_destination(package_root): | CODE |
| LOW | …spireface/python/sample_testcase/test_image_process.py | 36 | def test_bgr_rotation_matches_cpp_fixtures(self): | CODE |
| LOW | …spireface/python/sample_testcase/test_image_process.py | 93 | def test_bitmap_create_copy_draw_and_write(self): | CODE |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 44 | def test_resource_pack_validation_is_side_effect_free_and_bounded(self): | CODE |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 64 | def test_owned_detection_snapshot_survives_python_resource_release(self): | CODE |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 111 | def test_launch_status_and_version(self): | CODE |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 169 | def test_global_lifecycle_in_isolated_process(self): | CODE |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 199 | def test_session_resource_registry(self): | STRING |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 218 | def test_session_context_and_temporary_streams_release_deterministically(self): | STRING |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 228 | def test_stream_resource_registry(self): | STRING |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 240 | def test_session_runtime_setters(self): | STRING |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 253 | def test_landmark_augmentation_setter_rejects_invalid_values(self): | STRING |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 265 | def test_shared_images_match_contiguous_references(self): | STRING |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 287 | def test_cv_bgra_inference_and_buffer_inputs(self): | STRING |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 325 | def test_gray_image_and_yuv_dimension_contract(self): | STRING |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 347 | def test_query_dma_heap_path_uses_owned_output_buffer(self): | STRING |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 351 | def test_source_lifetime_and_context_release(self): | STRING |
| LOW | …eface/python/sample_testcase/test_system_and_stream.py | 373 | def test_invalid_stream_contract(self): | STRING |
| LOW | …nspireface/python/sample_testcase/test_api_coverage.py | 84 | def test_public_api_manifest_is_current(self): | CODE |
| LOW | …nspireface/python/sample_testcase/test_api_coverage.py | 106 | def test_cpp_fixture_tree_is_shared(self): | CODE |
| LOW | …ace/python/sample_testcase/test_recognition_and_hub.py | 42 | def test_feature_extract_and_comparison(self): | CODE |
| LOW | …ace/python/sample_testcase/test_recognition_and_hub.py | 59 | def test_parallel_sessions_are_deterministic(self): | CODE |
| LOW | …ace/python/sample_testcase/test_recognition_and_hub.py | 83 | def test_manual_crud_search_and_top_k(self): | CODE |
| LOW | …ace/python/sample_testcase/test_recognition_and_hub.py | 123 | def test_face_identity_owns_feature_memory(self): | CODE |
| LOW | …ace/python/sample_testcase/test_recognition_and_hub.py | 129 | def test_auto_increment_allocates_unique_ids(self): | CODE |
| LOW | …ace/python/sample_testcase/test_recognition_and_hub.py | 164 | def test_persistent_mode_survives_reenable(self): | CODE |
| LOW | …ace/python/sample_testcase/test_recognition_and_hub.py | 193 | def test_parallel_search_is_stable(self): | CODE |
| LOW | …nspireface/python/sample_testcase/test_face_capture.py | 38 | def test_native_layout_defaults_and_python_constants_match(self): | CODE |
| LOW | …nspireface/python/sample_testcase/test_face_capture.py | 56 | def test_invalid_config_and_required_features_raise_typed_errors(self): | CODE |
| LOW | …nspireface/python/sample_testcase/test_face_capture.py | 81 | def test_track_count_gate_waits_for_fifth_frame_and_can_be_disabled(self): | CODE |
| LOW | …nspireface/python/sample_testcase/test_face_capture.py | 106 | def test_direct_update_selects_single_face_and_rejects_real_edge_images(self): | CODE |
| LOW | …nspireface/python/sample_testcase/test_face_capture.py | 133 | def test_snapshot_reuse_is_exact_and_capture_pins_released_parent_session(self): | CODE |
| LOW | …nspireface/python/sample_testcase/test_face_capture.py | 160 | def test_stability_order_finish_reset_and_copied_result_token_lifecycle(self): | CODE |
| LOW | …nspireface/python/sample_testcase/test_face_capture.py | 194 | def test_independent_instances_are_deterministic_and_snapshot_path_is_bounded(self): | CODE |
| 1810 more matches not shown… | ||||
| 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 | |
| 1953 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 | 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 |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_training.py | 139 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | reconstruction/ostec/external/stylegan2/run_training.py | 189 | #---------------------------------------------------------------------------- | STRING |
| 181 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 | cpp-package/inspireface/ci/windows/consumer/main.c | 1 | #include <inspireface.h> | COMMENT |
| LOW | cpp-package/inspireface/ci/windows/consumer/main.cpp | 1 | #include <inspireface/inspireface.hpp> | COMMENT |
| LOW | cpp-package/inspireface/cpp/test/apple/objc_contract.m | 1 | #import <InspireFace/InspireFaceApple.h> | 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 | …reface/cpp/test/unit/cpp_api/test_utility_contract.cpp | 1 | #include <algorithm> | COMMENT |
| LOW | …cpp/test/unit/cpp_api/test_performance_consistency.cpp | 1 | #include <algorithm> | COMMENT |
| LOW | …face/cpp/test/unit/cpp_api/test_session_face_track.cpp | 1 | /** | 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 | …eface/cpp/test/unit/api/test_face_capture_contract.cpp | 1 | #include <atomic> | COMMENT |
| LOW | …spireface/cpp/test/unit/api/test_c_api_v2_contract.cpp | 1 | #include <algorithm> | COMMENT |
| LOW | …p/test/unit/api/test_face_result_snapshot_contract.cpp | 1 | #include <algorithm> | COMMENT |
| LOW | …eface/cpp/test/unit/api/test_image_stream_contract.cpp | 1 | #include <array> | COMMENT |
| LOW | …_lifecycle/test_resource_pack_validation_lifecycle.cpp | 1 | #include <algorithm> | COMMENT |
| LOW | …kage/inspireface/cpp/inspireface/component_version.cpp | 1 | #include "include/inspireface/component_version.h" | 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 | …inspireface/middleware/model_archive/inspire_archive.h | 1 | /** | COMMENT |
| LOW | …dleware/model_archive/core_archive/microtar/microtar.c | 21 | */ | 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 |
| 553 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 | …nspireface/python/sample_testcase/test_face_capture.py | 160 | CODE | |
| LOW | …nspireface/python/sample_testcase/test_face_capture.py | 194 | CODE | |
| LOW | cpp-package/inspireface/python/test/test_utilis.py | 60 | CODE | |
| LOW | cpp-package/inspireface/python/test/test_utilis.py | 168 | CODE | |
| LOW | …kage/inspireface/python/inspireface/modules/capture.py | 431 | CODE | |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 344 | CODE | |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 217 | CODE | |
| LOW | cpp-package/inspireface/ci/apple/release_archive.py | 33 | CODE | |
| LOW | cpp-package/inspireface/ci/apple/release_archive.py | 75 | CODE | |
| LOW | cpp-package/inspireface/ci/pypi/run_published_smoke.py | 143 | CODE | |
| LOW | cpp-package/inspireface/ci/pypi/verify_inference.py | 81 | CODE | |
| LOW | cpp-package/inspireface/ci/harmony/package_sdk.py | 58 | CODE | |
| LOW | …ackage/inspireface/ci/windows/verify_pypi_inference.py | 21 | CODE | |
| LOW | cpp-package/inspireface/ci/windows/package_sdk.py | 26 | CODE | |
| LOW | …package/inspireface/ci/windows/verify_unicode_paths.py | 23 | CODE | |
| LOW | cpp-package/inspireface/ci/windows/verify_python_api.py | 80 | CODE | |
| LOW | …ce/cpp/inspireface/platform/jni/portable/verify_api.py | 43 | CODE | |
| LOW | …face/cpp/inspireface/platform/jni/portable/generate.py | 60 | CODE | |
| LOW | …kage/inspireface/command/apple/package_xcframeworks.py | 15 | CODE | |
| LOW | …kage/inspireface/command/apple/package_xcframeworks.py | 46 | CODE | |
| LOW | cpp-package/inspireface/command/apple/binary_info.py | 10 | CODE | |
| LOW | cpp-package/inspireface/command/apple/build_sdk.py | 43 | 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 | |
| 320 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 | …ackage/inspireface/python/sample_image_stream_guard.py | 65 | except Exception as error: | CODE |
| MEDIUM | …ackage/inspireface/python/sample_image_stream_guard.py | 60 | def expect_invalid(self, operation, message): | CODE |
| LOW | cpp-package/inspireface/python/read_nv21.py | 61 | except Exception as e: | CODE |
| LOW | …nspireface/python/sample_testcase/test_face_capture.py | 214 | except Exception as error: # pragma: no cover - asserted below | CODE |
| MEDIUM | …nspireface/python/sample_testcase/test_face_capture.py | 210 | def run(capture): | 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 | …kage/inspireface/python/inspireface/modules/capture.py | 359 | except Exception: | CODE |
| LOW | …kage/inspireface/python/inspireface/modules/capture.py | 398 | except Exception: | CODE |
| LOW | …kage/inspireface/python/inspireface/modules/capture.py | 561 | except Exception: | CODE |
| MEDIUM | …kage/inspireface/python/inspireface/modules/capture.py | 395 | def __del__(self): | CODE |
| MEDIUM | …kage/inspireface/python/inspireface/modules/capture.py | 558 | def __del__(self): | CODE |
| MEDIUM | …/inspireface/python/inspireface/modules/inspireface.py | 1178 | def __del__(self): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 450 | except Exception: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1181 | except Exception: | CODE |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 183 | except Exception as error: | CODE |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 280 | except Exception as error: | CODE |
| LOW | cpp-package/inspireface/ci/pypi/run_published_smoke.py | 189 | except Exception as error: | 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 |
| 144 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cpp-package/inspireface/python/inspireface/__init__.py | 14 | except OSError: | CODE |
| HIGH | …kage/inspireface/python/inspireface/modules/capture.py | 398 | except Exception: | CODE |
| HIGH | …kage/inspireface/python/inspireface/modules/capture.py | 561 | except Exception: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 450 | except Exception: | CODE |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 1181 | except Exception: | CODE |
| HIGH | …spireface/python/inspireface/modules/utils/resource.py | 88 | except FileNotFoundError: | 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 | 687 | # Step 1: Initialize the SDK globally (only needs to be called once per application) | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 19 | ////////////////// Step 1: Get detections ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 71 | ////////////////// Step 2: First association, with IoU ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 95 | ////////////////// Step 3: Second association, using low score dets ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 159 | ////////////////// Step 4: Init new stracks ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 168 | ////////////////// Step 5: Update state ////////////////// | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 21 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 21 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 21 | # 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 | 46 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 52 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 55 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 58 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 76 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 82 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 85 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 88 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 21 | # 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⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 21 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 21 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …e/inspireface/command/build_wheel_manylinux2014_x86.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …e/inspireface/command/build_wheel_manylinux2014_x86.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …e/inspireface/command/build_wheel_manylinux2014_x86.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …e/inspireface/command/build_wheel_manylinux2014_x86.sh | 21 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …pireface/command/build_wheel_manylinux_2_36_aarch64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …pireface/command/build_wheel_manylinux_2_36_aarch64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …pireface/command/build_wheel_manylinux_2_36_aarch64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …pireface/command/build_wheel_manylinux_2_36_aarch64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …ckage/inspireface/command/build_linux_manylinux2014.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …ckage/inspireface/command/build_linux_manylinux2014.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| 31 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 19 | ////////////////// Step 1: Get detections ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 71 | ////////////////// Step 2: First association, with IoU ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 95 | ////////////////// Step 3: Second association, using low score dets ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 159 | ////////////////// Step 4: Init new stracks ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 168 | ////////////////// Step 5: Update state ////////////////// | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 21 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 21 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 21 | # 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 | 46 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 52 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 55 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 58 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 76 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 82 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 85 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 88 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 21 | # 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⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 21 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 21 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …e/inspireface/command/build_wheel_manylinux2014_x86.sh | 9 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …e/inspireface/command/build_wheel_manylinux2014_x86.sh | 15 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …e/inspireface/command/build_wheel_manylinux2014_x86.sh | 18 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …e/inspireface/command/build_wheel_manylinux2014_x86.sh | 21 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …pireface/command/build_wheel_manylinux_2_36_aarch64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …pireface/command/build_wheel_manylinux_2_36_aarch64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …pireface/command/build_wheel_manylinux_2_36_aarch64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …pireface/command/build_wheel_manylinux_2_36_aarch64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …ckage/inspireface/command/build_linux_manylinux2014.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …ckage/inspireface/command/build_linux_manylinux2014.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …ckage/inspireface/command/build_linux_manylinux2014.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| 30 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 | 800 | def set_enable_track_cost_spend(self, enable: bool) -> None: | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 806 | def set_detection_confidence_threshold(self, threshold: float) -> None: | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 828 | def set_filter_minimum_face_pixel_size(self, min_size: int = 32) -> None: | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 834 | def set_track_mode_smooth_ratio(self, ratio: float = 0.025) -> None: | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 840 | def set_track_mode_num_smooth_cache_frame(self, num: int = 15) -> None: | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 846 | def set_track_model_detect_interval(self, num: int = 20) -> None: | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 852 | def set_landmark_augmentation_num(self, num: int = 1) -> None: | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 858 | def set_track_lost_recovery_mode(self, value: bool = False) -> None: | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 2020 | def set_expansive_hardware_rockchip_dma_heap_path(path: str) -> None: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 817 | def set_track_preview_size(self, size: int = 192) -> None: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1850 | def set_similarity_converter_config(cfg: Dict[str, float]) -> None: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1988 | def set_logging_level(level: int) -> None: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 2047 | def set_cuda_device_id(device_id: int) -> None: | CODE |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 68 | def set_use_oss_download(use_oss: bool) -> 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 |
| 122 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ckage/inspireface/ci/pypi/tests/test_prepare_wheels.py | 37 | CODE | |
| 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 | |
| 73 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 | 17 | # 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 | …age/inspireface/command/build_android_rk356x_rk3588.sh | 7 | # Define the new main directories | COMMENT |
| MEDIUM | …age/inspireface/command/build_android_rk356x_rk3588.sh | 30 | # Create a specific directory for each architecture under the main directory | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build.sh | 72 | # Create the build directory and navigate into it | 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 | 150 | Load image data from an OpenCV image (numpy ndarray). Args: image (np.ndarray): The image | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 683 | 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 | 1284 | Launches the InspireFace system with the specified resource directory. Args: model_name (str): the nam | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 1722 | Updates an existing face identity in the feature hub. Args: face_identity (FaceIdentity): The face ide | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 1740 | 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 | 1759 | 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 |
|---|---|---|---|---|
| HIGH | …p-package/inspireface/cpp/test/apple/verify_install.py | 92 | objc.write_text('@import InspireFace;\nint main() { @autoreleasepool { NSError *error = nil; IFImageStream *s = [[IFImag | CODE |
| HIGH | …face/cpp/inspireface/platform/jni/portable/generate.py | 224 | f' if (!value || std::strcmp(value, "{abi}") != 0)', | CODE |
| 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 |
|---|---|---|---|---|
| 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 | 1300 | # Check if ModelScope is available when needed | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1331 | # Check if ModelScope is available when needed | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1353 | # Check if ModelScope is available when needed | 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 | …age/inspireface/command/build_android_rk356x_rk3588.sh | 10 | # Check if the base path exists | COMMENT |
| LOW | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 40 | # Check if MNN-2.3.0 directory already exists | COMMENT |
| LOW | …package/inspireface/command/download_models_general.sh | 49 | # Check if argument is provided | COMMENT |
| LOW | cpp-package/inspireface/command/build_linux_tensorrt.sh | 62 | # 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 |
|---|---|---|---|---|
| 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 | …ckage/inspireface/python/sample_python_api_testcase.py | 2 | """Convenience entry point for the comprehensive Python API sample suite.""" | STRING |
| MEDIUM | cpp-package/inspireface/python/sample_testcase/run.py | 1 | """Runner for the comprehensive InspireFace Python API sample testcase suite.""" | STRING |
| 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 | 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 |