OpenHPS/openhps-opencv

View on GitHub
src/server/nodes/processing/CameraCalibrationNode.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Function process has 80 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    process(data: ImageFrame): Promise<ImageFrame> {
        return new Promise<ImageFrame>((resolve, reject) => {
            const boardSize = new Size(this.options.boardSize[0], this.options.boardSize[1]);
            const criteria = new TermCriteria(termCriteria.EPS | termCriteria.MAX_ITER, 30, 0.001);

Severity: Major
Found in src/server/nodes/processing/CameraCalibrationNode.ts - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status