Initial .NET scaffold: Core, Console, WPF projects
Introduced solution structure for AIFotoONLUS migration to .NET. Added Core library with YOLO-based detection/recognition engine using OpenCvSharp, Console batch runner, and WPF demo frontend with MVVM. Implemented model loading, directory processing, progress reporting, and preferences. Added README with build/run instructions.
This commit is contained in:
parent
314761bf9e
commit
769afc08fb
18 changed files with 976 additions and 0 deletions
20
src/AIFotoONLUS.Core/ModelConfiguration.cs
Normal file
20
src/AIFotoONLUS.Core/ModelConfiguration.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using OpenCvSharp;
|
||||
|
||||
namespace AIFotoONLUS.Core
|
||||
{
|
||||
public class ModelConfiguration
|
||||
{
|
||||
public string DetectionCfg { get; set; } = "models/detection.cfg";
|
||||
public string DetectionWeights { get; set; } = "models/detection.weights";
|
||||
public string RecognitionCfg { get; set; } = "models/recognition.cfg";
|
||||
public string RecognitionWeights { get; set; } = "models/recognition.weights";
|
||||
|
||||
public double ConfidenceThreshold { get; set; } = 0.5;
|
||||
public double NmsThreshold { get; set; } = 0.4;
|
||||
|
||||
public Size DetectionInputSize { get; set; } = new Size(416, 416);
|
||||
public Size RecognitionInputSize { get; set; } = new Size(140, 120);
|
||||
|
||||
public string[] NumberClasses { get; set; } = new[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue