plugin system docs
custom buttons for plugins calibration functions for Leeform
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace VisionBuilder.UI.RaspberryAcquisition.Models;
|
||||
|
||||
public class CalibrationData
|
||||
{
|
||||
public double[] CameraMatrix { get; set; } = [];
|
||||
public double[] DistCoeffs { get; set; } = [];
|
||||
public double RmsError { get; set; }
|
||||
public int ImageWidth { get; set; }
|
||||
public int ImageHeight { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace VisionBuilder.UI.RaspberryAcquisition.Models;
|
||||
|
||||
public class CaptureSettings
|
||||
{
|
||||
public int Width { get; set; } = 2028;
|
||||
public int Height { get; set; } = 1520;
|
||||
public int ShutterSpeed { get; set; } = 10000;
|
||||
public int Framerate { get; set; } = 2;
|
||||
public double AwbGainRed { get; set; } = 3.86;
|
||||
public double AwbGainBlue { get; set; } = 1.46;
|
||||
|
||||
public string BuildArguments()
|
||||
{
|
||||
return $"--codec mjpeg -t0 --width {Width} --height {Height} " +
|
||||
$"--shutter {ShutterSpeed} --framerate {Framerate} " +
|
||||
$"--awbgains {AwbGainRed:F2},{AwbGainBlue:F2} --nopreview -o -";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user