Repository for OpenCV's extra modules
This report summarizes scanner evidence for opencv/opencv_contrib, a C++ project with 10,222 GitHub stars. SynthScan examined 1,109,085 lines of code across 3081 source files, recording 3114 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 3.0 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 2940 finding(s).
Are imports declared and package/API names verified? 126 finding(s).
Are wrappers, guards, and repeated structures necessary? 137 finding(s).
Which changes need focused human review? 3114 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3114 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/superres/test/test_precomp.hpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/test/test_precomp.hpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/test/test_precomp.hpp | 41 | //M*/ | COMMENT |
| LOW | modules/superres/test/test_main.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/test/test_main.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/test/test_superres.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/test/test_superres.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/include/opencv2/superres.hpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/include/opencv2/superres.hpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | …les/superres/include/opencv2/superres/optical_flow.hpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | …les/superres/include/opencv2/superres/optical_flow.hpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/perf/perf_precomp.hpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/perf/perf_precomp.hpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/perf/perf_precomp.hpp | 41 | //M*/ | COMMENT |
| LOW | modules/superres/perf/perf_superres.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/perf/perf_superres.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/perf/perf_main.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/perf/perf_main.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/src/precomp.hpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/src/precomp.hpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/src/precomp.hpp | 41 | //M*/ | COMMENT |
| LOW | modules/superres/src/precomp.hpp | 61 | #include "opencv2/core/private.cuda.hpp" | COMMENT |
| LOW | modules/superres/src/precomp.hpp | 81 | # include "opencv2/cudaoptflow.hpp" | COMMENT |
| LOW | modules/superres/src/optical_flow.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/src/optical_flow.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/src/input_array_utility.hpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/src/input_array_utility.hpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/src/btv_l1_cuda.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/src/btv_l1_cuda.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/src/btv_l1.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/src/btv_l1.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/src/input_array_utility.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/src/input_array_utility.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/src/frame_source.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/src/frame_source.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/src/super_resolution.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/src/super_resolution.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/superres/src/ring_buffer.hpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/superres/src/ring_buffer.hpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/rapid/test/test_precomp.hpp | 1 | // This file is part of OpenCV project. | COMMENT |
| LOW | modules/cudalegacy/test/TestHypothesesFilter.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/cudalegacy/test/TestHypothesesFilter.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/cudalegacy/test/TestHaarCascadeApplication.h | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/cudalegacy/test/TestHaarCascadeApplication.h | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/cudalegacy/test/test_labeling.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/cudalegacy/test/test_labeling.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/cudalegacy/test/TestHaarCascadeLoader.h | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/cudalegacy/test/TestHaarCascadeLoader.h | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/cudalegacy/test/main_nvidia.cpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/cudalegacy/test/main_nvidia.cpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/cudalegacy/test/NCVTest.hpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/cudalegacy/test/NCVTest.hpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/cudalegacy/test/NCVTest.hpp | 41 | //M*/ | COMMENT |
| LOW | modules/cudalegacy/test/test_precomp.hpp | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/cudalegacy/test/test_precomp.hpp | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| LOW | modules/cudalegacy/test/test_precomp.hpp | 41 | //M*/ | COMMENT |
| LOW | modules/cudalegacy/test/test_precomp.hpp | 61 | COMMENT | |
| LOW | modules/cudalegacy/test/test_precomp.hpp | 81 | #include "TestTranspose.h" | COMMENT |
| LOW | modules/cudalegacy/test/TestResize.h | 1 | /*M/////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | modules/cudalegacy/test/TestResize.h | 21 | // this list of conditions and the following disclaimer. | COMMENT |
| 2716 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ctured_light/misc/python/test/test_structured_light.py | 4 | CODE | |
| LOW | …ctured_light/misc/python/test/test_structured_light.py | 6 | CODE | |
| LOW | …dules/cudafilters/misc/python/test/test_cudafilters.py | 2 | CODE | |
| LOW | …dules/cudafilters/misc/python/test/test_cudafilters.py | 6 | CODE | |
| LOW | modules/xphoto/samples/color_balance_benchmark.py | 2 | CODE | |
| LOW | modules/xphoto/samples/color_balance_benchmark.py | 5 | CODE | |
| LOW | modules/xphoto/samples/learn_color_balance.py | 2 | CODE | |
| LOW | modules/shape/misc/python/test/test_shape.py | 4 | CODE | |
| LOW | …s/cudaobjdetect/misc/python/test/test_cudaobjdetect.py | 4 | CODE | |
| LOW | modules/cudabgsegm/misc/python/test/test_cudabgsegm.py | 2 | CODE | |
| LOW | modules/cudabgsegm/misc/python/test/test_cudabgsegm.py | 6 | CODE | |
| LOW | modules/face/samples/etc/crop_face.py | 34 | CODE | |
| LOW | …dules/cudaimgproc/misc/python/test/test_cudaimgproc.py | 2 | CODE | |
| LOW | …dules/cudaimgproc/misc/python/test/test_cudaimgproc.py | 6 | CODE | |
| LOW | …/xfeatures2d/misc/python/test/test_cuda_xfeatures2d.py | 4 | CODE | |
| LOW | …features2d/misc/python/test/test_sift_compatibility.py | 4 | CODE | |
| LOW | …features2d/misc/python/test/test_sift_compatibility.py | 6 | CODE | |
| LOW | …dules/xfeatures2d/misc/python/test/test_descriptors.py | 4 | CODE | |
| LOW | …dules/xfeatures2d/misc/python/test/test_descriptors.py | 6 | CODE | |
| LOW | …dules/cudawarping/misc/python/test/test_cudawarping.py | 2 | CODE | |
| LOW | …dules/cudawarping/misc/python/test/test_cudawarping.py | 6 | CODE | |
| LOW | modules/cudastereo/misc/python/test/test_cudastereo.py | 2 | CODE | |
| LOW | modules/cudastereo/misc/python/test/test_cudastereo.py | 6 | CODE | |
| LOW | …orm/misc/python/test/test_intensity_transform_bimef.py | 4 | CODE | |
| LOW | modules/gapi/misc/python/test/test_gapi_infer_onnx.py | 3 | CODE | |
| LOW | …les/gapi/misc/python/test/test_gapi_stateful_kernel.py | 3 | CODE | |
| LOW | …les/gapi/misc/python/test/test_gapi_stateful_kernel.py | 5 | CODE | |
| LOW | modules/gapi/misc/python/test/test_gapi_ot.py | 3 | CODE | |
| LOW | modules/gapi/misc/python/test/test_gapi_kernels.py | 3 | CODE | |
| LOW | modules/gapi/misc/python/test/test_gapi_kernels.py | 5 | CODE | |
| LOW | modules/gapi/misc/python/test/test_gapi_types.py | 3 | CODE | |
| LOW | modules/gapi/misc/python/test/test_gapi_types.py | 5 | CODE | |
| LOW | modules/optflow/samples/optical_flow_benchmark.py | 2 | CODE | |
| LOW | modules/optflow/samples/optical_flow_benchmark.py | 3 | CODE | |
| LOW | modules/optflow/src/learn_prior.py | 4 | CODE | |
| LOW | …cudaoptflow/misc/python/test/test_nvidiaopticalflow.py | 3 | CODE | |
| LOW | modules/ximgproc/samples/edge_drawing.py | 29 | CODE | |
| LOW | modules/ximgproc/samples/find_ellipses.py | 12 | CODE | |
| LOW | modules/ximgproc/samples/find_ellipses.py | 14 | CODE | |
| LOW | modules/xstereo/samples/sample_quasi_dense.py | 1 | CODE | |
| LOW | modules/viz/samples/viz_sample_01.py | 1 | CODE | |
| LOW | modules/ml/misc/python/test/test_digits.py | 26 | CODE | |
| LOW | modules/ml/misc/python/test/test_digits.py | 29 | CODE | |
| LOW | modules/ml/misc/python/test/test_ml.py | 2 | CODE | |
| LOW | modules/ml/misc/python/test/test_ml.py | 4 | CODE | |
| LOW | modules/ml/misc/python/test/test_goodfeatures.py | 4 | CODE | |
| LOW | modules/ml/misc/python/test/test_goodfeatures.py | 7 | CODE | |
| LOW | modules/ml/misc/python/test/test_letter_recog.py | 24 | CODE | |
| LOW | modules/ml/misc/python/test/test_gaussian_mix.py | 4 | CODE | |
| LOW | modules/ml/samples/python/digits_video.py | 12 | CODE | |
| LOW | modules/ml/samples/python/digits_video.py | 23 | CODE | |
| LOW | modules/ml/samples/python/digits_video.py | 25 | CODE | |
| LOW | modules/ml/samples/python/letter_recog.py | 29 | CODE | |
| LOW | modules/ml/samples/python/digits_adjust.py | 21 | CODE | |
| LOW | modules/ml/samples/python/digits.py | 28 | CODE | |
| LOW | modules/ml/samples/python/digits.py | 34 | CODE | |
| LOW | modules/ml/samples/python/digits.py | 39 | CODE | |
| LOW | modules/ml/samples/python/tst_scene_render.py | 5 | CODE | |
| LOW | modules/ml/samples/python/tst_scene_render.py | 10 | CODE | |
| LOW | modules/ml/samples/python/video.py | 33 | CODE | |
| 66 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | modules/superres/src/btv_l1_cuda.cpp | 43 | // S. Farsiu , D. Robinson, M. Elad, P. Milanfar. Fast and robust multiframe super resolution. | COMMENT |
| MEDIUM | modules/superres/src/btv_l1.cpp | 43 | // S. Farsiu , D. Robinson, M. Elad, P. Milanfar. Fast and robust multiframe super resolution. | COMMENT |
| MEDIUM | modules/surface_matching/src/icp.cpp | 316 | // use robust weighting for outlier treatment | COMMENT |
| MEDIUM | …/zxing/common/binarizer/global_histogram_binarizer.cpp | 270 | // This proved to be more robust on the blackbox tests than sampling a | COMMENT |
| MEDIUM | modules/face/samples/facerec_video.cpp | 124 | // in your scenario, LBPH should always be a contender for robust face recognition. | COMMENT |
| MEDIUM | modules/xfeatures2d/src/surf.hpp | 11 | //! Speeded up robust features, port from CUDA module. | COMMENT |
| MEDIUM | modules/sfm/test/test_robust.cpp | 37 | #include "opencv2/sfm/robust.hpp" | COMMENT |
| MEDIUM | modules/sfm/include/opencv2/sfm/robust.hpp | 48 | //! @addtogroup robust | COMMENT |
| MEDIUM | modules/sfm/src/robust.cpp | 43 | #include <opencv2/sfm/robust.hpp> | COMMENT |
| MEDIUM | …m/src/libmv_light/libmv/multiview/fundamental_kernel.h | 101 | // a robust estimation context) and most robust of the above kernels. | COMMENT |
| MEDIUM | …fm/src/libmv_light/libmv/multiview/robust_estimation.h | 101 | // In this robust estimator, the scorer always works on all the data points | COMMENT |
| MEDIUM⚡ | …/sfm/src/libmv_light/libmv/multiview/two_view_kernel.h | 79 | // between two views) that shows the "kernel" part of a robust fitting | COMMENT |
| MEDIUM⚡ | …/sfm/src/libmv_light/libmv/multiview/two_view_kernel.h | 88 | // All the robust fitting algorithm sees is that there is some number of | COMMENT |
| MEDIUM⚡ | …/sfm/src/libmv_light/libmv/multiview/two_view_kernel.h | 92 | // The Kernel objects must follow the following concept so that the robust | COMMENT |
| MEDIUM | …libmv_light/libmv/correspondence/nRobustViewMatching.h | 45 | // Add also a Template function to make the match robust.. | COMMENT |
| MEDIUM | modules/gapi/test/streaming/gapi_streaming_tests.cpp | 1332 | // Runs 100 times with no deadlock - assumed stable (robust) enough | COMMENT |
| MEDIUM | modules/gapi/test/streaming/gapi_streaming_tests.cpp | 1345 | // Runs 100 times with no deadlock - assumed stable (robust) enough | COMMENT |
| MEDIUM | …ules/gapi/test/streaming/gapi_streaming_utils_test.cpp | 332 | // utilize main thread as well | COMMENT |
| MEDIUM | modules/gapi/include/opencv2/gapi/gproto.hpp | 109 | // FIXME: Someday utilize a generic tuple_to_vec<> routine | COMMENT |
| MEDIUM | modules/gapi/src/backends/oak/goakbackend.cpp | 946 | // Is there a way to extract API from somewhereelse/utilize structs | COMMENT |
| MEDIUM | …reaming/onevpl/demux/async_mfp_demux_data_provider.cpp | 730 | // utilize consumed bitstream portion allocated at prev step | COMMENT |
| MEDIUM | modules/gapi/src/compiler/gcompiler.cpp | 530 | // FIXME: This may be hazardous if our backend are not very robust | COMMENT |
| MEDIUM | modules/gapi/src/compiler/passes/kernels.cpp | 238 | // FIXME: Essentially the same problem as in the above resolveKernels | COMMENT |
| MEDIUM | modules/optflow/src/rlof/rlof_localflow.cpp | 529 | // for robust models | COMMENT |
| MEDIUM | modules/optflow/src/rlof/rlof_localflow.cpp | 617 | // use none robust tracker for global motion estimation since it is faster | COMMENT |
| MEDIUM | modules/xstereo/src/descriptor.hpp | 56 | //!Mean Variation is a robust kernel that compares a pixel | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/xphoto/samples/learn_color_balance.py | 23 | def learn_regression_tree_ensemble(img_features, gt_illuminants, num_trees, max_tree_depth): | CODE |
| LOW | …dules/cudawarping/misc/python/test/test_cudawarping.py | 8 | def create_affine_transform_matrix(size,angle): | CODE |
| LOW | …dules/cudawarping/misc/python/test/test_cudawarping.py | 10 | def create_perspective_transform_matrix(size,angle): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_infer.py | 70 | def test_age_gender_infer_roi(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_infer.py | 109 | def test_age_gender_infer_roi_list(self): | CODE |
| LOW | …es/gapi/misc/python/test/test_gapi_sample_pipelines.py | 241 | def test_different_output_opaque_kinds(self): | CODE |
| LOW | …es/gapi/misc/python/test/test_gapi_sample_pipelines.py | 506 | def test_opaq_with_custom_type(self): | CODE |
| LOW | …es/gapi/misc/python/test/test_gapi_sample_pipelines.py | 542 | def test_array_with_custom_type(self): | CODE |
| LOW | …es/gapi/misc/python/test/test_gapi_sample_pipelines.py | 654 | def test_pipeline_with_custom_kernels(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_render.py | 125 | def render_primitives_bgr_ref(self, img): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_render.py | 145 | def test_render_primitives_on_bgr_graph(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_render.py | 163 | def test_render_primitives_on_bgr_function(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_infer_ov.py | 26 | def skip_if_openvino_not_available(): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_infer_ov.py | 85 | def test_age_gender_infer_image(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_infer_ov.py | 118 | def test_age_gender_infer_tensor(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_infer_ov.py | 147 | def test_age_gender_infer_batch(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_infer_ov.py | 189 | def test_age_gender_infer_planar(self): | CODE |
| LOW | …les/gapi/misc/python/test/test_gapi_stateful_kernel.py | 65 | def test_stateful_kernel_single_instance(self): | CODE |
| LOW | …les/gapi/misc/python/test/test_gapi_stateful_kernel.py | 79 | def test_stateful_kernel_multiple_instances(self): | CODE |
| LOW | …les/gapi/misc/python/test/test_gapi_stateful_kernel.py | 97 | def test_stateful_throw_setup(self): | CODE |
| LOW | …les/gapi/misc/python/test/test_gapi_stateful_kernel.py | 143 | def test_stateful_multiple_inputs(self): | CODE |
| LOW | …les/gapi/misc/python/test/test_gapi_stateful_kernel.py | 174 | def test_stateful_multiple_inputs_throw(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_streaming.py | 183 | def test_video_good_features_to_track(self): | CODE |
| LOW⚡ | modules/gapi/misc/python/test/test_gapi_streaming.py | 318 | def test_compile_streaming_empty(self): | CODE |
| LOW⚡ | modules/gapi/misc/python/test/test_gapi_streaming.py | 324 | def test_compile_streaming_args(self): | CODE |
| LOW⚡ | modules/gapi/misc/python/test/test_gapi_streaming.py | 330 | def test_compile_streaming_descr_of(self): | CODE |
| LOW⚡ | modules/gapi/misc/python/test/test_gapi_streaming.py | 337 | def test_compile_streaming_descr_of_and_args(self): | CODE |
| LOW⚡ | modules/gapi/misc/python/test/test_gapi_streaming.py | 345 | def test_compile_streaming_meta(self): | CODE |
| LOW⚡ | modules/gapi/misc/python/test/test_gapi_streaming.py | 352 | def test_compile_streaming_meta_and_args(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_streaming.py | 458 | def test_gst_multiple_sources(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_streaming.py | 491 | def test_gst_multiple_sources_accuracy(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_streaming.py | 542 | def test_python_custom_stream_source(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_kernels.py | 23 | def test_fluid_imgproc_package(self): | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_imgproc.py | 28 | def test_good_features_to_track(self): | CODE |
| LOW⚡ | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 16 | def test_error_no_config_specified(): | CODE |
| LOW⚡ | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 21 | def test_error_no_config_exists(): | CODE |
| LOW⚡ | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 29 | def test_error_work_time_not_positive(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 47 | def test_error_pipelines_node_not_map(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 57 | def test_error_config_not_contain_pl(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 80 | def test_error_source_no_name(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 92 | def test_error_source_no_latency(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 105 | def test_error_source_no_output(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 119 | def test_error_source_output_no_dims(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 134 | def test_error_source_output_no_precision(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 167 | def test_error_nodes_not_sequence(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 223 | def test_error_node_unknown_type(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 243 | def test_error_node_dummy_no_time(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 263 | def test_error_node_dummy_not_positive_time(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 284 | def test_error_node_dummy_no_output(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 305 | def test_error_node_infer_no_model_path(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 332 | def test_error_node_infer_no_input_layers(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 355 | def test_error_node_infer_input_layers_are_empty(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 380 | def test_error_node_infer_no_output_layers(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 405 | def test_error_node_infer_output_layers_are_empty(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 456 | def test_error_edges_not_sequence(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 536 | def test_error_edges_from_not_exists(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 564 | def test_error_edges_from_port_not_exists(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 592 | def test_error_edges_to_not_exists(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 620 | def test_error_edges_to_port_not_exists(): | CODE |
| LOW | …/pipeline_modeling_tool/test_pipeline_modeling_tool.py | 648 | def test_error_connect_to_source(): | CODE |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | samples/python2/common.py | 0 | this module contains some common routines used by other samples. | STRING |
| HIGH | modules/ml/samples/python/common.py | 0 | this module contains some common routines used by other samples. | STRING |
| HIGH | modules/xobjdetect/samples/python/common.py | 0 | this module contains some common routines used by other samples. | STRING |
| HIGH | samples/python2/common.py | 0 | make a grid from images. w -- number of grid columns imgs -- images (must have same size and format) | STRING |
| HIGH | modules/ml/samples/python/common.py | 0 | make a grid from images. w -- number of grid columns imgs -- images (must have same size and format) | STRING |
| HIGH | modules/xobjdetect/samples/python/common.py | 0 | make a grid from images. w -- number of grid columns imgs -- images (must have same size and format) | STRING |
| HIGH | samples/python2/video.py | 0 | video capture sample. sample shows how videocapture class can be used to acquire video frames from a camera of a movie f | STRING |
| HIGH | modules/ml/samples/python/video.py | 0 | video capture sample. sample shows how videocapture class can be used to acquire video frames from a camera of a movie f | STRING |
| HIGH | modules/xobjdetect/samples/python/video.py | 0 | video capture sample. sample shows how videocapture class can be used to acquire video frames from a camera of a movie f | STRING |
| HIGH | samples/python2/video.py | 0 | source: <int> or '<int>|<filename>|synth [:<param_name>=<value> [:...]]' | STRING |
| HIGH | modules/ml/samples/python/video.py | 0 | source: <int> or '<int>|<filename>|synth [:<param_name>=<value> [:...]]' | STRING |
| HIGH | modules/xobjdetect/samples/python/video.py | 0 | source: <int> or '<int>|<filename>|synth [:<param_name>=<value> [:...]]' | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | modules/xphoto/samples/color_balance_benchmark.py | 115 | print("Error: unsupported statistic " + stat) | CODE |
| MEDIUM | modules/xphoto/samples/color_balance_benchmark.py | 220 | print("Error: " + args.input_folder + (" does not exist. Please, correctly " | CODE |
| MEDIUM | modules/xphoto/samples/color_balance_benchmark.py | 225 | print("Error: " + args.ground_truth + (" does not exist. Please, correctly " | CODE |
| MEDIUM | modules/xphoto/samples/color_balance_benchmark.py | 236 | print("Error: Please specify the -r parameter in form <first_image_index>,<last_image_index>") | CODE |
| MEDIUM | modules/xphoto/samples/learn_color_balance.py | 148 | print("Error: unknown ground-truth format, only formats of Gehler-Shi and NUS 8-camera datasets are supported") | CODE |
| MEDIUM⚡ | modules/xphoto/samples/learn_color_balance.py | 215 | print("Error: " + args.input_folder + (" does not exist. Please, correctly " | CODE |
| MEDIUM⚡ | modules/xphoto/samples/learn_color_balance.py | 220 | print("Error: " + args.ground_truth + (" does not exist. Please, correctly " | CODE |
| MEDIUM⚡ | modules/xphoto/samples/learn_color_balance.py | 226 | print("Error: Please specify the -r parameter in form <first_image_index>,<last_image_index>") | CODE |
| MEDIUM⚡ | modules/xphoto/samples/learn_color_balance.py | 235 | print("Error: Only .hpp and .yml are supported as output formats") | CODE |
| LOW | modules/gapi/misc/python/test/test_gapi_streaming.py | 399 | except Exception as e: | CODE |
| MEDIUM | modules/gapi/misc/python/test/test_gapi_streaming.py | 396 | def open_VideoCapture_gstreamer(self, gstpipeline): | CODE |
| MEDIUM | modules/optflow/samples/optical_flow_benchmark.py | 220 | print("Error: " + args.bin_path + " does not exist") | CODE |
| MEDIUM | modules/optflow/samples/optical_flow_benchmark.py | 224 | print("Error: " + args.dataset_folder + (" does not exist. Please, correctly " | CODE |
| MEDIUM | modules/optflow/samples/optical_flow_benchmark.py | 236 | print("Error: unsupported dataset " + dataset) | CODE |
| MEDIUM | modules/optflow/samples/optical_flow_benchmark.py | 239 | print("Error: " + os.path.join(args.dataset_folder, dataset) + (" does not exist. " | CODE |
| MEDIUM | modules/ximgproc/samples/edge_drawing.py | 103 | print("Error loading image") | CODE |
| LOW | modules/matlab/generator/parse_tree.py | 115 | except Exception as e: | CODE |
| LOW | modules/dnn_objdetect/scripts/pascal_preprocess.py | 7 | except Exception as E: | CODE |
| MEDIUM | modules/dnn_objdetect/scripts/pascal_preprocess.py | 4 | def rescale(root_new, root_old, img_path, ann_path, out_shape): | CODE |
| LOW | modules/dnn_objdetect/scripts/k_means.py | 97 | except Exception as E: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …les/dnn_superres/misc/python/test/test_dnn_superres.py | 17 | # Create an SR object | COMMENT |
| MEDIUM | …pi/include/opencv2/gapi/pysrc/python_stream_source.hpp | 41 | * # Create a G-API source from a Python class | COMMENT |
| MEDIUM | …pi/include/opencv2/gapi/pysrc/python_stream_source.hpp | 44 | * # Define a simple graph: input → copy → output | COMMENT |
| MEDIUM | modules/ximgproc/samples/radon_transform_demo.py | 1 | # This file is part of OpenCV project. | COMMENT |
| MEDIUM | modules/julia/gen/parse_tree.py | 3 | # This file is part of OpenCV project. | COMMENT |
| MEDIUM | modules/julia/gen/gen_all.py | 3 | # This file is part of OpenCV project. | COMMENT |
| MEDIUM | modules/julia/gen/gen3_julia_cxx.py | 3 | # This file is part of OpenCV project. | COMMENT |
| MEDIUM | modules/julia/gen/gen3_cpp.py | 3 | # This file is part of OpenCV project. | COMMENT |
| MEDIUM | modules/julia/gen/gen3_julia.py | 3 | # This file is part of OpenCV project. | COMMENT |
| MEDIUM | modules/julia/package/OpenCV/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | modules/cannops/misc/python/test/test_cannops.py | 1 | # This file is part of OpenCV project. | COMMENT |
| MEDIUM | modules/cannops/samples/image_processing.py | 1 | # This file is part of OpenCV project. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | modules/matlab/CMakeLists.txt | 1 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | modules/matlab/CMakeLists.txt | 24 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | modules/matlab/CMakeLists.txt | 26 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | modules/matlab/CMakeLists.txt | 28 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | modules/matlab/CMakeLists.txt | 103 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | modules/matlab/CMakeLists.txt | 105 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | modules/matlab/CMakeLists.txt | 222 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | modules/matlab/CMakeLists.txt | 224 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | modules/matlab/CMakeLists.txt | 309 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | modules/matlab/CMakeLists.txt | 311 | # ---------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/xphoto/samples/color_balance_benchmark.py | 43 | CODE | |
| LOW | modules/cudacodec/misc/python/test/test_cudacodec.py | 16 | CODE | |
| LOW | modules/gapi/misc/python/package/gapi/__init__.py | 184 | CODE | |
| LOW | modules/gapi/misc/python/package/gapi/__init__.py | 245 | CODE | |
| LOW | modules/gapi/misc/python/package/gapi/__init__.py | 257 | CODE | |
| LOW | modules/optflow/samples/optical_flow_benchmark.py | 31 | CODE | |
| LOW | modules/optflow/samples/optical_flow_benchmark.py | 124 | CODE | |
| LOW | modules/ximgproc/samples/fourier_descriptors_demo.py | 33 | CODE | |
| LOW | modules/matlab/generator/parse_tree.py | 371 | CODE | |
| LOW | modules/matlab/generator/parse_tree.py | 106 | CODE | |
| LOW | modules/julia/gen/parse_tree.py | 317 | CODE | |
| LOW | modules/julia/gen/parse_tree.py | 432 | CODE | |
| LOW | modules/julia/gen/parse_tree.py | 132 | CODE | |
| LOW | modules/julia/gen/parse_tree.py | 177 | CODE | |
| LOW | modules/julia/gen/parse_tree.py | 267 | CODE | |
| LOW | modules/julia/gen/gen3_julia_cxx.py | 170 | CODE | |
| LOW | modules/julia/gen/gen3_cpp.py | 229 | CODE | |
| LOW | modules/julia/gen/gen3_cpp.py | 143 | CODE | |
| LOW | modules/julia/gen/gen3_cpp.py | 178 | CODE | |
| LOW | modules/julia/gen/gen3_cpp.py | 206 | CODE | |
| LOW | modules/julia/gen/gen3_julia.py | 39 | CODE | |
| LOW | …dules/xobjdetect/misc/python/test/test_peopledetect.py | 22 | CODE | |
| LOW | modules/xobjdetect/misc/python/test/test_facedetect.py | 25 | CODE | |
| LOW | modules/xobjdetect/samples/python/peopledetect.py | 33 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | modules/ml/samples/python/video.py | 179 | except ValueError: pass | CODE |
| HIGH | modules/ml/samples/python/video.py | 186 | except: pass | CODE |
| HIGH | modules/xobjdetect/samples/python/video.py | 179 | except ValueError: pass | CODE |
| HIGH | modules/xobjdetect/samples/python/video.py | 186 | except: pass | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/sfm/test/test_conditioning.cpp | 60 | //TODO: implement me | COMMENT |
| LOW | modules/sfm/src/reconstruct.cpp | 156 | // TODO: implement me | COMMENT |
| LOW | modules/sfm/src/reconstruct.cpp | 185 | // TODO: implement me | COMMENT |
| LOW | modules/sfm/src/reconstruct.cpp | 229 | // TODO: implement me | COMMENT |
| LOW | modules/sfm/src/reconstruct.cpp | 255 | // TODO: implement me | COMMENT |
| LOW | modules/gapi/src/backends/fluid/gfluidbackend.cpp | 1390 | //TODO: implement ? | COMMENT |
| LOW | modules/matlab/generator/parse_tree.py | 164 | #TODO: implement operators: http://www.mathworks.com.au/help/matlab/matlab_oop/implementing-operators-for-your-c | COMMENT |
| LOW | modules/bioinspired/src/retina_ocl.cpp | 1170 | // TODO: implement me! | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/xphoto/samples/color_balance_benchmark.py | 14 | CODE | |
| LOW | modules/optflow/samples/optical_flow_benchmark.py | 14 | CODE | |
| LOW | modules/ml/samples/python/common.py | 199 | CODE | |
| LOW | modules/matlab/generator/parse_tree.py | 281 | CODE | |
| LOW | modules/xobjdetect/samples/python/common.py | 199 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/surface_matching/src/icp.cpp | 356 | // Step 2: Picky ICP | COMMENT |
| LOW | modules/gapi/src/backends/render/ft_render.cpp | 83 | // We need to check if the glyph goes beyond the last position of the pen | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …es/gapi/misc/python/test/test_gapi_sample_pipelines.py | 582 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/ximgproc/samples/edge_drawing.py | 76 | if lines is not None: # Check if the lines have been found and only then iterate over these and add them to the ima | CODE |
| LOW | modules/ximgproc/samples/edge_drawing.py | 84 | if ellipses is not None: # Check if circles and ellipses have been found and only then iterate over these and add t | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/surface_matching/src/icp.cpp | 356 | // Step 2: Picky ICP | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules/gapi/misc/python/package/gapi/__init__.py | 1 | __all__ = ['op', 'kernel'] | CODE |