tjw commited on
Commit
05496fd
1 Parent(s): 6261698
Files changed (1) hide show
  1. aimodel.py +1 -1
aimodel.py CHANGED
@@ -241,7 +241,7 @@ def read_meter(img:Image.Image|str|Path, fl, fl_ft):
241
  X = np.concatenate([kg_cm2_theta, psi_theta])
242
  data = np.stack([X, Y], axis=1)
243
  # run ransac to robustly fit a line model
244
- lm, inliers = ransac(data, LineModelND, min_samples=2,
245
  residual_threshold=15,
246
  max_trials=2)
247
 
 
241
  X = np.concatenate([kg_cm2_theta, psi_theta])
242
  data = np.stack([X, Y], axis=1)
243
  # run ransac to robustly fit a line model
244
+ lm, inliers = ransac(data, LineModelND, min_samples=3,
245
  residual_threshold=15,
246
  max_trials=2)
247