State-of-the-art 2D and 3D Face Analysis Project
This report presents the forensic synthetic code analysis of deepinsight/insightface, a Python project with 29,389 GitHub stars. SynthScan v2.0 examined 345,966 lines of code across 1654 source files, recording 4296 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 17.2 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 4296 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 | |
| 1724 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | web-demos/src_recognition/scrfd.py | 0 | decode distance prediction to bounding box. args: points (tensor): shape (n, 2), [x, y]. distance (tensor): distance fro | STRING |
| HIGH | python-package/insightface/model_zoo/retinaface.py | 0 | decode distance prediction to bounding box. args: points (tensor): shape (n, 2), [x, y]. distance (tensor): distance fro | STRING |
| HIGH | python-package/insightface/model_zoo/scrfd.py | 0 | decode distance prediction to bounding box. args: points (tensor): shape (n, 2), [x, y]. distance (tensor): distance fro | STRING |
| HIGH | detection/scrfd/tools/scrfd.py | 0 | decode distance prediction to bounding box. args: points (tensor): shape (n, 2), [x, y]. distance (tensor): distance fro | STRING |
| HIGH | detection/scrfd/mmdet/core/bbox/transforms.py | 0 | decode distance prediction to bounding box. args: points (tensor): shape (n, 2), [x, y]. distance (tensor): distance fro | STRING |
| HIGH | python-package/insightface/utils/transform.py | 0 | using least-squares solution args: x: [n, 3]. 3d points(fixed) y: [n, 3]. corresponding 3d points(moving). y = px return | STRING |
| HIGH | …ackage/insightface/thirdparty/face3d/mesh/transform.py | 0 | using least-squares solution args: x: [n, 3]. 3d points(fixed) y: [n, 3]. corresponding 3d points(moving). y = px return | STRING |
| HIGH | …/insightface/thirdparty/face3d/mesh_numpy/transform.py | 0 | using least-squares solution args: x: [n, 3]. 3d points(fixed) y: [n, 3]. corresponding 3d points(moving). y = px return | STRING |
| HIGH | python-package/insightface/utils/transform.py | 0 | decompositing camera matrix p args: p: (3, 4). affine camera matrix. returns: s: scale factor. r: (3, 3). rotation matri | STRING |
| HIGH | …ackage/insightface/thirdparty/face3d/mesh/transform.py | 0 | decompositing camera matrix p args: p: (3, 4). affine camera matrix. returns: s: scale factor. r: (3, 3). rotation matri | STRING |
| HIGH | …/insightface/thirdparty/face3d/mesh_numpy/transform.py | 0 | decompositing camera matrix p args: p: (3, 4). affine camera matrix. returns: s: scale factor. r: (3, 3). rotation matri | STRING |
| HIGH | reconstruction/ostec/utils/ganfit_camera.py | 0 | decompositing camera matrix p args: p: (3, 4). affine camera matrix. returns: s: scale factor. r: (3, 3). rotation matri | STRING |
| HIGH | python-package/insightface/utils/transform.py | 0 | get three euler angles from rotation matrix args: r: (3,3). rotation matrix returns: x: pitch y: yaw z: roll | STRING |
| HIGH | …ackage/insightface/thirdparty/face3d/mesh/transform.py | 0 | get three euler angles from rotation matrix args: r: (3,3). rotation matrix returns: x: pitch y: yaw z: roll | STRING |
| HIGH | …/insightface/thirdparty/face3d/mesh_numpy/transform.py | 0 | get three euler angles from rotation matrix args: r: (3,3). rotation matrix returns: x: pitch y: yaw z: roll | STRING |
| HIGH | reconstruction/ostec/utils/ganfit_camera.py | 0 | get three euler angles from rotation matrix args: r: (3,3). rotation matrix returns: x: pitch y: yaw z: roll | STRING |
| HIGH | …ackage/insightface/thirdparty/face3d/mesh/transform.py | 0 | checks if a matrix is a valid rotation matrix(whether orthogonal or not) | STRING |
| HIGH | …/insightface/thirdparty/face3d/mesh_numpy/transform.py | 0 | checks if a matrix is a valid rotation matrix(whether orthogonal or not) | STRING |
| HIGH | reconstruction/ostec/utils/ganfit_camera.py | 0 | checks if a matrix is a valid rotation matrix(whether orthogonal or not) | STRING |
| HIGH | recognition/arcface_mxnet/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/arcface_mxnet/common/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/partial_fc/mxnet/evaluation/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/partial_fc/mxnet/evaluation/lfw.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/arcface_torch/eval/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/arcface_oneflow/eval/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/subcenter_arcface/common/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/vpl/eval/verification.py | 0 | helper for evaluation on the labeled faces in the wild dataset | STRING |
| HIGH | recognition/arcface_mxnet/parall_module_local_v1.py | 0 | a convenient function that calls both ``forward`` and ``backward``. | STRING |
| HIGH | recognition/partial_fc/mxnet/memory_module.py | 0 | a convenient function that calls both ``forward`` and ``backward``. | STRING |
| HIGH | recognition/subcenter_arcface/parall_module_local_v1.py | 0 | a convenient function that calls both ``forward`` and ``backward``. | STRING |
| HIGH | recognition/arcface_mxnet/image_iter.py | 0 | decodes a string or byte string to an ndarray. see mx.img.imdecode for more details. | STRING |
| HIGH | recognition/arcface_mxnet/triplet_image_iter.py | 0 | decodes a string or byte string to an ndarray. see mx.img.imdecode for more details. | STRING |
| HIGH | recognition/partial_fc/mxnet/image_iter.py | 0 | decodes a string or byte string to an ndarray. see mx.img.imdecode for more details. | STRING |
| HIGH | recognition/subcenter_arcface/image_iter.py | 0 | decodes a string or byte string to an ndarray. see mx.img.imdecode for more details. | STRING |
| HIGH | recognition/arcface_mxnet/image_iter.py | 0 | reads an input image `fname` and returns the decoded raw bytes. example usage: ---------- >>> dataiter.read_image('face. | STRING |
| HIGH | recognition/arcface_mxnet/triplet_image_iter.py | 0 | reads an input image `fname` and returns the decoded raw bytes. example usage: ---------- >>> dataiter.read_image('face. | STRING |
| HIGH | recognition/partial_fc/mxnet/image_iter.py | 0 | reads an input image `fname` and returns the decoded raw bytes. example usage: ---------- >>> dataiter.read_image('face. | STRING |
| HIGH | recognition/subcenter_arcface/image_iter.py | 0 | reads an input image `fname` and returns the decoded raw bytes. example usage: ---------- >>> dataiter.read_image('face. | STRING |
| HIGH | recognition/arcface_mxnet/image_iter.py | 0 | final postprocessing step before image is loaded into the batch. | STRING |
| HIGH | recognition/arcface_mxnet/triplet_image_iter.py | 0 | final postprocessing step before image is loaded into the batch. | STRING |
| HIGH | recognition/partial_fc/mxnet/image_iter.py | 0 | final postprocessing step before image is loaded into the batch. | STRING |
| HIGH | recognition/subcenter_arcface/image_iter.py | 0 | final postprocessing step before image is loaded into the batch. | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger.py | 0 | memory allocation planner with a given threshold. the user can pass in a network configuration, a threshold that limits | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger_v2.py | 0 | memory allocation planner with a given threshold. the user can pass in a network configuration, a threshold that limits | STRING |
| HIGH | recognition/partial_fc/mxnet/symbol/memonger.py | 0 | memory allocation planner with a given threshold. the user can pass in a network configuration, a threshold that limits | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger.py | 0 | memory allocation planner with a given threshold. the user can pass in a network configuration, a threshold that limits | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger_v2.py | 0 | memory allocation planner with a given threshold. the user can pass in a network configuration, a threshold that limits | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger.py | 0 | get the cost of the current symbolic plan by running bind on cpu. sym : symbolic variable | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger_v2.py | 0 | get the cost of the current symbolic plan by running bind on cpu. sym : symbolic variable | STRING |
| HIGH | recognition/partial_fc/mxnet/symbol/memonger.py | 0 | get the cost of the current symbolic plan by running bind on cpu. sym : symbolic variable | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger.py | 0 | get the cost of the current symbolic plan by running bind on cpu. sym : symbolic variable | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger_v2.py | 0 | get the cost of the current symbolic plan by running bind on cpu. sym : symbolic variable | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger.py | 0 | quickly heurestic search over possible plans to find good memory plan. parameters ---------- sym : symbolic symbolic con | STRING |
| HIGH | recognition/arcface_mxnet/symbol/memonger_v2.py | 0 | quickly heurestic search over possible plans to find good memory plan. parameters ---------- sym : symbolic symbolic con | STRING |
| HIGH | recognition/partial_fc/mxnet/symbol/memonger.py | 0 | quickly heurestic search over possible plans to find good memory plan. parameters ---------- sym : symbolic symbolic con | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger.py | 0 | quickly heurestic search over possible plans to find good memory plan. parameters ---------- sym : symbolic symbolic con | STRING |
| HIGH | recognition/subcenter_arcface/symbol/memonger_v2.py | 0 | quickly heurestic search over possible plans to find good memory plan. parameters ---------- sym : symbolic symbolic con | STRING |
| HIGH | recognition/arcface_mxnet/symbol/symbol_utils.py | 0 | return resnext unit symbol for building resnext parameters ---------- data : str input data num_filter : int number of o | STRING |
| HIGH | recognition/arcface_mxnet/symbol/fresnet.py | 0 | return resnext unit symbol for building resnext parameters ---------- data : str input data num_filter : int number of o | STRING |
| HIGH | recognition/partial_fc/mxnet/symbol/symbol_utils.py | 0 | return resnext unit symbol for building resnext parameters ---------- data : str input data num_filter : int number of o | STRING |
| 139 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/inspireface/python/inspireface/modules/core/native.py | 529 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/inspireface/python/inspireface/modules/core/native.py | 561 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | alignment/synthetics/trainer_synthetics.py | 78 | # ------------ | COMMENT |
| MEDIUM | alignment/synthetics/trainer_synthetics.py | 80 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 98 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 100 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 107 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 109 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 115 | # ------------ | COMMENT |
| MEDIUM⚡ | alignment/synthetics/trainer_synthetics.py | 117 | # ------------ | COMMENT |
| MEDIUM⚡ | reconstruction/ostec/external/stylegan2/dataset_tool.py | 24 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | reconstruction/ostec/external/stylegan2/dataset_tool.py | 30 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 103 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 110 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 128 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 190 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 216 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 243 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 286 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 310 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 327 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 354 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 376 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 403 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 436 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 481 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 500 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 528 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 543 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 639 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/dataset_tool.py | 644 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_metrics.py | 18 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_metrics.py | 29 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_metrics.py | 41 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_metrics.py | 81 | #---------------------------------------------------------------------------- | STRING |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_metrics.py | 86 | #---------------------------------------------------------------------------- | STRING |
| MEDIUM | …uction/ostec/external/stylegan2/pretrained_networks.py | 13 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …uction/ostec/external/stylegan2/pretrained_networks.py | 55 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …uction/ostec/external/stylegan2/pretrained_networks.py | 60 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …uction/ostec/external/stylegan2/pretrained_networks.py | 80 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/projector.py | 14 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/projector.py | 206 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 17 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 38 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 91 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 103 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 120 | #---------------------------------------------------------------------------- | STRING |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 168 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_generator.py | 173 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 19 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 32 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 53 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 71 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 83 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 95 | #---------------------------------------------------------------------------- | STRING |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 143 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …construction/ostec/external/stylegan2/run_projector.py | 148 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_training.py | 17 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_training.py | 34 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | reconstruction/ostec/external/stylegan2/run_training.py | 122 | #---------------------------------------------------------------------------- | COMMENT |
| 183 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/onnx2caffe/onnx2caffe/_error_utils.py | 40 | def unsupported_op_configuration(self, | CODE |
| LOW⚡ | …ge/inspireface/tools/generate_error_tabel_to_python.py | 6 | def calculate_error_code_value(error_code_str, error_definitions): | CODE |
| LOW⚡ | …ge/inspireface/tools/generate_error_tabel_to_python.py | 19 | def parse_and_calculate_error_codes(header_content): | CODE |
| LOW⚡ | cpp-package/inspireface/tools/output_error_table.py | 5 | def calculate_error_code_value(error_code_str, error_definitions): | CODE |
| LOW⚡ | cpp-package/inspireface/tools/output_error_table.py | 18 | def parse_and_calculate_error_codes(header_content): | CODE |
| LOW | …age/inspireface/python/sample_face_track_from_video.py | 40 | def case_face_tracker_from_video(source, show, out): | CODE |
| LOW | …nspireface/python/sample_system_resource_statistics.py | 7 | def case_show_system_resource_statistics(resource_path): | CODE |
| LOW | cpp-package/inspireface/python/setup.py | 96 | def get_target_platform_for_envs(): | CODE |
| LOW | cpp-package/inspireface/python/sample_face_detection.py | 17 | def case_face_detection_image(image_path, show): | CODE |
| LOW | cpp-package/inspireface/python/test/test_utilis.py | 95 | def read_binary_file_to_ndarray(file_path, width, height): | CODE |
| LOW | …ge/inspireface/python/test/unit/test_tracker_module.py | 19 | def test_face_detection_from_image(self): | CODE |
| LOW⚡ | …ge/inspireface/python/test/unit/test_tracker_module.py | 107 | def test_benchmark_face_detect(self): | CODE |
| LOW⚡ | …ge/inspireface/python/test/unit/test_tracker_module.py | 113 | def test_benchmark_face_track(self): | CODE |
| LOW⚡ | …ge/inspireface/python/test/unit/test_tracker_module.py | 119 | def test_benchmark_face_track_video(self): | CODE |
| LOW | …nspireface/python/test/unit/test_recognition_module.py | 20 | def test_face_feature_extraction(self): | CODE |
| LOW | …nspireface/python/test/unit/test_recognition_module.py | 207 | def test_benchmark_feature_extract(self): | CODE |
| LOW | …ge/inspireface/python/inspireface/modules/exception.py | 216 | def validate_session_initialized(session, operation: str = "Session operation"): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 463 | def set_filter_minimum_face_pixel_size(self, min_size=32): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 469 | def set_track_mode_smooth_ratio(self, ratio=0.025): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 475 | def set_track_mode_num_smooth_cache_frame(self, num=15): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 481 | def set_track_model_detect_interval(self, num=20): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 487 | def set_landmark_augmentation_num(self, num=1): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 493 | def set_track_lost_recovery_mode(self, value=False): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 1287 | def show_system_resource_statistics(): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 1293 | def switch_apple_coreml_inference_mode(mode: int): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 1303 | def set_expansive_hardware_rockchip_dma_heap_path(path: str): | CODE |
| LOW⚡ | …/inspireface/python/inspireface/modules/inspireface.py | 1310 | def query_expansive_hardware_rockchip_dma_heap_path() -> str: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 22 | def ignore_check_latest_model(ignore: bool): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 435 | def set_enable_track_cost_spend(self, enable: bool): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 441 | def set_detection_confidence_threshold(self, threshold: float): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 572 | def _get_processing_function_and_param(exec_param): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 594 | def _update_face_interact_confidence(self, exec_param, flag, extends): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 619 | def _update_face_emotion_confidence(self, exec_param, flag, extends): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 631 | def _update_rgb_liveness_confidence(self, exec_param, flag, extends: List[FaceExtended]): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 643 | def _update_face_attribute_confidence(self, exec_param, flag, extends: List[FaceExtended]): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 657 | def _update_face_quality_confidence(self, exec_param, flag, extends: List[FaceExtended]): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 669 | def _get_faces_boundary_boxes(self) -> List: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 716 | def _check_modelscope_availability(): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 857 | def switch_image_processing_backend(backend: int): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 863 | def set_image_process_aligned_width(width: int): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1022 | def feature_hub_set_search_threshold(threshold: float): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1088 | def feature_hub_face_search_top_k(data: np.ndarray, top_k: int) -> List[Tuple]: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1152 | def feature_hub_get_face_identity(custom_id: int): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1172 | def feature_hub_get_face_count() -> int: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1189 | def feature_hub_get_face_id_list() -> List[int]: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1213 | def get_recommended_cosine_threshold() -> float: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1221 | def get_similarity_converter_config() -> dict: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1238 | def set_similarity_converter_config(cfg: dict): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1250 | def cosine_similarity_convert_to_percentage(similarity: float) -> float: | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1351 | def check_cuda_device_support() -> bool: | CODE |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 108 | def _download_from_modelscope(self, model_name: str) -> str: | CODE |
| LOW⚡ | …spireface/python/inspireface/modules/utils/resource.py | 223 | def _download_from_modelscope_with_cache(self, name: str, re_download: bool = False) -> str: | CODE |
| LOW | python-package/tests/gui/test_gui_smoke.py | 251 | def test_album_clustering_does_not_match_people_library(tmp_path): | CODE |
| LOW | python-package/tests/gui/test_navigation.py | 7 | def test_navigation_modes_do_not_include_global_sidebar_items(): | CODE |
| LOW⚡ | python-package/tests/gui/test_navigation.py | 19 | def test_face_verification_mode_is_focused(): | CODE |
| LOW⚡ | python-package/tests/gui/test_navigation.py | 28 | def test_face_swap_mode_is_single_workspace(): | CODE |
| LOW⚡ | python-package/tests/gui/test_navigation.py | 36 | def test_album_mode_is_single_workspace(): | CODE |
| LOW⚡ | python-package/tests/gui/test_navigation.py | 44 | def test_enterprise_mode_is_single_evaluation_workspace(): | CODE |
| LOW | python-package/tests/gui/test_navigation.py | 65 | def test_default_detection_size_is_auto(tmp_path): | CODE |
| LOW | python-package/tests/gui/test_navigation.py | 88 | def test_qt_plugin_paths_are_configured(monkeypatch): | CODE |
| 449 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 201 | graph.channel_dims[output_name] = shape[1] | COMMENT |
| LOW | tools/onnx2caffe/onnx2caffe/_operators.py | 441 | stride_h=strides[0],stride_w = strides[1], | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 521 | _libs = {} | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 541 | # notice, this list of conditions and the following disclaimer in | COMMENT |
| LOW | …-package/inspireface/cpp/test/settings/test_settings.h | 1 | /** | COMMENT |
| LOW | …-package/inspireface/cpp/test/settings/test_settings.h | 21 | COMMENT | |
| LOW | …-package/inspireface/cpp/test/settings/test_settings.h | 41 | COMMENT | |
| LOW | …p-package/inspireface/cpp/test/unit/test_helper/help.h | 1 | #include "test_tools.h" | COMMENT |
| LOW | …kage/inspireface/cpp/test/unit/test_helper/test_help.h | 1 | /** | COMMENT |
| LOW | cpp-package/inspireface/cpp/inspireface/cost_time.h | 1 | #ifndef COST_TIME_HPP | COMMENT |
| LOW | …package/inspireface/cpp/inspireface/middleware/utils.h | 1 | COMMENT | |
| LOW | …ckage/inspireface/cpp/inspireface/middleware/timer.cpp | 1 | #include "spend_timer.h" | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/any_net_adapter.h | 1 | /** | COMMENT |
| LOW | …ackage/inspireface/cpp/inspireface/middleware/system.h | 1 | #ifndef INSPIRE_FACE_SYSTEM_H | COMMENT |
| LOW | …middleware/inference_wrapper/inference_wrapper_mnn.cpp | 1 | #include <cstdint> | COMMENT |
| LOW | …e/inference_wrapper/inference_wrapper_rknn_adapter.cpp | 1 | /** | COMMENT |
| LOW | …iddleware/inference_wrapper/inference_wrapper_coreml.h | 1 | #ifndef INFERENCE_WRAPPER_COREML_ | COMMENT |
| LOW | …dleware/inference_wrapper/inference_wrapper_tensorrt.h | 1 | #ifndef INFERENCE_WRAPPER_COREML_ | COMMENT |
| LOW | …ace/middleware/inference_wrapper/inference_wrapper.cpp | 1 | #include <cstdint> | COMMENT |
| LOW | …ace/middleware/inference_wrapper/inference_wrapper.cpp | 21 | #include "inference_wrapper_rknn_adapter_nano.h" | COMMENT |
| LOW | …/middleware/inference_wrapper/inference_wrapper_rknn.h | 1 | /** | COMMENT |
| LOW | …are/inference_wrapper/inference_wrapper_rknn_adapter.h | 1 | /** | COMMENT |
| LOW | …e/middleware/inference_wrapper/inference_wrapper_mnn.h | 1 | #ifndef INFERENCE_WRAPPER_MNN_ | COMMENT |
| LOW | …nference_wrapper/inference_wrapper_rknn_adapter_nano.h | 1 | /** | COMMENT |
| LOW | …eware/inference_wrapper/inference_wrapper_tensorrt.cpp | 1 | #if INFERENCE_WRAPPER_ENABLE_TENSORRT | COMMENT |
| LOW | …erence_wrapper/inference_wrapper_rknn_adapter_nano.cpp | 1 | /** | COMMENT |
| LOW | …iddleware/inference_wrapper/inference_wrapper_rknn.cpp | 1 | /** | COMMENT |
| LOW | …e/middleware/inference_wrapper/inference_wrapper_log.h | 1 | #ifndef INFERENCE_WRAPPER_LOG_ | COMMENT |
| LOW | …dleware/inference_wrapper/inference_wrapper_coreml.cpp | 1 | #ifdef INFERENCE_WRAPPER_ENABLE_COREML | COMMENT |
| LOW | …leware/inference_wrapper/tensorrt/tensorrt_adapter.cpp | 1 | /** | COMMENT |
| LOW | …eware/inference_wrapper/customized/rknn_adapter_nano.h | 1 | // | COMMENT |
| LOW | …iddleware/inference_adapter/mnn_cv_adapter_inference.h | 1 | #ifndef MNN_SIMPLE_INFER_H | COMMENT |
| LOW | …e/middleware/model_archive/core_archive/core_archive.h | 61 | #endif // MODELLOADERTAR_CPP_MICROTAR_H | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 41 | COMMENT | |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 61 | COMMENT | |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 201 | #if defined(JSON_HEDLEY_STRINGIFY_EX) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 221 | #if defined(JSON_HEDLEY_CONCAT3_EX) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 241 | #if defined(JSON_HEDLEY_VERSION_DECODE_MINOR) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 261 | #undef JSON_HEDLEY_GNUC_VERSION_CHECK | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 281 | #undef JSON_HEDLEY_MSVC_VERSION_CHECK | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 301 | COMMENT | |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 321 | #if defined(JSON_HEDLEY_INTEL_CL_VERSION) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 341 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 361 | #else | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 381 | #if defined(JSON_HEDLEY_ARM_VERSION) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 401 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 421 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 441 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 461 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 481 | COMMENT | |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 501 | #if defined(JSON_HEDLEY_TI_CL6X_VERSION) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 521 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 541 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 561 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 581 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 601 | COMMENT | |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 621 | #if defined(JSON_HEDLEY_COMPCERT_VERSION) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 641 | #endif | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 681 | #if defined(JSON_HEDLEY_GCC_VERSION_CHECK) | COMMENT |
| LOW | …spireface/cpp/inspireface/middleware/nlohmann/json.hpp | 701 | #endif | COMMENT |
| 502 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/onnx2caffe/MyCaffe.py | 21 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 27 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_graph.py | 168 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 25 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 250 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 310 | CODE | |
| LOW | tools/onnx2caffe/onnx2caffe/_transformers.py | 454 | CODE | |
| LOW | web-demos/src_recognition/scrfd.py | 83 | CODE | |
| LOW | challenges/iccv21-mfr/onnx_helper.py | 21 | CODE | |
| LOW | challenges/iccv19-lfr/gen_video_feature.py | 86 | CODE | |
| LOW | cpp-package/inspireface/python/read_nv21.py | 7 | CODE | |
| LOW | cpp-package/inspireface/python/setup.py | 62 | CODE | |
| LOW | cpp-package/inspireface/python/test/test_utilis.py | 60 | CODE | |
| LOW | cpp-package/inspireface/python/test/test_utilis.py | 168 | CODE | |
| LOW | …ge/inspireface/python/inspireface/modules/exception.py | 115 | CODE | |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 13 | CODE | |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 427 | CODE | |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 788 | CODE | |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 810 | CODE | |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 141 | CODE | |
| LOW | python-package/insightface/app/face_analysis.py | 42 | CODE | |
| LOW | python-package/insightface/app/face_analysis.py | 98 | CODE | |
| LOW | python-package/insightface/utils/download.py | 36 | CODE | |
| LOW | python-package/insightface/model_zoo/retinaface.py | 87 | CODE | |
| LOW | python-package/insightface/model_zoo/model_zoo.py | 39 | CODE | |
| LOW | python-package/insightface/model_zoo/scrfd.py | 91 | CODE | |
| LOW | python-package/insightface/model_zoo/scrfd.py | 320 | CODE | |
| LOW | python-package/insightface/gui/main_window.py | 450 | CODE | |
| LOW | python-package/insightface/gui/app.py | 89 | CODE | |
| LOW | python-package/insightface/gui/core/clustering.py | 25 | CODE | |
| LOW | python-package/insightface/gui/core/evaluation.py | 264 | CODE | |
| LOW | python-package/insightface/gui/core/evaluation.py | 309 | CODE | |
| LOW | python-package/insightface/gui/core/evaluation.py | 380 | CODE | |
| LOW | python-package/insightface/gui/core/evaluation.py | 1065 | CODE | |
| LOW | python-package/insightface/gui/core/face_engine.py | 66 | CODE | |
| LOW | python-package/insightface/gui/core/face_engine.py | 196 | CODE | |
| LOW | python-package/insightface/gui/core/face_engine.py | 219 | CODE | |
| LOW | python-package/insightface/gui/core/storage.py | 537 | CODE | |
| LOW | python-package/insightface/gui/core/storage.py | 704 | CODE | |
| LOW | python-package/insightface/gui/core/i18n.py | 160 | CODE | |
| LOW | python-package/insightface/gui/core/model_downloads.py | 254 | CODE | |
| LOW | python-package/insightface/gui/core/reporting.py | 441 | CODE | |
| LOW | …hon-package/insightface/gui/pages/verification_page.py | 542 | CODE | |
| LOW | …hon-package/insightface/gui/pages/verification_page.py | 573 | CODE | |
| LOW | python-package/insightface/gui/pages/album_page.py | 518 | CODE | |
| LOW | python-package/insightface/gui/pages/album_page.py | 555 | CODE | |
| LOW | python-package/insightface/gui/pages/face_swap_page.py | 230 | CODE | |
| LOW | …n-package/insightface/gui/pages/people_library_page.py | 261 | CODE | |
| LOW | …thon-package/insightface/gui/pages/face_search_page.py | 75 | CODE | |
| LOW | …thon-package/insightface/gui/pages/face_search_page.py | 93 | CODE | |
| LOW | …n-package/insightface/gui/pages/model_download_page.py | 150 | CODE | |
| LOW | …hon-package/insightface/gui/pages/video_search_page.py | 59 | CODE | |
| LOW | …hon-package/insightface/gui/pages/video_search_page.py | 72 | CODE | |
| LOW | …age/insightface/thirdparty/face3d/mesh_numpy/render.py | 100 | CODE | |
| LOW | …age/insightface/thirdparty/face3d/mesh_numpy/render.py | 177 | CODE | |
| LOW | …age/insightface/thirdparty/face3d/mesh_numpy/render.py | 220 | CODE | |
| LOW | server/backend/insightface_server/models/packages.py | 277 | CODE | |
| LOW | server/backend/insightface_server/models/packages.py | 366 | CODE | |
| LOW | server/backend/insightface_server/storage/database.py | 52 | CODE | |
| LOW | server/backend/insightface_server/storage/repository.py | 378 | CODE | |
| 228 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cpp-package/inspireface/README.md | 573 | # Step 1: Initialize the SDK globally (only needs to be called once per application) | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 18 | ////////////////// Step 1: Get detections ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 65 | ////////////////// Step 2: First association, with IoU ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 89 | ////////////////// Step 3: Second association, using low score dets ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 153 | ////////////////// Step 4: Init new stracks ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 162 | ////////////////// Step 5: Update state ////////////////// | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 93 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 99 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 102 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 105 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 75 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 81 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 84 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 87 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| 55 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 18 | ////////////////// Step 1: Get detections ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 65 | ////////////////// Step 2: First association, with IoU ////////////////// | COMMENT |
| LOW | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 89 | ////////////////// Step 3: Second association, using low score dets ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 153 | ////////////////// Step 4: Init new stracks ////////////////// | COMMENT |
| LOW⚡ | …rack_module/tracker_optional/bytetrack/BYTETracker.cpp | 162 | ////////////////// Step 5: Update state ////////////////// | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …/inspireface/command/build_cross_rv1109rv1126_armhf.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …spireface/command/build_wheel_manylinux2014_aarch64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_arm64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_ubuntu18.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda_dev.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 93 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 99 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 102 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_android.sh | 105 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 75 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 81 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 84 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …age/inspireface/command/build_android_rk356x_rk3588.sh | 87 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_linux_cuda.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_macos_x86.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …p-package/inspireface/command/build_wheel_macos_x86.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| LOW⚡ | …package/inspireface/command/build_wheel_macos_arm64.sh | 20 | # Step 4: Remove the empty 'install' directory | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 8 | # Step 1: Check if the 'install' directory exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 14 | # Step 2: Delete all other files/folders except 'install' | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 17 | # Step 3: Move all files from 'install' to the root directory | COMMENT |
| 54 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ge/inspireface/tools/generate_error_tabel_to_python.py | 14 | except Exception as e: | CODE |
| MEDIUM | …ge/inspireface/tools/generate_error_tabel_to_python.py | 6 | def calculate_error_code_value(error_code_str, error_definitions): | CODE |
| LOW | cpp-package/inspireface/tools/release_modelscope.py | 47 | except Exception as e: | CODE |
| LOW⚡ | cpp-package/inspireface/tools/output_error_table.py | 13 | except Exception as e: | CODE |
| MEDIUM | cpp-package/inspireface/tools/output_error_table.py | 5 | def calculate_error_code_value(error_code_str, error_definitions): | CODE |
| MEDIUM | …age/inspireface/python/sample_face_track_from_video.py | 71 | print("Error: Could not open video source.") | CODE |
| LOW | cpp-package/inspireface/python/read_nv21.py | 61 | except Exception as e: | CODE |
| LOW | cpp-package/inspireface/python/test/test_utilis.py | 112 | except Exception as e: | CODE |
| MEDIUM | cpp-package/inspireface/python/test/test_utilis.py | 113 | print(f"An error occurred while reading the file: {str(e)}") | CODE |
| LOW | …ge/inspireface/python/inspireface/modules/exception.py | 233 | except Exception as e: | CODE |
| MEDIUM | …ge/inspireface/python/inspireface/modules/exception.py | 230 | def wrapper(*args, **kwargs): | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 730 | except Exception as e: | CODE |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 93 | except Exception as e: | CODE |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 627 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 138 | except Exception as e: | CODE |
| LOW⚡ | …spireface/python/inspireface/modules/utils/resource.py | 216 | except Exception as e: | CODE |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 268 | except Exception as e: | CODE |
| MEDIUM | …spireface/python/inspireface/modules/utils/resource.py | 269 | print(f"Error: {e}") | CODE |
| LOW | python-package/insightface/gui/main_window.py | 83 | except Exception as exc: | CODE |
| MEDIUM | python-package/insightface/gui/main_window.py | 72 | def run(self) -> None: | CODE |
| LOW | python-package/insightface/gui/app.py | 63 | except Exception: | CODE |
| LOW | python-package/insightface/gui/resources.py | 38 | except Exception: | CODE |
| LOW⚡ | python-package/insightface/gui/resources.py | 79 | except Exception: | CODE |
| LOW⚡ | python-package/insightface/gui/resources.py | 88 | except Exception: | CODE |
| LOW | python-package/insightface/gui/__main__.py | 29 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/clustering.py | 41 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/config.py | 112 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/theme.py | 69 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/swap.py | 35 | except Exception as exc: | CODE |
| LOW | python-package/insightface/gui/core/swap.py | 44 | except Exception as exc: | CODE |
| LOW | python-package/insightface/gui/core/swap.py | 106 | except Exception as exc: | CODE |
| MEDIUM | python-package/insightface/gui/core/evaluation.py | 134 | def _face_area(face) -> float: | CODE |
| LOW | python-package/insightface/gui/core/evaluation.py | 138 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/evaluation.py | 158 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/evaluation.py | 232 | except Exception as exc: | CODE |
| LOW | python-package/insightface/gui/core/evaluation.py | 350 | except Exception as exc: | CODE |
| LOW | python-package/insightface/gui/core/evaluation.py | 409 | except Exception as exc: | CODE |
| LOW | python-package/insightface/gui/core/evaluation.py | 1019 | except Exception as exc: | CODE |
| LOW | python-package/insightface/gui/core/evaluation.py | 1096 | except Exception as exc: | CODE |
| LOW | python-package/insightface/gui/core/evaluation.py | 1131 | except Exception as exc: | CODE |
| LOW | python-package/insightface/gui/core/camera.py | 11 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/utils.py | 28 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/utils.py | 36 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/utils.py | 52 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/utils.py | 59 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/utils.py | 94 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/face_engine.py | 87 | except Exception as exc: | CODE |
| LOW | python-package/insightface/gui/core/face_engine.py | 116 | except Exception as exc: | CODE |
| LOW | python-package/insightface/gui/core/face_engine.py | 130 | except Exception as exc: | CODE |
| LOW⚡ | python-package/insightface/gui/core/face_engine.py | 173 | except Exception: | CODE |
| LOW⚡ | python-package/insightface/gui/core/face_engine.py | 193 | except Exception: | CODE |
| LOW⚡ | python-package/insightface/gui/core/face_engine.py | 203 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/face_engine.py | 228 | except Exception as exc: | CODE |
| LOW⚡ | python-package/insightface/gui/core/face_engine.py | 399 | except Exception as exc: | CODE |
| MEDIUM | python-package/insightface/gui/core/face_engine.py | 185 | def _quiet_onnxruntime_session_options(): | CODE |
| MEDIUM | python-package/insightface/gui/core/face_engine.py | 393 | def available_execution_providers() -> List[str]: | CODE |
| LOW | python-package/insightface/gui/core/storage.py | 52 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/storage.py | 340 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/storage.py | 546 | except Exception: | CODE |
| LOW | python-package/insightface/gui/core/storage.py | 579 | except Exception: | CODE |
| 70 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python-package/insightface/gui/core/tooltips.py | 86 | CODE | |
| LOW | python-package/insightface/gui/core/storage.py | 235 | CODE | |
| LOW | python-package/insightface/gui/core/storage.py | 344 | CODE | |
| LOW | python-package/insightface/gui/core/storage.py | 386 | CODE | |
| LOW | server/backend/insightface_server/app.py | 853 | CODE | |
| LOW | server/backend/insightface_server/services/rtsp.py | 817 | CODE | |
| LOW | server/sdk/python/src/insightface_server/client.py | 128 | CODE | |
| LOW | server/sdk/python/src/insightface_server/client.py | 190 | CODE | |
| LOW | server/sdk/python/src/insightface_server/client.py | 318 | CODE | |
| LOW | server/sdk/python/src/insightface_server/client.py | 384 | CODE | |
| LOW | alignment/heatmap/data.py | 23 | CODE | |
| LOW | alignment/heatmap/symbol/sym_heatmap.py | 84 | CODE | |
| LOW | reconstruction/ostec/utils/generate_heatmap.py | 6 | CODE | |
| LOW | …uction/ostec/external/stylegan2/metrics/metric_base.py | 61 | CODE | |
| LOW | …ostec/external/stylegan2/training/networks_stylegan.py | 301 | CODE | |
| LOW | …ostec/external/stylegan2/training/networks_stylegan.py | 383 | CODE | |
| LOW | …ostec/external/stylegan2/training/networks_stylegan.py | 439 | CODE | |
| LOW | …ostec/external/stylegan2/training/networks_stylegan.py | 563 | CODE | |
| LOW | …ion/ostec/external/stylegan2/training/training_loop.py | 47 | CODE | |
| LOW | …ion/ostec/external/stylegan2/training/training_loop.py | 105 | CODE | |
| LOW | …struction/ostec/external/stylegan2/training/dataset.py | 20 | CODE | |
| LOW | …ction/ostec/external/stylegan2/dnnlib/tflib/network.py | 353 | CODE | |
| LOW | …ion/ostec/external/stylegan2/dnnlib/tflib/optimizer.py | 40 | CODE | |
| LOW | …stec/external/stylegan2/dnnlib/tflib/ops/upfirdn_2d.py | 19 | CODE | |
| LOW | …l/graphonomy/FaceHairMask/deeplab_xception_transfer.py | 358 | CODE | |
| LOW | …l/graphonomy/FaceHairMask/deeplab_xception_transfer.py | 556 | CODE | |
| LOW | …stec/external/graphonomy/FaceHairMask/ParsingResnet.py | 42 | CODE | |
| LOW | …ostec/external/graphonomy/FaceHairMask/ParsingModel.py | 76 | CODE | |
| LOW | reconstruction/jmlr/backbones/resnet.py | 37 | CODE | |
| LOW | reconstruction/jmlr/backbones/resnet.py | 102 | CODE | |
| LOW | reconstruction/jmlr/backbones/resnet.py | 309 | CODE | |
| LOW | reconstruction/jmlr/backbones/network.py | 124 | CODE | |
| LOW | reconstruction/jmlr/backbones/iresnet.py | 74 | CODE | |
| LOW | reconstruction/PBIDR/code/model/renderer.py | 423 | CODE | |
| LOW | recognition/_evaluation_/ijb/ijb_onnx.py | 52 | CODE | |
| LOW | recognition/arcface_mxnet/train.py | 233 | CODE | |
| LOW | recognition/arcface_mxnet/train_parall.py | 124 | CODE | |
| LOW | recognition/arcface_mxnet/train_parall.py | 183 | CODE | |
| LOW | recognition/arcface_mxnet/parall_module_local_v1.py | 417 | CODE | |
| LOW | recognition/arcface_mxnet/image_iter.py | 25 | CODE | |
| LOW | recognition/arcface_mxnet/triplet_image_iter.py | 31 | CODE | |
| LOW | recognition/arcface_mxnet/symbol/vargfacenet.py | 103 | CODE | |
| LOW | recognition/arcface_mxnet/symbol/vargfacenet.py | 173 | CODE | |
| LOW | recognition/arcface_mxnet/symbol/vargfacenet.py | 250 | CODE | |
| LOW | recognition/arcface_mxnet/symbol/fmobilefacenet.py | 116 | CODE | |
| LOW | recognition/arcface_mxnet/common/flops_counter.py | 99 | CODE | |
| LOW | recognition/arcface_paddle/dynamic/utils/amp.py | 22 | CODE | |
| LOW | recognition/arcface_paddle/dynamic/backbones/iresnet.py | 249 | CODE | |
| LOW | recognition/arcface_paddle/dynamic/classifiers/lsc.py | 30 | CODE | |
| LOW | recognition/arcface_paddle/static/static_model.py | 33 | CODE | |
| LOW | recognition/partial_fc/mxnet/image_iter.py | 24 | CODE | |
| LOW | recognition/arcface_torch/dataset.py | 193 | CODE | |
| LOW | recognition/arcface_torch/backbones/vit.py | 75 | CODE | |
| LOW | recognition/arcface_torch/backbones/vit.py | 139 | CODE | |
| LOW | recognition/arcface_oneflow/oneflow2onnx.py | 21 | CODE | |
| LOW | …cognition/arcface_oneflow/utils/ofrecord_data_utils.py | 8 | CODE | |
| LOW | recognition/arcface_oneflow/utils/losses.py | 49 | CODE | |
| LOW | recognition/arcface_oneflow/eval/onnx_ijbc.py | 55 | CODE | |
| LOW | recognition/idmmd/network/lightcnn112.py | 47 | CODE | |
| LOW | recognition/subcenter_arcface/train_parall.py | 117 | CODE | |
| 70 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web-demos/src_recognition/arcface_onnx.py | 13 | __all__ = [ | CODE |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 1272 | def set_logging_level(level: int) -> None: | CODE |
| LOW | python-package/insightface/app/face_analysis.py | 21 | __all__ = ['FaceAnalysis'] | CODE |
| LOW | python-package/insightface/model_zoo/landmark.py | 16 | __all__ = [ | CODE |
| LOW | python-package/insightface/model_zoo/arcface_onnx.py | 14 | __all__ = [ | CODE |
| LOW | python-package/insightface/model_zoo/attribute.py | 14 | __all__ = [ | CODE |
| LOW | python-package/insightface/model_zoo/model_zoo.py | 19 | __all__ = ['get_model'] | CODE |
| LOW | python-package/insightface/model_zoo/model_store.py | 6 | __all__ = ['get_model_file'] | CODE |
| LOW | python-package/insightface/gui/main_window.py | 163 | def _update_provider_availability(self) -> None: | CODE |
| LOW | python-package/insightface/gui/main_window.py | 516 | def _settings_saved(self) -> None: | CODE |
| LOW | python-package/insightface/gui/main_window.py | 562 | def set_status(self, message: str) -> None: | CODE |
| LOW | python-package/insightface/gui/__init__.py | 12 | __all__ = ["__version__", "APP_NAME", "APP_DISPLAY_NAME"] | CODE |
| LOW⚡ | python-package/insightface/gui/resources.py | 72 | def _set_windows_app_user_model_id() -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/resources.py | 83 | def _set_process_title_best_effort(name: str) -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/resources.py | 92 | __all__ = [ | CODE |
| LOW | python-package/insightface/gui/core/tooltips.py | 100 | def set_button_tooltip(button: QAbstractButton, tooltip: str | None = None) -> None: | CODE |
| LOW | python-package/insightface/gui/core/storage.py | 202 | def update_person(self, person_id: int, **fields: Any) -> None: | CODE |
| LOW | python-package/insightface/gui/core/storage.py | 560 | def set_setting(self, key: str, value: Any) -> None: | CODE |
| LOW | …thon-package/insightface/gui/dialogs/license_dialog.py | 24 | def set_status(self, message: str) -> None: | CODE |
| LOW⚡ | …ackage/insightface/gui/dialogs/model_manager_dialog.py | 42 | def set_status(self, message: str) -> None: | CODE |
| LOW | …hon-package/insightface/gui/dialogs/settings_dialog.py | 74 | def _update_theme_description(self) -> None: | CODE |
| LOW | …hon-package/insightface/gui/pages/verification_page.py | 121 | def set_paths(self, paths: list[str], emit: bool = True) -> None: | CODE |
| LOW⚡ | …hon-package/insightface/gui/pages/verification_page.py | 287 | def _set_property(self, name: str, value) -> None: | CODE |
| LOW⚡ | …hon-package/insightface/gui/pages/verification_page.py | 292 | def _update_hover_from_cursor(self) -> None: | CODE |
| LOW | …hon-package/insightface/gui/pages/verification_page.py | 305 | def _update_single_preview(self) -> None: | CODE |
| LOW | …hon-package/insightface/gui/pages/verification_page.py | 435 | def set_gallery_paths(self, paths: list[str]) -> None: | CODE |
| LOW⚡ | …hon-package/insightface/gui/pages/verification_page.py | 566 | def _update_mode_label(self) -> None: | CODE |
| LOW | …hon-package/insightface/gui/pages/verification_page.py | 685 | def _update_policy_notice(self) -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/pages/album_page.py | 125 | def _set_property(self, name: str, value) -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/pages/album_page.py | 130 | def _update_hover_from_cursor(self) -> None: | CODE |
| LOW | …n-package/insightface/gui/pages/model_settings_page.py | 126 | def _update_provider_availability(self) -> None: | CODE |
| LOW | …n-package/insightface/gui/pages/model_settings_page.py | 144 | def _update_model_availability(self) -> None: | CODE |
| LOW⚡ | …n-package/insightface/gui/pages/model_settings_page.py | 180 | def _update_custom_dir_visibility(self) -> None: | CODE |
| LOW⚡ | …n-package/insightface/gui/pages/model_settings_page.py | 186 | def _update_swap_model_choices(self) -> None: | CODE |
| LOW | …n-package/insightface/gui/pages/model_settings_page.py | 209 | def _update_gfpgan_model_choices(self) -> None: | CODE |
| LOW | …n-package/insightface/gui/pages/people_library_page.py | 114 | def _set_drag_active(self, value: bool) -> None: | CODE |
| LOW⚡ | …n-package/insightface/gui/pages/people_library_page.py | 137 | def _set_property(self, name: str, value) -> None: | CODE |
| LOW⚡ | …n-package/insightface/gui/pages/people_library_page.py | 142 | def _update_hover_from_cursor(self) -> None: | CODE |
| LOW | …hon-package/insightface/gui/pages/album_people_page.py | 37 | def set_folder(self, folder: str) -> None: | CODE |
| LOW | …package/insightface/gui/pages/batch_processing_page.py | 41 | def set_folder(self, folder: str) -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/pages/base.py | 91 | def set_status(self, message: str) -> None: | CODE |
| LOW⚡ | …-package/insightface/gui/pages/enterprise_eval_page.py | 1004 | def _set_dataset_drag_active(self, active: bool) -> None: | CODE |
| LOW⚡ | …-package/insightface/gui/pages/enterprise_eval_page.py | 1012 | def _update_instructions(self) -> None: | CODE |
| LOW | python-package/insightface/gui/widgets/image_viewer.py | 37 | def set_image(self, image: Optional[np.ndarray]) -> None: | CODE |
| LOW | python-package/insightface/gui/widgets/image_viewer.py | 50 | def set_faces(self, faces: Iterable[Any]) -> None: | CODE |
| LOW | python-package/insightface/gui/widgets/face_table.py | 13 | def set_rows(self, rows: Iterable[Mapping[str, object]], columns: list[str]) -> None: | CODE |
| LOW | …hon-package/insightface/gui/widgets/progress_dialog.py | 16 | def update_progress(self, current: int, total: int, message: str = "") -> None: | CODE |
| LOW | python-package/insightface/gui/widgets/drop_input.py | 87 | def set_path(self, path: str, emit: bool = True) -> None: | CODE |
| LOW | python-package/insightface/gui/widgets/drop_input.py | 90 | def set_paths(self, paths: Sequence[str], emit: bool = True) -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/widgets/drop_input.py | 238 | def _set_property(self, name: str, value) -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/widgets/drop_input.py | 243 | def _update_hover_from_cursor(self) -> None: | CODE |
| LOW | …on-package/insightface/gui/widgets/threshold_slider.py | 36 | def set_value(self, value: float) -> None: | CODE |
| LOW | python-package/insightface/gui/widgets/metric_card.py | 19 | def set_value(self, value: object) -> None: | CODE |
| LOW | …thon-package/insightface/gui/widgets/upload_preview.py | 93 | def set_path(self, path: str, emit: bool = True) -> None: | CODE |
| LOW | …thon-package/insightface/gui/widgets/upload_preview.py | 101 | def set_image(self, image: Optional[np.ndarray], path: str | None = None) -> None: | CODE |
| LOW | …thon-package/insightface/gui/widgets/upload_preview.py | 113 | def set_faces(self, faces) -> None: | CODE |
| LOW⚡ | …thon-package/insightface/gui/widgets/upload_preview.py | 229 | def _set_property(self, name: str, value) -> None: | CODE |
| LOW⚡ | …thon-package/insightface/gui/widgets/upload_preview.py | 234 | def _update_hover_from_cursor(self) -> None: | CODE |
| LOW | server/backend/insightface_server/models/__init__.py | 15 | __all__ = [ | CODE |
| LOW | server/backend/insightface_server/storage/__init__.py | 19 | __all__ = [ | CODE |
| 53 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …ge/inspireface/tools/generate_error_tabel_to_python.py | 18 | # Define a function to parse the error codes between anchors in a given C header file content | COMMENT |
| MEDIUM⚡ | …ge/inspireface/tools/generate_error_tabel_to_python.py | 20 | # Define the start and end anchor tags | COMMENT |
| MEDIUM⚡ | cpp-package/inspireface/tools/output_error_table.py | 17 | # Define a function to parse the error codes between anchors in a given C header file content | COMMENT |
| MEDIUM⚡ | cpp-package/inspireface/tools/output_error_table.py | 19 | # Define the start and end anchor tags | COMMENT |
| MEDIUM | …/quick_test_linux_x86_usual_python_native_interface.sh | 9 | # Create the build directory if it doesn't exist | COMMENT |
| MEDIUM | …p-package/inspireface/ci/quick_test_linux_x86_usual.sh | 20 | # Create the build directory if it doesn't exist | COMMENT |
| MEDIUM⚡ | …p-package/inspireface/ci/quick_test_linux_x86_usual.sh | 43 | # Create a symbolic link to the extracted test data directory | COMMENT |
| MEDIUM | cpp-package/inspireface/ci/quick_test_local.sh | 36 | # Create the build directory if it doesn't exist | COMMENT |
| MEDIUM | cpp-package/inspireface/ci/quick_test_local.sh | 57 | # Create a symbolic link to the extracted test data directory | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build_android.sh | 6 | # Define the new main directories | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build_android.sh | 36 | # Create a specific directory for each architecture under the main directory | COMMENT |
| MEDIUM | …age/inspireface/command/build_android_rk356x_rk3588.sh | 6 | # Define the new main directories | COMMENT |
| MEDIUM | …age/inspireface/command/build_android_rk356x_rk3588.sh | 29 | # Create a specific directory for each architecture under the main directory | COMMENT |
| MEDIUM⚡ | cpp-package/inspireface/command/build_ios.sh | 32 | # Create the directory if it does not exist | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build_ios.sh | 121 | # Create the framework structure | COMMENT |
| MEDIUM⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 32 | # Create the directory if it does not exist | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build_ios_coreml.sh | 121 | # Create the framework structure | COMMENT |
| MEDIUM | cpp-package/inspireface/command/build.sh | 72 | # Create the build directory and navigate into it | COMMENT |
| MEDIUM | cpp-package/inspireface/command/create_ios_framework.sh | 12 | # Create the framework structure | COMMENT |
| MEDIUM | detection/retinaface/rcnn/pycocotools/_mask.c | 2739 | * # Create a 1D array, and reshape it to fortran/Matlab column-major array | COMMENT |
| MEDIUM | detection/retinaface/rcnn/pycocotools/_mask.c | 2746 | * # Create a 1D array, and reshape it to fortran/Matlab column-major array | COMMENT |
| MEDIUM | detection/scrfd/mmdet/core/mask/structures.py | 201 | """This class represents masks in the form of bitmaps. | STRING |
| MEDIUM | detection/scrfd/mmdet/core/mask/structures.py | 480 | """This class represents masks in the form of polygons. | STRING |
| MEDIUM | …fd/mmdet/core/bbox/assigners/center_region_assigner.py | 311 | # The following codes deal with this situation | COMMENT |
| MEDIUM | …ction/scrfd/mmdet/core/bbox/assigners/assign_result.py | 142 | # Create an overlap for each predicted box | COMMENT |
| MEDIUM | detection/scrfd/mmdet/models/losses/focal_loss.py | 9 | # This method is only for debugging | COMMENT |
| MEDIUM | detection/scrfd/mmdet/ops/__init__.py | 1 | # This file is added for back-compatibility. Thus, downstream codebase | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 42 | Load image data from an OpenCV image (numpy ndarray). Args: image (np.ndarray): The image | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 343 | Detects faces in the given image and returns a list of FaceInformation objects containing detailed face data. | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 748 | Launches the InspireFace system with the specified resource directory. Args: model_name (str): the nam | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 1113 | Updates an existing face identity in the feature hub. Args: face_identity (FaceIdentity): The face ide | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 1133 | Removes a face identity from the feature hub using its custom ID. Args: custom_id (int): The custom ID | STRING |
| HIGH | …/inspireface/python/inspireface/modules/inspireface.py | 1153 | Retrieves a face identity from the feature hub using its custom ID. Args: custom_id (int): The custom | STRING |
| HIGH | reconstruction/ostec/utils/ganfit_camera.py | 124 | Applies batched 4x4 homogenous matrix transformations to 3-D vertices. The vertices are input and output as as row-maj | STRING |
| HIGH | detection/scrfd/mmdet/core/evaluation/eval_hooks.py | 13 | Evaluation hook. Notes: If new arguments are added for EvalHook, tools/test.py, tools/eval_metric.p | STRING |
| HIGH | detection/scrfd/mmdet/core/evaluation/eval_hooks.py | 176 | Distributed evaluation hook. Notes: If new arguments are added, tools/test.py may be effected. Attribu | STRING |
| HIGH | detection/scrfd/mmdet/core/export/pytorch2onnx.py | 89 | Prepare an example input image for ``generate_inputs_and_wrap_model``. Args: input_config (dict): customize | STRING |
| HIGH | detection/scrfd/mmdet/datasets/utils.py | 6 | Replace the ImageToTensor transform in a data pipeline to DefaultFormatBundle, which is normally useful in batch inf | STRING |
| HIGH | detection/scrfd/mmdet/models/backbones/resnet.py | 486 | Make plugins for ResNet ``stage_idx`` th stage. Currently we support to insert ``context_block``, ``emp | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | reconstruction/gaze/test_gaze.py | 162 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 163 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 164 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 165 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 167 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 168 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 169 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 170 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 171 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 172 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 173 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 174 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 175 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 178 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 179 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 180 | CODE | |
| MEDIUM | reconstruction/gaze/test_gaze.py | 181 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 330 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 331 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 334 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 336 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 339 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 340 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 343 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 347 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 348 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 351 | CODE | |
| MEDIUM | detection/retinaface/rcnn/core/tester.py | 352 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …kage/inspireface/tools/transform_similarity_testing.py | 95 | # Print the results | COMMENT |
| LOW | …kage/inspireface/tools/generate_release_models_info.py | 43 | # Output the result | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 764 | # Check if ModelScope is available when needed | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 792 | # Check if ModelScope is available when needed | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/inspireface.py | 813 | # Check if ModelScope is available when needed | COMMENT |
| LOW | …/inspireface/python/inspireface/modules/core/native.py | 57 | # Check if running under Rosetta 2 | COMMENT |
| LOW | …spireface/python/inspireface/modules/utils/resource.py | 169 | # Check if model exists and is complete | COMMENT |
| LOW⚡ | …spireface/python/inspireface/modules/utils/resource.py | 233 | # Check if model exists in ModelScope cache | COMMENT |
| LOW⚡ | …p-package/inspireface/ci/quick_test_linux_x86_usual.sh | 41 | # Check if the symbolic link or directory already exists | COMMENT |
| LOW⚡ | …p-package/inspireface/ci/quick_test_linux_x86_usual.sh | 50 | # Check if the test executable file exists | COMMENT |
| LOW | cpp-package/inspireface/ci/quick_test_local.sh | 13 | # Check if the target directory already exists | COMMENT |
| LOW | cpp-package/inspireface/ci/quick_test_local.sh | 60 | # Check if the test executable file exists | COMMENT |
| LOW | cpp-package/inspireface/command/build_android.sh | 9 | # Check if the base path exists | COMMENT |
| LOW | …age/inspireface/command/build_android_rk356x_rk3588.sh | 9 | # Check if the base path exists | COMMENT |
| LOW | …inspireface/command/build_cross_rv1106_armhf_uclibc.sh | 39 | # Check if MNN-2.3.0 directory already exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 41 | # Check if the framework already exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios.sh | 46 | # Check if the zip file already exists | COMMENT |
| LOW | …package/inspireface/command/download_models_general.sh | 42 | # Check if argument is provided | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 41 | # Check if the framework already exists | COMMENT |
| LOW⚡ | cpp-package/inspireface/command/build_ios_coreml.sh | 46 | # Check if the zip file already exists | COMMENT |
| LOW | cpp-package/inspireface/command/build_linux_tensorrt.sh | 61 | # Check if it is Ubuntu | COMMENT |
| LOW⚡ | python-package/setup.py | 119 | # Check if running on macOS (Darwin) | COMMENT |
| LOW⚡ | python-package/setup.py | 123 | # Check if Homebrew is installed | COMMENT |
| LOW⚡ | python-package/setup.py | 132 | # 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 |
|---|---|---|---|---|
| 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 | 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 |
|---|---|---|---|---|
| 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 | python-package/insightface/gui/main_window.py | 582 | def run_task(self, title: str, fn: Callable, on_result: Callable | None = None, show_dialog: bool = True) -> None: | CODE |
| LOW⚡ | …ackage/insightface/gui/dialogs/model_manager_dialog.py | 48 | def run_task(self, title: str, fn, on_result=None, show_dialog: bool = True) -> None: | CODE |
| LOW⚡ | python-package/insightface/gui/pages/base.py | 101 | def run_task(self, title: str, fn: Callable, on_result: Callable | None = None, show_dialog: bool = True) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ge/inspireface/cpp/inspireface/engine/face_session.cpp | 120 | // TODO: implement this function | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | detection/retinaface/rcnn/pycocotools/mask.py | 39 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python-package/tests/gui/test_storage.py | 30 | image_path.write_bytes(b"placeholder") | CODE |