Repository Analysis

opencv/opencv

Open Source Computer Vision Library

3.0 Likely human-written View on GitHub
3.0
Adjusted Score
3.0
Raw Score
100%
Time Factor
2026-05-30
Last Push
87,688
Stars
C++
Language
2,500,094
Lines of Code
5343
Files
6904
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 2HIGH 65MEDIUM 248LOW 6589

Pattern Findings

6904 matches across 18 categories. Click a row to expand file-level details.

Over-Commented Block5767 hits · 5510 pts
SeverityFileLineSnippet
LOW…ndroid/aar-template/OpenCV/src/main/cpp/native-lib.cpp1// This empty .cpp file is used for creating an AAR with empty C++ lib that will be replaced with OpenCV C++ lib
LOW…ndroid/aar-template/OpenCV/src/main/cpp/include/temp.h1// This empty .h file is used for creating an AAR with empty C++ lib that will be replaced with OpenCV C++ lib
LOW…forms/semihosting/include/aarch64_semihosting_port.hpp1// This file is part of OpenCV project.
LOWcmake/checks/opencl.cpp1// custom OpenCL headers are located in "CL" subfolder (3rdparty/include/...)
LOWcmake/checks/cpu_vsx.cpp1#if defined(__VSX__)
LOWcmake/checks/webnn.cpp1#include <webnn/webnn_cpp.h>
LOWcmake/checks/cpu_popcnt.cpp1#ifdef _MSC_VER
LOWcmake/checks/cpu_neon.cpp1#include <stdio.h>
LOWhal/armpl/include/armpl_hal_core.hpp81
LOWhal/carotene/hal/tegra_hal.hpp41#define _tegra_hal_H_INCLUDED_
LOWhal/carotene/hal/tegra_hal.hpp61 ST * src2_data_, size_t src2_step_,
LOWhal/carotene/hal/tegra_hal.hpp161 : CV_HAL_ERROR_NOT_IMPLEMENTED \
LOWhal/carotene/hal/tegra_hal.hpp181#define cv_hal_sub8s(src1, sz1, src2, sz2, dst, sz, w, h) TEGRA_BINARYOP(CAROTENE_NS::s8, sub, src1, sz1, src2, sz2, dst
LOWhal/carotene/hal/tegra_hal.hpp201#define cv_hal_max32s(src1, sz1, src2, sz2, dst, sz, w, h) TEGRA_BINARYOP(CAROTENE_NS::s32, max, src1, sz1, src2, sz2, d
LOWhal/carotene/hal/tegra_hal.hpp221#define cv_hal_absdiff8u(src1, sz1, src2, sz2, dst, sz, w, h) TEGRA_BINARYOP(CAROTENE_NS::u8, absDiff, src1, sz1, src2,
LOWhal/carotene/hal/tegra_hal.hpp281 ((op) == cv::CMP_LE) ? \
LOWhal/carotene/hal/tegra_hal.hpp341
LOWhal/carotene/hal/tegra_hal.hpp361#define cv_hal_div8u(src1, sz1, src2, sz2, dst, sz, w, h, scales) TEGRA_BINARYOPSCALE(CAROTENE_NS::u8, div, src1, sz1, s
LOWhal/carotene/hal/tegra_hal.hpp381#define cv_hal_recip16s(src1, sz1, dst, sz, w, h, scales) TEGRA_UNARYOPSCALE(CAROTENE_NS::s16, recip, src1, sz1, dst, sz
LOWhal/carotene/hal/tegra_hal.hpp521#define TEGRA_NOT(src1, sz1, dst, sz, w, h) \
LOWhal/carotene/hal/tegra_hal.hpp541#undef cv_hal_add32f
LOWhal/carotene/hal/tegra_hal.hpp561#undef cv_hal_max8s
LOWhal/carotene/hal/tegra_hal.hpp581#undef cv_hal_min32s
LOWhal/carotene/hal/tegra_hal.hpp741#undef cv_hal_mul8u
LOWhal/carotene/hal/tegra_hal.hpp761#undef cv_hal_div16s
LOWhal/carotene/hal/tegra_hal.hpp801#define cv_hal_addWeighted16u TEGRA_ADDWEIGHTED
LOWhal/carotene/hal/tegra_hal.hpp821 const ST * src2_data;
LOWhal/carotene/hal/tegra_hal.hpp841 , dst2_data(dst2_data_)
LOWhal/carotene/hal/tegra_hal.hpp1841#define cv_hal_cvtBGRtoBGR5x5 TEGRA_CVTBGRTOBGR565
LOWhal/carotene/hal/dummy.cpp1// This file is needed for compilation on some platforms e.g. with XCode generator
LOWhal/carotene/include/carotene/definitions.hpp41#define CAROTENE_DEFINITIONS_HPP
LOWhal/carotene/src/resize.cpp1281
LOWhal/carotene/src/channels_combine.cpp61#define VLD1Q_LINE(type, n) v_dst.val[n] = vld1q_##type(src##n + sj);
LOWhal/carotene/src/colorconvert.cpp1541 dst[dj + 2] = internal::saturate_cast<u8>(Cb);
LOWhal/carotene/src/colorconvert.cpp2441 const u8 * yBase, ptrdiff_t yStride,
LOWhal/carotene/src/colorconvert.cpp2461
LOWhal/carotene/src/dummy.cpp1// This file is needed for compilation on some platforms e.g. with XCode generator
LOWhal/carotene/src/common.hpp41#define CAROTENE_SRC_COMMON_HPP
LOWhal/ndsrvp/ndsrvp_hal.hpp1// This file is part of OpenCV project.
LOWhal/ndsrvp/include/features2d.hpp1// This file is part of OpenCV project.
LOWhal/ndsrvp/include/core.hpp201};
LOWhal/ndsrvp/src/cvutils.hpp1// This file is part of OpenCV project.
LOWhal/ipp/include/ipp_hal_core.hpp21#undef cv_hal_minMaxIdxMaskStep
LOWhal/ipp/include/ipp_utils.hpp1// This file is part of OpenCV project.
LOWhal/ipp/include/ipp_utils.hpp21#endif
LOWhal/ipp/include/ipp_hal_imgproc.hpp1// This file is part of OpenCV project.
LOWhal/ipp/src/transforms_ipp.cpp1// This file is part of OpenCV project.
LOWhal/ipp/src/transforms_ipp.cpp81// if(src.isSubmatrix()) // already have physical border
LOWhal/ipp/src/warp_ipp.cpp1// This file is part of OpenCV project.
LOWhal/openvx/hal/openvx_hal.hpp81 int width, int height, int depth, int cn, double thresh, double maxValue, int thresholdType);
LOWhal/openvx/hal/openvx_hal.hpp101#define cv_hal_absdiff16s ovx_hal_absdiff<short>
LOWhal/openvx/hal/openvx_hal.hpp121//#define cv_hal_resize ovx_hal_resize
LOWhal/openvx/hal/openvx_hal.hpp141//#undef cv_hal_sepFilterFree
LOWhal/openvx/hal/openvx_hal.hpp161#undef cv_hal_cvtTwoPlaneYUVtoBGREx
LOWhal/openvx/hal/openvx_hal.cpp1#include "openvx_hal.hpp"
LOWhal/openvx/include/ivx.hpp1// This file is part of OpenCV project.
LOWhal/openvx/include/ivx.hpp41#endif
LOWhal/openvx/include/ivx.hpp61 #define IVX_USE_EXTERNAL_REFCOUNT
LOWhal/openvx/include/ivx.hpp101 #include "opencv2/core.hpp"
LOWhal/openvx/include/ivx.hpp3281/// Creates a Gaussian Filter 3x3 Node (vxGaussian3x3Node)
5707 more matches not shown…
Unused Imports417 hits · 410 pts
SeverityFileLineSnippet
LOWplatforms/apple/cv_build_utils.py6
LOWplatforms/apple/cv_build_utils.py8
LOWplatforms/osx/run_tests.py6
LOWplatforms/osx/run_tests.py7
LOWplatforms/osx/run_tests.py7
LOWplatforms/osx/build_framework.py6
LOWplatforms/osx/build_framework.py7
LOWplatforms/js/build_js.py3
LOWplatforms/ios/build_visionos_framework.py6
LOWplatforms/ios/build_visionos_framework.py7
LOWplatforms/ios/run_tests.py6
LOWplatforms/ios/run_tests.py7
LOWplatforms/ios/run_tests.py7
LOWplatforms/ios/run_tests.py7
LOWplatforms/ios/run_tests.py7
LOWplatforms/ios/run_tests.py7
LOWplatforms/ios/run_tests.py8
LOWplatforms/ios/run_tests.py8
LOWplatforms/ios/build_framework.py34
LOWplatforms/ios/build_framework.py34
LOWplatforms/ios/build_framework.py36
LOWplatforms/android/build_sdk.py12
LOWplatforms/android/build-tests/test_cmake_build.py4
LOWplatforms/winpack_dldt/build_package.py5
LOWplatforms/winpack_dldt/build_package.py6
LOWplatforms/winpack_dldt/build_package.py9
LOWsamples/python/dft.py12
LOWsamples/python/browse.py16
LOWsamples/python/laplace.py16
LOWsamples/python/laplace.py18
LOWsamples/python/facedetect.py11
LOWsamples/python/facedetect.py13
LOWsamples/python/inpaint.py19
LOWsamples/python/hist.py19
LOWsamples/python/contours.py13
LOWsamples/python/digits_video.py12
LOWsamples/python/digits_video.py23
LOWsamples/python/digits_video.py25
LOWsamples/python/fitline.py26
LOWsamples/python/gaussian_mix.py4
LOWsamples/python/video_v4l2.py18
LOWsamples/python/video_v4l2.py20
LOWsamples/python/edge.py14
LOWsamples/python/texture_flow.py14
LOWsamples/python/letter_recog.py29
LOWsamples/python/dis_opt_flow.py17
LOWsamples/python/opt_flow.py17
LOWsamples/python/houghcircles.py12
LOWsamples/python/gabor_threads.py18
LOWsamples/python/deconvolution.py34
LOWsamples/python/deconvolution.py40
LOWsamples/python/coherence.py13
LOWsamples/python/_coverage.py8
LOWsamples/python/mouse_and_match.py15
LOWsamples/python/mouse_and_match.py22
LOWsamples/python/mouse_and_match.py25
LOWsamples/python/essential_mat_reconstr.py2
LOWsamples/python/essential_mat_reconstr.py2
LOWsamples/python/digits_adjust.py17
LOWsamples/python/digits_adjust.py29
357 more matches not shown…
Decorative Section Separators117 hits · 343 pts
SeverityFileLineSnippet
MEDIUMCMakeLists.txt186# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt188# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt192# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt194# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt571# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt573# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt578# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt580# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt626# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt628# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt632# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt634# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt637# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt639# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1083# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1085# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1093# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1095# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1104# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1106# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt7# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt172# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt174# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt216# ===================================================
MEDIUMCMakeLists.txt488# ===================================================
MEDIUMCMakeLists.txt510# ===================================================
MEDIUMCMakeLists.txt520# ===================================================
MEDIUMCMakeLists.txt705# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt707# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt793# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt795# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt806# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt808# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt831# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt833# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt936# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt938# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1133# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1135# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1222# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt1224# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt2076# ----------------------------------------------------------------------------
MEDIUMCMakeLists.txt2078# ----------------------------------------------------------------------------
MEDIUMplatforms/js/build_js.py228#===================================================================================================
MEDIUMplatforms/android/build_sdk.py118#===================================================================================================
MEDIUMplatforms/android/build_sdk.py145#===================================================================================================
MEDIUMplatforms/android/build_sdk.py419#===================================================================================================
MEDIUMplatforms/android/build-tests/test_cmake_build.py44#===================================================================================================
MEDIUMplatforms/winpack_dldt/build_package.py159#===================================================================================================
MEDIUMplatforms/winpack_dldt/build_package.py335#===================================================================================================
MEDIUMplatforms/winpack_dldt/build_package.py468#===================================================================================================
MEDIUMsamples/CMakeLists.txt2#===================================================================================================
MEDIUMsamples/CMakeLists.txt6#===================================================================================================
MEDIUMsamples/CMakeLists.txt60#===================================================================================================
MEDIUMsamples/CMakeLists.txt64#===================================================================================================
MEDIUM…gProc/BasicGeometricDrawing/basic_geometric_drawing.py76# -----------------------
MEDIUM…gProc/BasicGeometricDrawing/basic_geometric_drawing.py90# ------------------
MEDIUMsamples/java/tutorial_code/CMakeLists.txt1# ----------------------------------------------------------------------------
MEDIUMsamples/java/tutorial_code/CMakeLists.txt4# ----------------------------------------------------------------------------
57 more matches not shown…
Hyper-Verbose Identifiers210 hits · 208 pts
SeverityFileLineSnippet
LOWplatforms/apple/build_xcframework.py87 def get_or_create_build_folder(base_dir, platform):
LOWplatforms/android/build_static_aar.py83def convert_deps_list_to_prefab(linked_libs, opencv_libs, external_libs):
LOWsamples/python/camera_calibration_show_extrinsics.py25def inverse_homogeneoux_matrix(M):
LOWsamples/python/camera_calibration_show_extrinsics.py34def transform_to_matplotlib_frame(cMo, X, inverse=False):
LOW…brightness_image/changing_contrast_brightness_image.py31def on_linear_transform_alpha_trackbar(val):
LOW…brightness_image/changing_contrast_brightness_image.py36def on_linear_transform_beta_trackbar(val):
LOW…brightness_image/changing_contrast_brightness_image.py41def on_gamma_correction_trackbar(val):
LOW…es/dnn/dnn_model_runner/dnn_conversion/common/utils.py55def set_common_reproducibility():
LOW…/dnn_conversion/common/test/cls_model_test_pipeline.py43 def _configure_test_module_params(self):
LOW…nner/dnn_conversion/common/test/model_test_pipeline.py120 def _configure_test_module_params(self):
LOW…conversion/pytorch/classification/py_to_py_resnet50.py76def get_opencv_dnn_prediction(opencv_net, preproc_img, imagenet_labels):
LOW…conversion/pytorch/classification/py_to_py_resnet50.py94def get_pytorch_dnn_prediction(original_net, preproc_img, imagenet_labels):
LOW…dnn_conversion/tf/classification/py_to_py_mobilenet.py74def get_opencv_dnn_prediction(opencv_net, preproc_img, imagenet_labels):
LOWdoc/tools/html_functions.py85def insert_python_fn_signature(soup, table, variants, symbol):
LOWdoc/tools/html_functions.py92def create_python_fn_description(soup, variants):
LOW…les/flann/misc/python/test/test_flann_based_matcher.py12 def test_all_parameters_can_be_passed(self):
LOWmodules/python/test/test_fs_cache_dir.py18 def get_cache_dir_imread_interop(self, ext):
LOWmodules/python/test/test_fs_cache_dir.py31 def test_get_cache_dir_imread_interop_png(self):
LOWmodules/python/test/test_fs_cache_dir.py34 def test_get_cache_dir_imread_interop_jpeg(self):
LOWmodules/python/test/test_fs_cache_dir.py37 def test_get_cache_dir_imread_interop_tiff(self):
LOWmodules/python/test/test_misc.py345 def test_parse_to_bool_not_convertible(self):
LOWmodules/python/test/test_misc.py352 def test_parse_to_bool_convertible_extra(self):
LOWmodules/python/test/test_misc.py360 def test_parse_to_bool_not_convertible_extra(self):
LOWmodules/python/test/test_misc.py366 def test_parse_to_int_convertible(self):
LOWmodules/python/test/test_misc.py376 def test_parse_to_int_not_convertible(self):
LOWmodules/python/test/test_misc.py385 def test_parse_to_int_not_convertible_extra(self):
LOWmodules/python/test/test_misc.py425 def test_parse_to_size_t_not_convertible(self):
LOWmodules/python/test/test_misc.py435 def test_parse_to_size_t_convertible_extra(self):
LOWmodules/python/test/test_misc.py444 def test_parse_to_size_t_not_convertible_extra(self):
LOWmodules/python/test/test_misc.py450 def test_parse_to_float_convertible(self):
LOWmodules/python/test/test_misc.py478 def test_parse_to_float_not_convertible(self):
LOWmodules/python/test/test_misc.py485 def test_parse_to_float_not_convertible_extra(self):
LOWmodules/python/test/test_misc.py493 def test_parse_to_double_convertible(self):
LOWmodules/python/test/test_misc.py515 def test_parse_to_double_not_convertible(self):
LOWmodules/python/test/test_misc.py522 def test_parse_to_double_not_convertible_extra(self):
LOWmodules/python/test/test_misc.py530 def test_parse_to_cstring_convertible(self):
LOWmodules/python/test/test_misc.py538 def test_parse_to_cstring_not_convertible(self):
LOWmodules/python/test/test_misc.py544 def test_parse_to_string_convertible(self):
LOWmodules/python/test/test_misc.py552 def test_parse_to_string_not_convertible(self):
LOWmodules/python/test/test_misc.py558 def test_parse_to_rect_convertible(self):
LOWmodules/python/test/test_misc.py620 def test_parse_to_rotated_rect_not_convertible(self):
LOWmodules/python/test/test_misc.py626 def test_parse_to_term_criteria_convertible(self):
LOWmodules/python/test/test_misc.py636 def test_parse_to_term_criteria_not_convertible(self):
LOWmodules/python/test/test_misc.py642 def test_parse_to_range_convertible_to_all(self):
LOWmodules/python/test/test_misc.py650 def test_parse_to_range_convertible(self):
LOWmodules/python/test/test_misc.py659 def test_parse_to_range_not_convertible(self):
LOWmodules/python/test/test_misc.py665 def test_reserved_keywords_are_transformed(self):
LOWmodules/python/test/test_misc.py823 def test_class_from_submodule_has_global_alias(self):
LOWmodules/python/test/test_misc.py833 def test_inner_class_has_global_alias(self):
LOWmodules/python/test/test_misc.py842 def test_export_class_with_different_name(self):
LOWmodules/python/test/test_misc.py890 def test_named_arguments_without_parameters(self):
LOWmodules/python/test/test_misc.py896 def test_named_arguments_without_output_argument(self):
LOWmodules/python/test/test_misc.py904 def test_named_arguments_with_output_argument(self):
LOWmodules/python/test/test_misc.py914 def test_arithm_op_without_saturation(self):
LOWmodules/python/test/test_misc.py177 def test_overload_resolution_can_choose_correct_overload(self):
LOWmodules/python/test/test_misc.py197 def test_overload_resolution_fails(self):
LOWmodules/python/test/test_misc.py216 def test_properties_with_reserved_keywords_names_are_transformed(self):
LOWmodules/python/test/test_misc.py309 def test_unsupported_numpy_data_types_string_description(self):
LOWmodules/python/test/test_misc.py322 def test_numpy_writeable_flag_is_preserved(self):
LOWmodules/python/test/test_misc.py332 def test_parse_to_bool_convertible(self):
150 more matches not shown…
Cross-File Repetition40 hits · 200 pts
SeverityFileLineSnippet
HIGH…/pipeline_modeling_tool/test_pipeline_modeling_tool.py0\"%yaml:1.0 work_time: 1000 pipelines: pl1: source: name: 'src' latency: 20 output: dims: [1,2,3,4] precision: 'u8' node
HIGH…/pipeline_modeling_tool/test_pipeline_modeling_tool.py0\"%yaml:1.0 work_time: 1000 pipelines: pl1: source: name: 'src' latency: 20 output: dims: [1,2,3,4] precision: 'u8' node
HIGH…/pipeline_modeling_tool/test_pipeline_modeling_tool.py0\"%yaml:1.0 work_time: 1000 pipelines: pl1: source: name: 'src' latency: 20 output: dims: [1,2,3,4] precision: 'u8' node
HIGH…/pipeline_modeling_tool/test_pipeline_modeling_tool.py0\"%yaml:1.0 work_time: 1000 pipelines: pl1: source: name: 'src' latency: 20 output: dims: [1,2,3,4] precision: 'u8' node
HIGHapps/pattern-tools/svgfig.py0index is a list that descends tree, returning a sub-element if it ends with a number and an attribute if it ends with a
HIGHapps/pattern-tools/svgfig.py0index is a list that descends tree, returning a sub-element if it ends with a number and an attribute if it ends with a
HIGHapps/pattern-tools/svgfig.py0index is a list that descends tree, returning a sub-element if it ends with a number and an attribute if it ends with a
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return an svg object.
HIGHapps/pattern-tools/svgfig.py0part of path's text-command parsing algorithm; used internally.
HIGHapps/pattern-tools/svgfig.py0part of path's text-command parsing algorithm; used internally.
HIGHapps/pattern-tools/svgfig.py0part of path's text-command parsing algorithm; used internally.
HIGHapps/pattern-tools/svgfig.py0part of path's text-command parsing algorithm; used internally.
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return a path object in global coordinates. if local=true, return a path in local c
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return a path object in global coordinates. if local=true, return a path in local c
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return a path object in global coordinates. if local=true, return a path in local c
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return a path object in global coordinates. if local=true, return a path in local c
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return a path object in global coordinates. if local=true, return a path in local c
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return a path object in global coordinates. if local=true, return a path in local c
HIGHapps/pattern-tools/svgfig.py0apply the transformation "trans" and return a path object in global coordinates. if local=true, return a path in local c
Excessive Try-Catch Wrapping86 hits · 168 pts
SeverityFileLineSnippet
LOWplatforms/apple/build_xcframework.py179 except Exception as e:
LOWplatforms/ios/run_tests.py39 except Exception as e:
MEDIUMplatforms/ios/run_tests.py36def run(self):
LOWplatforms/ios/build_framework.py199 except Exception as e:
MEDIUMplatforms/ios/build_framework.py196def build(self, outdir):
LOWplatforms/android/build_sdk.py66 except Exception as e:
MEDIUMplatforms/android/build_sdk.py22def execute(cmd, shell=False):
MEDIUMsamples/python/aruco_detect_board_charuco.py87 print("Error: unable to open video/image source")
MEDIUMsamples/python/audio_spectrogram.py717 print("Error: ", args.inputType, " input method doesnt exist")
MEDIUMsamples/python/audio_spectrogram.py720 print("Error: ", args.draw, " draw type doesnt exist")
MEDIUMsamples/python/audio_spectrogram.py723 print("Error: ", args.graph, " type of graph doesnt exist")
MEDIUMsamples/python/audio_spectrogram.py726 print("Error: ", args.windowType, " type of window doesnt exist")
MEDIUMsamples/python/audio_spectrogram.py729 print("Error: windLen = ", args.windLen, " - incorrect value. Must be > 0")
MEDIUMsamples/python/audio_spectrogram.py732 print("Error: overlap = ", args.overlap, " - incorrect value. Must be > 0")
MEDIUMsamples/python/audio_spectrogram.py735 print("Error: rows = ", args.rows, " - incorrect value. Must be > 0")
MEDIUMsamples/python/audio_spectrogram.py738 print("Error: cols = ", args.cols, " - incorrect value. Must be > 0")
MEDIUMsamples/python/audio_spectrogram.py741 print("Error: xmarkup = ", args.xmarkup, " - incorrect value. Must be >= 2")
MEDIUMsamples/python/audio_spectrogram.py744 print("Error: ymarkup = ", args.ymarkup, " - incorrect value. Must be >= 2")
MEDIUMsamples/python/audio_spectrogram.py747 print("Error: zmarkup = ", args.zmarkup, " - incorrect value. Must be >= 2")
MEDIUMsamples/python/audio_spectrogram.py750 print("Error: microTime = ", args.microTime, " - incorrect value. Must be > 0")
MEDIUMsamples/python/audio_spectrogram.py753 print("Error: frameSizeTime = ", args.frameSizeTime, " - incorrect value. Must be > 0")
MEDIUMsamples/python/audio_spectrogram.py756 print("Error: updateTime = ", args.updateTime, " - incorrect value. Must be > 0")
MEDIUMsamples/python/audio_spectrogram.py759 print("Error: waitTime = ", args.waitTime, " - incorrect value. Must be >= 0")
MEDIUMsamples/python/audio_spectrogram.py111 print("Error : Can't read audio file: '", self.audio, "' with audioStream = ", self.audioStream)
MEDIUMsamples/python/audio_spectrogram.py112 print("Error: problems with audio reading, check input arguments")
MEDIUMsamples/python/audio_spectrogram.py150 print("Error: Can't open microphone")
MEDIUMsamples/python/audio_spectrogram.py151 print("Error: problems with audio reading, check input arguments")
MEDIUMsamples/python/audio_spectrogram.py178 print("Error: Grab error")
LOWsamples/python/_doc.py22 except Exception:
MEDIUMsamples/python/qrcode.py178 print("Error exception: ", e)
LOWsamples/python/tracker.py100 except Exception as e:
LOWsamples/python/demo.py137 except Exception as e:
MEDIUM…ython/tutorial_code/core/AddingImages/adding_images.py23 print("Error loading src1")
MEDIUM…ython/tutorial_code/core/AddingImages/adding_images.py26 print("Error loading src2")
MEDIUM…screte_fourier_transform/discrete_fourier_transform.py24 print('Error opening image')
MEDIUM…es/python/tutorial_code/imgProc/Smoothing/smoothing.py25 print ('Error opening image')
MEDIUM…ples/python/tutorial_code/imgProc/Pyramids/pyramids.py21 print ('Error opening image!')
MEDIUM…imgProc/morph_lines_detection/morph_lines_detection.py30 print ('Error opening image: ' + argv[0])
MEDIUM…/tutorial_code/ImgTrans/MakeBorder/copy_make_border.py24 print ('Error opening image!')
MEDIUM…les/python/tutorial_code/ImgTrans/Filter2D/filter2D.py21 print ('Error opening image!')
MEDIUM…/python/tutorial_code/ImgTrans/LaPlace/laplace_demo.py23 print ('Error opening image')
MEDIUM…/python/tutorial_code/ImgTrans/SobelDemo/sobel_demo.py31 print ('Error opening image: ' + argv[0])
MEDIUM…python/tutorial_code/ImgTrans/HoughLine/hough_lines.py21 print ('Error opening image!')
MEDIUM…hon/tutorial_code/ImgTrans/HoughCircle/hough_circle.py16 print ('Error opening image!')
LOWsamples/dnn/download_models.py106 except Exception as e:
LOWsamples/dnn/download_models.py166 except Exception as e:
MEDIUMsamples/dnn/speech_recognition.py419 print("Error : Can't read audio file:", file, "with audioStream = ", audioStream)
MEDIUMsamples/dnn/speech_recognition.py444 print("Error: Can't open microphone")
MEDIUMsamples/dnn/speech_recognition.py445 print("Error: problems with audio reading, check input arguments")
MEDIUMsamples/dnn/speech_recognition.py460 print("Error: Grab error")
LOW…/dnn_conversion/tf/detection/py_to_py_ssd_mobilenet.py18 except Exception:
LOW…torch_tf_detection/tf_det_model_conversion_tutorial.md70except Exception:
LOW…_segmentation/tf_sem_segm_model_conversion_tutorial.md50 except Exception:
MEDIUMmodules/python/test/test_misc.py150def test_redirectError(self):
MEDIUMmodules/python/test/test_misc.py250def _try_to_convert(self, conversion, value):
LOWmodules/python/test/test_misc.py222 except Exception as e:
LOWmodules/python/test/test_misc.py253 except Exception as e:
LOWmodules/python/src2/typing_stubs_generator.py50 except Exception:
MEDIUMmodules/python/src2/hdr_parser.py638 print("Error at %d. no terminating ) in CVAPI() macro: %s" % (self.lineno, decl_str))
MEDIUMmodules/python/src2/hdr_parser.py643 print("Error at %d: no args in '%s'" % (self.lineno, decl_str))
26 more matches not shown…
Deep Nesting139 hits · 135 pts
SeverityFileLineSnippet
LOWplatforms/ios/build_framework.py96
LOWplatforms/ios/build_framework.py456
LOWplatforms/ios/build_framework.py555
LOWplatforms/android/build_static_aar.py66
LOWplatforms/android/build_static_aar.py83
LOWplatforms/android/build_sdk.py385
LOWplatforms/android/build_sdk.py350
LOWplatforms/winpack_dldt/build_package.py93
LOWplatforms/winpack_dldt/build_package.py100
LOWsamples/gdb/mat_pretty_printer.py60
LOWsamples/python/hist.py56
LOWsamples/python/video_v4l2.py23
LOWsamples/python/aruco_detect_board_charuco.py24
LOWsamples/python/mouse_and_match.py32
LOWsamples/python/feature_homography.py53
LOWsamples/python/lk_track.py47
LOWsamples/python/audio_spectrogram.py40
LOWsamples/python/audio_spectrogram.py534
LOWsamples/python/audio_spectrogram.py624
LOWsamples/python/plane_tracker.py154
LOWsamples/python/plane_ar.py58
LOWsamples/python/qrcode.py60
LOWsamples/python/peopledetect.py33
LOWsamples/python/find_obj.py29
LOWsamples/python/stitching_detailed.py274
LOWsamples/python/squares.py25
LOWsamples/python/tracker.py56
LOWsamples/python/lk_homography.py58
LOWsamples/python/grabcut.py59
LOWsamples/python/grabcut.py101
LOWsamples/python/demo.py56
LOW…l_code/core/mat_mask_operations/mat_mask_operations.py22
LOW…rial_code/imgProc/opening_closing_hats/morphology_2.py16
LOW…ples/python/tutorial_code/imgProc/Pyramids/pyramids.py5
LOW…torial_code/imgProc/erosion_dilatation/morphology_1.py38
LOW…/tutorial_code/ImgTrans/MakeBorder/copy_make_border.py10
LOW…ples/python/tutorial_code/ImgTrans/remap/Remap_Demo.py7
LOWsamples/dnn/download_models.py33
LOWsamples/dnn/download_models.py273
LOWsamples/dnn/virtual_try_on.py144
LOWsamples/dnn/tf_text_graph_ssd.py63
LOWsamples/dnn/tf_text_graph_ssd.py140
LOWsamples/dnn/tf_text_graph_ssd.py162
LOWsamples/dnn/tf_text_graph_faster_rcnn.py6
LOWsamples/dnn/common.py6
LOWsamples/dnn/common.py88
LOWsamples/dnn/tf_text_graph_efficientdet.py36
LOWsamples/dnn/tf_text_graph_common.py1
LOWsamples/dnn/tf_text_graph_common.py38
LOWsamples/dnn/tf_text_graph_common.py286
LOWsamples/dnn/tf_text_graph_common.py313
LOWsamples/dnn/tf_text_graph_common.py178
LOWsamples/dnn/tf_text_graph_common.py204
LOWsamples/dnn/tf_text_graph_common.py207
LOWsamples/dnn/object_detection.py98
LOWsamples/dnn/object_detection.py258
LOWdoc/tools/html_functions.py40
LOWmodules/video/misc/python/test/test_lk_track.py56
LOWmodules/video/misc/python/test/test_lk_homography.py46
LOWmodules/core/src/opencl/runtime/generator/common.py68
79 more matches not shown…
Cross-Language Confusion19 hits · 110 pts
SeverityFileLineSnippet
HIGHplatforms/osx/build_framework.py124 print_error("--macos_archs and --catalyst_archs are undefined; nothing will be built.")
HIGHplatforms/ios/build_visionos_framework.py108 print_error("--visionos_archs and --visionsimulator_archs are undefined; nothing will be built.")
HIGHplatforms/ios/build_framework.py645 print_error("--iphoneos_archs and --iphonesimulator_archs are undefined; nothing will be built.")
HIGHsamples/dnn/speech_recognition.py11 Download and unzip : `$ wget --content-disposition https://api.ngc.nvidia.com/v2/models/nvidia/jasper_pyt_onnx_fp16_
HIGHmodules/python/src2/gen2.py88 if(!src || src == Py_None)
HIGHmodules/python/src2/gen2.py113 ok = tmp && pyopencv_to_safe(tmp, dst.$propname, ArgInfo("$propname", 0));
HIGHmodules/python/src2/gen2.py1043 code_parse = "if(PyObject_Size(py_args) == 0 && (!kw || PyObject_Size(kw) == 0))"
HIGHmodules/java/generator/gen_java.py771 j_prologue.append( "List<Mat> %(n)s_tmplm = new ArrayList<Mat>((%(n)s != null) ? %(n)s.s
HIGHmodules/java/generator/gen_java.py818 j_epilogue.append('if(%(n)s!=null) %(n)s[0] = (%(t)s)%(n)s_out[0];' % {'n':a.name,'t':type_d
HIGHmodules/java/generator/gen_java.py834 j_epilogue.append( "if("+a.name+"!=null){ " + "; ".join(set_vals) + "; } ")
HIGHmodules/ts/misc/table_formatter.py540 vars.push(decodeURIComponent(hash[0]))
HIGHmodules/ts/misc/table_formatter.py563 if (re.exec($(row.get(colIdx)).text()) == null)
HIGHmodules/ts/misc/table_formatter.py564 return false
HIGHmodules/ts/misc/table_formatter.py572 if (!val || val >= 1 || val > 1+percent)
HIGHmodules/ts/misc/table_formatter.py573 return false
HIGHmodules/ts/misc/table_formatter.py579 if (!val || val < percent)
HIGHmodules/ts/misc/table_formatter.py580 return false
HIGHmodules/ts/misc/table_formatter.py588 if (!val || val < percent)
HIGHmodules/ts/misc/table_formatter.py589 return false
Self-Referential Comments31 hits · 93 pts
SeverityFileLineSnippet
MEDIUMsamples/install/linux_install_b.sh2# This file contains documentation snippets for Linux installation tutorial
MEDIUMsamples/install/linux_install_a.sh2# This file contains documentation snippets for Linux installation tutorial
MEDIUMsamples/install/linux_quick_install_contrib.sh2# This file contains documentation snippets for Linux installation tutorial
MEDIUMsamples/install/linux_quick_install.sh2# This file contains documentation snippets for Linux installation tutorial
MEDIUM…ython/tutorial_code/video/optical_flow/optical_flow.py32# Create a mask image for drawing purposes
MEDIUM…ion/good_features_to_track/goodFeaturesToTrack_Demo.py51# Create a window and a trackbar
MEDIUM…e/TrackingMotion/corner_subpixels/cornerSubPix_Demo.py63# Create a window and a trackbar
MEDIUM…de/TrackingMotion/harris_detector/cornerHarris_Demo.py48# Create a window and a trackbar
MEDIUM…es/python/tutorial_code/imgProc/threshold/threshold.py40# Create a window to display results
MEDIUM…imgProc/morph_lines_detection/morph_lines_detection.py58 # Create the images that will use to extract the horizontal and vertical lines
MEDIUM…/ImgTrans/distance_transformation/imageSegmentation.py36# Create a kernel that we will use to sharpen our image
MEDIUM…/ImgTrans/distance_transformation/imageSegmentation.py89# Create the CV_8U version of the distance image
MEDIUM…/ImgTrans/distance_transformation/imageSegmentation.py96# Create the marker image for the watershed algorithm
MEDIUM…/ImgTrans/distance_transformation/imageSegmentation.py125# Create the result image
MEDIUM…escriptors/point_polygon_test/pointPolygonTest_demo.py6# Create an image
MEDIUM…escriptors/point_polygon_test/pointPolygonTest_demo.py10# Create a sequence of points to make a contour
MEDIUMsamples/python/tutorial_code/imgcodecs/animations.py7 # Create an Animation instance to save
MEDIUMsamples/dnn/text_detection.py23# Import required modules
MEDIUMsamples/dnn/text_detection.py155 # Create a new named window
MEDIUMsamples/dnn/text_detection.py179 # Create a 4D blob from frame.
MEDIUMsamples/dnn/text_detection.py210 # Create a 4D blob from cropped image
MEDIUMsamples/dnn/classification.py84 # Create a 4D blob from a frame.
MEDIUMsamples/dnn/tf_text_graph_ssd.py1# This file is a part of OpenCV project.
MEDIUMsamples/dnn/tf_text_graph_efficientdet.py1# This file is a part of OpenCV project.
MEDIUMsamples/dnn/mask_rcnn.py88 # Create a 4D blob from a frame.
MEDIUMsamples/dnn/object_detection.py281 # Create a 4D blob from a frame.
MEDIUMsamples/dnn/shrink_tf_graph_weights.py1# This file is part of OpenCV project.
MEDIUMsamples/dnn/segmentation.py101 # Create a 4D blob from a frame.
MEDIUM…/python/src2/typing_stubs_generation/api_refinement.py417 # Create a union of current type and Scalar
MEDIUM…pi/include/opencv2/gapi/pysrc/python_stream_source.hpp41 * # Create a G-API source from a Python class
MEDIUM…pi/include/opencv2/gapi/pysrc/python_stream_source.hpp44 * # Define a simple graph: input → copy → output
AI Slop Vocabulary32 hits · 89 pts
SeverityFileLineSnippet
LOWplatforms/android/build_static_aar.py176 # full dependency list for all ABIs. So we just add empty .a library if this ABI doesn't have this depen
MEDIUM…3d/real_time_pose_estimation/src/main_registration.cpp125 //Instantiate robust matcher: detector, extractor, matcher
MEDIUM…arty/flatbuffers/include/flatbuffers/vector_downward.h34// Essentially, this supports 2 std::vectors in a single buffer.
MEDIUMmodules/core/include/opencv2/core/cuda.hpp660 setBufferPoolUsage(true); // Tell OpenCV that we are going to utilize BufferPool
MEDIUMmodules/core/include/opencv2/core/cuda.hpp703 setBufferPoolUsage(true); // Tell OpenCV that we are going to utilize BufferPool
MEDIUMmodules/core/include/opencv2/core/cuda.hpp721 setBufferPoolUsage(true); // Tell OpenCV that we are going to utilize BufferPool
MEDIUMmodules/imgproc/src/hough.cpp2076 // be small and the arc can be big, or vice versa. Weighted area is more robust.
MEDIUMmodules/imgproc/src/hough.cpp2078 // It seems to be more robust to compare circle areas (without "pi" scale)
MEDIUMmodules/gapi/test/streaming/gapi_streaming_tests.cpp1332 // Runs 100 times with no deadlock - assumed stable (robust) enough
MEDIUMmodules/gapi/test/streaming/gapi_streaming_tests.cpp1345 // Runs 100 times with no deadlock - assumed stable (robust) enough
MEDIUM…ules/gapi/test/streaming/gapi_streaming_utils_test.cpp332 // utilize main thread as well
MEDIUMmodules/gapi/include/opencv2/gapi/gproto.hpp109 // FIXME: Someday utilize a generic tuple_to_vec<> routine
MEDIUMmodules/gapi/src/backends/oak/goakbackend.cpp946// Is there a way to extract API from somewhereelse/utilize structs
MEDIUM…reaming/onevpl/demux/async_mfp_demux_data_provider.cpp730 // utilize consumed bitstream portion allocated at prev step
MEDIUMmodules/gapi/src/compiler/gcompiler.cpp530 // FIXME: This may be hazardous if our backend are not very robust
MEDIUMmodules/gapi/src/compiler/passes/kernels.cpp238 // FIXME: Essentially the same problem as in the above resolveKernels
MEDIUMmodules/dnn/misc/python/test/test_dnn.py359 # Run asynchronously. To make test more robust, process inputs in the reversed order.
MEDIUMmodules/dnn/test/test_misc.cpp667 // Run asynchronously. To make test more robust, process inputs in the reversed order.
MEDIUMmodules/dnn/test/test_misc.cpp723 // Run asynchronously. To make test more robust, process inputs in the reversed order.
MEDIUMmodules/dnn/test/test_misc.cpp825 // Run asynchronously. To make test more robust, process inputs in the reversed order.
MEDIUMmodules/dnn/test/test_darknet_importer.cpp603 // Run asynchronously. To make test more robust, process inputs in the reversed order.
MEDIUMmodules/highgui/src/window_QT.h271//if (obj->metaObject ()->className () == "CvWindow") does not give me robust result
LOWmodules/ts/misc/xls-report.py121 # We can't just use a dictionary instead, since we want to preserve the sorted order of the keys.
MEDIUMmodules/ts/include/opencv2/ts/ts_gtest.h9748// This implementation is *not* meant to be as highly tuned or robust
MEDIUMmodules/ts/include/opencv2/ts/ts_gtest.h9821// In practice, this can be used to test functions that utilize the
MEDIUMmodules/photo/include/opencv2/photo.hpp71 https://www.learnopencv.com/seamless-cloning-using-opencv-python-cpp
MEDIUMmodules/calib3d/include/opencv2/calib3d.hpp550//! type of the robust estimation algorithm
MEDIUMmodules/calib3d/src/ptsetreg.cpp786 // The robust framework ensures consensus on larger sets; a closed-form LS refit
MEDIUMmodules/calib3d/src/ptsetreg.cpp1171 // run robust method
MEDIUMmodules/calib3d/src/ptsetreg.cpp1257 // run robust estimation
MEDIUMmodules/calib3d/src/ptsetreg.cpp1351 // Create robust estimators with the same semantics as affine functions.
MEDIUMmodules/calib3d/src/usac/bundle.cpp167 // Compute weight from robust loss function (used in the IRLS)
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippet
HIGH…oneXamlDirect3DApp1/Resources/AppResources.Designer.cs3// This code was generated by a tool.
HIGH…oneXamlDirect3DApp1/Resources/AppResources.Designer.cs3// This code was generated by a tool.
HIGH…enCVXaml/OpenCVXaml/Resources/AppResources.Designer.cs3// This code was generated by a tool.
HIGHmodules/calib3d/src/usac/utils.cpp639 // skip neighbor which has the same index as requested point
Redundant / Tautological Comments22 hits · 30 pts
SeverityFileLineSnippet
LOWsamples/python/houghcircles.py32 if circles is not None: # Check if circles have been found and only then iterate over these and add them to the imag
LOW…ples/python/tutorial_code/imgProc/Pyramids/pyramids.py19 # Check if image is loaded fine
LOW…imgProc/morph_lines_detection/morph_lines_detection.py28 # Check if image is loaded fine
LOW…/tutorial_code/ImgTrans/MakeBorder/copy_make_border.py22 # Check if image is loaded fine
LOW…les/python/tutorial_code/ImgTrans/Filter2D/filter2D.py19 # Check if image is loaded fine
LOW…/python/tutorial_code/ImgTrans/LaPlace/laplace_demo.py21 # Check if image is loaded fine
LOW…/python/tutorial_code/ImgTrans/SobelDemo/sobel_demo.py29 # Check if image is loaded fine
LOW…python/tutorial_code/ImgTrans/HoughLine/hough_lines.py19 # Check if image is loaded fine
LOW…hon/tutorial_code/ImgTrans/HoughCircle/hough_circle.py14 # Check if image is loaded fine
LOW…ial_code/ml/introduction_to_pca/introduction_to_pca.py68# Check if image is loaded successfully
LOWmodules/core/include/opencv2/core/persistence.hpp79-# Close the file using FileStorage::release. FileStorage destructor also closes the file.
LOWmodules/core/include/opencv2/core/persistence.hpp176-# Open the file storage using FileStorage::FileStorage constructor or FileStorage::open method.
LOWmodules/python/src2/gen2.py655 # Check if there is params structure in arguments
LOW…ules/python/src2/typing_stubs_generation/generation.py595 # Check if typing module is required due to @overload decorator usage
LOW…ules/python/src2/typing_stubs_generation/generation.py775 # Check if alias is already registered
LOW…ules/python/src2/typing_stubs_generation/generation.py784 # Check if collection contains a link to another alias
LOW…/python/src2/typing_stubs_generation/api_refinement.py193 # Check if library is built with enabled highgui module
LOW…/python/src2/typing_stubs_generation/api_refinement.py404 # Check if it's already a union or if it already includes Scalar
LOW…/python/src2/typing_stubs_generation/api_refinement.py406 # Check if Scalar is already in the union
LOW…ython/src2/typing_stubs_generation/types_conversion.py237 # Check if argument requires type substitution
LOWmodules/js/generator/embindgen.py858 # Check if the method is an external constructor
LOWmodules/ts/misc/run_long.py108# Print result to the stdout
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippet
CRITICALmodules/java/generator/gen_java.py369 jcleaner = "long nativeObjCopy = nativeObj;\n org.opencv.core.Mat.cleaner.register(this, ()
CRITICALmodules/java/generator/gen_java.py952 tail = ";\n long nativeObjCopy = nativeObj;\n org.opencv.core.Mat.cleaner.register(this, () -> delet
Slop Phrases8 hits · 12 pts
SeverityFileLineSnippet
LOW…irect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp35 // Don't forget to declare your application's minimum required feature level in its
LOW…irect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DBase.cpp35 // Don't forget to declare your application's minimum required feature level in its
LOW3rdparty/openjpeg/openjp2/t2.c584 /* don't forget to release pi */
MEDIUMmodules/core/include/opencv2/core/mat.hpp103Here is how you can use a function that takes InputArray :
LOWmodules/core/include/opencv2/core/hal/intrin_cpp.hpp145don't forget to check the CV_SIMD256 preprocessor definition:
LOWmodules/core/include/opencv2/core/hal/intrin_cpp.hpp162don't forget to check the CV_SIMD512 preprocessor definition.
LOWmodules/core/include/opencv2/core/hal/intrin_cpp.hpp165cv::v_float64x2 is not implemented in NEON variant, if you want to use this type, don't forget to
MEDIUMmodules/imgcodecs/src/rgbe.cpp57// feel free to modify it to suit your needs.
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippet
HIGH…dules/python/src2/typing_stubs_generation/ast_utils.py77Traverses down nodes hierarchy to the direct parent of the node referred by `symbol_name`. Args: root (
HIGH…dules/python/src2/typing_stubs_generation/ast_utils.py344Traverses up nodes hierarchy to find closest enclosing namespace of the passed node Args: node (ASTNode
Verbosity Indicators6 hits · 9 pts
SeverityFileLineSnippet
LOWmodules/core/include/opencv2/core/types.hpp1529 // Step 1: lo + hi
LOWmodules/core/include/opencv2/core/types.hpp1543 // Step 2: sum + mid
LOWmodules/core/src/utils/datafile.cpp211 // Step 0: check current directory or absolute path at first
LOWmodules/objdetect/src/aruco/aruco_detector.cpp748 /// Step 0: equation (2) from paper [1]
LOWmodules/objdetect/src/aruco/aruco_detector.cpp753 /// Step 1: create image pyramid. Section 3.4. in [1]
LOWmodules/gapi/src/backends/render/ft_render.cpp83 // We need to check if the glyph goes beyond the last position of the pen
Dead Code1 hit · 2 pts
SeverityFileLineSnippet
MEDIUM…es/gapi/misc/python/test/test_gapi_sample_pipelines.py582
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOW3rdparty/openexr/IlmImf/ImfArray.h51// Usage example: