Reduce max snapshots to 12 (#195)

This prevents OOMs on Gloworm, without sacrificing too much accuracy
This commit is contained in:
Matt
2020-12-27 20:32:26 -08:00
committed by GitHub
parent 79fc194575
commit d327428e1b
2 changed files with 2 additions and 2 deletions

View File

@@ -119,7 +119,7 @@ export default new Vuex.Store({
calibrationData: {
count: 0,
videoModeIndex: 0,
minCount: 25,
minCount: 12, // Gets set by backend anyways, but we need a sane default
hasEnough: false,
squareSizeIn: 1.0,
patternWidth: 8,

View File

@@ -74,7 +74,7 @@ public class Calibrate3dPipeline
private final Path imageDir = ConfigManager.getInstance().getCalibDir();
public Calibrate3dPipeline() {
this(25);
this(12);
}
public Calibrate3dPipeline(int minSnapshots) {