Java interface to OpenCV, FFmpeg, and more
This report summarizes scanner evidence for bytedeco/javacv, a Java project with 8,353 GitHub stars. SynthScan examined 56,239 lines of code across 124 source files, recording 31 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 0.9 (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? 29 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 31 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 31 distinct pattern matches across 4 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 | samples/WebcamAndMicrophoneCapture.java | 61 | // RTMP url to an FMS / Wowza server | COMMENT |
| LOW | samples/Demo.java | 61 | // CanvasFrame, FrameGrabber, and FrameRecorder use Frame objects to communicate image data. | COMMENT |
| LOW | samples/Square.java | 101 | } | COMMENT |
| LOW | samples/Square.java | 121 | COMMENT | |
| LOW | samples/Square.java | 201 | // PointerPointer rect = new PointerPointer(pt); | COMMENT |
| LOW | samples/Square.java | 221 | CvPoint rect = new CvPoint(4); | COMMENT |
| LOW | …in/java/org/bytedeco/javacv/RealSenseFrameGrabber.java | 341 | int deviceHeight = device.get_stream_height(RealSense.color); | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/MarkerDetector.java | 161 | // default: | COMMENT |
| LOW | …c/main/java/org/bytedeco/javacv/ProCamTransformer.java | 421 | this.surfaceParameters = surfaceParameters; | COMMENT |
| LOW | …in/java/org/bytedeco/javacv/ProjectiveTransformer.java | 321 | projectiveParameters = new double[] { 0, 0, 0, 0, 0, 0, 0, 0, 0}; | COMMENT |
| LOW | …in/java/org/bytedeco/javacv/ProjectiveTransformer.java | 441 | // } | COMMENT |
| LOW | …in/java/org/bytedeco/javacv/ProjectiveTransformer.java | 501 | // // H = K2 * H * K1^-1 | COMMENT |
| LOW | …in/java/org/bytedeco/javacv/ProCamColorCalibrator.java | 161 | // // smallest (power of 2) number of channel that can accomodate "counter" number of samples | COMMENT |
| LOW | …in/java/org/bytedeco/javacv/ProCamColorCalibrator.java | 181 | // } | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/Blobs.java | 1 | package org.bytedeco.javacv; | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/Blobs.java | 21 | //* *// | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/Blobs.java | 41 | //* Blob.BlobAnalysis( *// | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/Blobs.java | 361 | BorderRegion[BLOBMINX] = -1; | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/Blobs.java | 381 | //-------------------------- | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/JavaCVCL.java | 101 | public JavaCVCL(boolean createPbuffer) { | COMMENT |
| LOW | …main/java/org/bytedeco/javacv/FFmpegFrameRecorder.java | 1121 | } | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/ProjectiveDevice.java | 341 | case 'G': order[i] = 1; break; | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/ProjectiveDevice.java | 361 | //Compensates for radial and tangential distortion. Model From Oulu university. | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/ProjectiveDevice.java | 521 | IplImage map2 = undistortMaps2[p]; | COMMENT |
| LOW | src/main/java/org/bytedeco/javacv/ProjectiveDevice.java | 541 | // int height = mapx.height(); | COMMENT |
| LOW | …va/org/bytedeco/javacv/ProjectiveColorTransformer.java | 261 | } | COMMENT |
| LOW | src/main/java/cl/eye/CLCamera.java | 1 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | samples/PrincipalComponentAnalysis.java | 34 | private static final Slf4jLogger logger = (Slf4jLogger) org.bytedeco.javacpp.tools.Logger.create(PrincipalComponentA | CODE |
| CRITICAL | samples/BioInspiredRetina.java | 37 | private static final Slf4jLogger logger = (Slf4jLogger) org.bytedeco.javacpp.tools.Logger.create(BioInspiredRetina.c | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/main/java/org/bytedeco/javacv/MarkedPlane.java | 201 | // compute homography ... should we use a robust method? | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | samples/YOLONet.java | 29 | This is a basic implementation of a YOLO object detection network inference example. | CODE |