AI Slop Code RIsk Monitor

shimat/opencvsharp

OpenCV wrapper for .NET

6.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for shimat/opencvsharp, a C# project with 6,114 GitHub stars. SynthScan examined 223,110 lines of code across 1451 source files, recording 1312 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 6.1 (Moderate 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.

6.1
Adjusted Signal
6.1
Raw Pattern Score
100%
Time Factor
2026-10-05
Last Push
6.1K
Stars
C#
Language
223.1K
Lines of Code
1.5K
Files
1.3K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 24.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1286 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 0 finding(s).

Agent Over-Engineering Ratio 1.9/100 · LOW

Are wrappers, guards, and repeated structures necessary? 26 finding(s).

PR Review Velocity Impact 27.5/100 · MEDIUM

Which changes need focused human review? 1312 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 1MEDIUM 59LOW 1252

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 1312 distinct pattern matches across 5 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.

Over-Commented Block1251 hits · 1174 pts
SeverityFileLineSnippetContext
LOWpackaging/docker/manylinux/build_static_deps.sh1#!/usr/bin/env bashCOMMENT
LOWpackaging/docker/manylinux/build_static_deps.sh21mkdir -p "${BUILD_DIR}" "${INSTALL_PREFIX}"COMMENT
LOWtest/OpenCvSharp.Tests/superres/SuperResTest.cs61 // Note: SuperResolution.NextFrame is deliberately not tested here. Calling it withCOMMENT
LOWtest/OpenCvSharp.Tests/dnn/ModelTest.cs1using System.Runtime.InteropServices;COMMENT
LOW.devcontainer/manylinux/build_extern.sh1#!/usr/bin/env bashCOMMENT
LOW.devcontainer/manylinux/devcontainer.json1// Dev container that reproduces the manylinux_2_28 CI build environment.COMMENT
LOW.github/workflows/windows.yml381 shell: powershellCOMMENT
LOWsrc/OpenCvSharpExtern/imgcodecs.cpp1#include "imgcodecs.h"COMMENT
LOWsrc/OpenCvSharpExtern/shape_HistogramCostExtractor.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/my_types.h21// used ONLY as by-value parameters and return values of the extern "C"COMMENT
LOWsrc/OpenCvSharpExtern/my_types.h221 typedef struct Vec4d { double val[4]; } Vec4d;COMMENT
LOWsrc/OpenCvSharpExtern/my_types.h481// -------------------------------------------------------------------------COMMENT
LOWsrc/OpenCvSharpExtern/geometry.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/superres.cpp1#include "superres.h"COMMENT
LOWsrc/OpenCvSharpExtern/ml.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/dnn.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/imgcodecs.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/ximgproc_EdgeDrawing.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/stitching.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/videoio.cpp1#include "videoio.h"COMMENT
LOWsrc/OpenCvSharpExtern/text.cpp1#include "text.h"COMMENT
LOWsrc/OpenCvSharpExtern/text.h121#endif // _WINRT_DLLCOMMENT
LOWsrc/OpenCvSharpExtern/dnn.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/core.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/calib.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/aruco.cpp1#include "aruco.h"COMMENT
LOWsrc/OpenCvSharpExtern/bgsegm.cpp1#include "bgsegm.h"COMMENT
LOWsrc/OpenCvSharpExtern/xfeatures2d.cpp1#include "xfeatures2d.h"COMMENT
LOWsrc/OpenCvSharpExtern/videoio.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/phase_unwrapping.cpp1#include "phase_unwrapping_PhaseUnwrapping.h"COMMENT
LOWsrc/OpenCvSharpExtern/photo.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/dnn_Model.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/saliency.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/wechat_qrcode.cpp1#include "wechat_qrcode.h"COMMENT
LOWsrc/OpenCvSharpExtern/quality.cpp1#include "quality.h"COMMENT
LOWsrc/OpenCvSharpExtern/flann.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/optflow_gpc.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/objdetect.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/std_vector.cpp1#include "std_vector.h"COMMENT
LOWsrc/OpenCvSharpExtern/video.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/line_descriptor.cpp1#include "line_descriptor.h"COMMENT
LOWsrc/OpenCvSharpExtern/stereo.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/rgbd_kinfu.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/highgui.cpp1#include "highgui.h"COMMENT
LOWsrc/OpenCvSharpExtern/optflow.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/dnn_TextModel.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/ptcloud.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/xphoto.cpp1#include "xphoto.h"COMMENT
LOWsrc/OpenCvSharpExtern/rgbd_large_kinfu.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/optflow_gpc.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/my_functions.h1// Additional functionsCOMMENT
LOWsrc/OpenCvSharpExtern/my_functions.h121# define CV_STDCALL __stdcallCOMMENT
LOWsrc/OpenCvSharpExtern/cuda.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/shape.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/xfeatures2d_BOW.h1#pragma onceCOMMENT
LOWsrc/OpenCvSharpExtern/tracking.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/rgbd.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/img_hash.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/face.cpp1// ReSharper disable CppUnusedIncludeDirectiveCOMMENT
LOWsrc/OpenCvSharpExtern/rgbd_colored_kinfu.h1#pragma onceCOMMENT
1191 more matches not shown…
AI Slop Vocabulary33 hits · 99 pts
SeverityFileLineSnippetContext
MEDIUMsrc/OpenCvSharp/Cv2/Cv2_photo.cs188 /// manually selected (ROI), in a seamless and effortless manner. The extent ofCOMMENT
MEDIUMsrc/OpenCvSharp/Cv2/Cv2_video.cs200 /// yielding more robust algorithm and more blurred motion field, typically poly_n =5 or 7.</param>COMMENT
MEDIUMsrc/OpenCvSharp/Cv2/Cv2_geometry.cs79 /// <param name="mask"> Optional output mask set by a robust method ( CV_RANSAC or CV_LMEDS ). Note that the input mCOMMENT
MEDIUMsrc/OpenCvSharp/Cv2/Cv2_geometry.cs111 /// <param name="mask"> Optional output mask set by a robust method ( CV_RANSAC or CV_LMEDS ). Note that the input mCOMMENT
MEDIUMsrc/OpenCvSharp/Cv2/Cv2_geometry.cs147 /// <param name="mask"> Optional output mask set by a robust method ( CV_RANSAC or CV_LMEDS ). Note that the input mCOMMENT
MEDIUMsrc/OpenCvSharp/Cv2/Cv2_geometry.cs1250 /// USAC robust estimation framework (OpenCV 5).COMMENT
MEDIUMsrc/OpenCvSharp/Cv2/Cv2_geometry.cs1740 /// <param name="maxIters">The maximum number of robust method iterations.</param>COMMENT
MEDIUMsrc/OpenCvSharp/Cv2/Cv2_geometry.cs1745 /// Passing 0 will disable refining, so the output matrix will be output of robust method.</param>COMMENT
MEDIUMsrc/OpenCvSharp/Cv2/Cv2_geometry.cs1773 /// <param name="maxIters">The maximum number of robust method iterations.</param>COMMENT
MEDIUMsrc/OpenCvSharp/Cv2/Cv2_geometry.cs2072 /// <param name="maxIters">The maximum number of robust method iterations.</param>COMMENT
MEDIUM…OpenCvSharp/Modules/calib/Enum/FindCirclesGridFlags.cs20 /// uses a special algorithm for grid detection. It is more robust to perspective distortions but much more sensitivCOMMENT
MEDIUMsrc/OpenCvSharp/Modules/surface_matching/ICP.cs29 /// <param name="rejectionScale">Standard-deviation coefficient used for robust outlier rejection.</param>COMMENT
MEDIUMsrc/OpenCvSharp/Modules/video/FarnebackOpticalFlow.cs27 /// robust algorithm and more blurred motion field, typically polyN =5 or 7.</param>COMMENT
MEDIUMsrc/OpenCvSharp/Modules/video/VariationalRefinement.cs171 /// Norm value shift for robust penalizerCOMMENT
MEDIUMsrc/OpenCvSharp/Modules/video/DISOpticalFlow.cs218 /// Norm value shift for robust penalizerCOMMENT
MEDIUMsrc/OpenCvSharp/Modules/video/TrackerMIL.cs10/// Multiple Instance Learning avoids the drift problem for a robust tracking.The implementation is based on @cite MIL.COMMENT
MEDIUMsrc/OpenCvSharp/Modules/face/Facemark/Facemark.cs13/// To utilize this API in your program, please take a look at the @ref tutorial_table_of_content_facemarkCOMMENT
MEDIUMsrc/OpenCvSharp/Modules/xfeatures2d/LUCID.cs9/// about as robust as, for example, SURF or BRIEF.COMMENT
MEDIUMsrc/OpenCvSharp/Modules/optflow/Cv2.OptFlow.cs313 /// Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms andCOMMENT
MEDIUMsrc/OpenCvSharp/Modules/optflow/Cv2.OptFlow.cs369 /// Calculates a fast optical flow for a sparse feature set using the robust local optical flow (RLOF),COMMENT
MEDIUMsrc/OpenCvSharp/Modules/optflow/DenseRLOFOpticalFlow.cs6/// Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms andCOMMENT
MEDIUM…penCvSharp/Modules/optflow/RLOFOpticalFlowParameter.cs6/// Stores and sets up the parameters of the robust local optical flow (RLOF) algorithm.COMMENT
MEDIUM…penCvSharp/Modules/optflow/RLOFOpticalFlowParameter.cs41 /// (least-square estimator, faster but less robust against outliers in the support region).COMMENT
MEDIUM…c/OpenCvSharp/Modules/optflow/SparseRLOFOpticalFlow.cs6/// Class used for calculating sparse optical flow and feature tracking with robust local optical flow (RLOF) algorithmsCOMMENT
MEDIUM…/OpenCvSharp/Modules/optflow/Enum/InterpolationType.cs20 /// SLIC based robust interpolation using ximgproc::RICInterpolator.COMMENT
MEDIUM…penCvSharp/Modules/ximgproc/StructuredEdgeDetection.cs57 /// The algorithm underlies this function is much more robust to texture presence, than common approaches, e.g.SobelCOMMENT
MEDIUMsrc/OpenCvSharp/Modules/tracking/Legacy/TrackerMIL.cs10/// background. Multiple Instance Learning avoids the drift problem for a robust tracking.COMMENT
MEDIUM…OpenCvSharp/Modules/geometry/Enum/HomographyMethods.cs14 /// Least-Median robust methodCOMMENT
MEDIUM…OpenCvSharp/Modules/geometry/Enum/HomographyMethods.cs19 /// RANSAC-based robust methodCOMMENT
MEDIUM…rp/Modules/geometry/Enum/RobustEstimationAlgorithms.cs7/// type of the robust estimation algorithmCOMMENT
MEDIUMsrc/OpenCvSharp/Modules/geometry/Enum/SacMethod.cs5/// Type of the robust estimation algorithm used by <see cref="SACSegmentation"/>.COMMENT
MEDIUMsrc/OpenCvSharp/Modules/photo/SeamlessCloneMethods.cs19 /// with the original image, is not effective. Mixed seamless cloning based on aCOMMENT
MEDIUMsrc/OpenCvSharp/Modules/photo/SeamlessCloneMethods.cs46 /// with the original image, is not effective. Mixed seamless cloning based on aCOMMENT
Decorative Section Separators26 hits · 87 pts
SeverityFileLineSnippetContext
MEDIUMpackaging/docker/manylinux/build_static_deps.sh30# ---------------------------------------------------------------------------COMMENT
MEDIUMpackaging/docker/manylinux/build_static_deps.sh45# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.devcontainer/manylinux/build_extern.sh16# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.devcontainer/manylinux/build_extern.sh18# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.devcontainer/manylinux/build_extern.sh24# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.devcontainer/manylinux/build_extern.sh26# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.devcontainer/manylinux/build_extern.sh29# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.devcontainer/manylinux/build_extern.sh31# ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/manylinux.yml20 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/manylinux.yml25 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/manylinux.yml53 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/manylinux.yml59 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/manylinux.yml92 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/manylinux.yml96 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/manylinux.yml184 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/manylinux.yml187 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/manylinux.yml289 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/manylinux.yml292 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/publish_nuget.yml230 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/publish_nuget.yml237 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/macos.yml35 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/macos.yml38 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/macos.yml180 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/macos.yml182 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/macos.yml392 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/macos.yml394 # ---------------------------------------------------------------------------COMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.github/copilot-instructions.md259This repo has no `PULL_REQUEST_TEMPLATE.md`, so there's no fixed checklist to fill in — but that doesn't mean invent youCODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…c/OpenCvSharp/Modules/imgproc/IntelligentScissorsMB.cs11/// Usage example:COMMENT