src/server/nodes/processing/CameraCalibrationNode.ts
Function process
has 80 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);