scry/tools/DbGenerator/Program.cs
Chris Kruining 56499d5af9
Add debug output support and refactor DbGenerator CLI
- Add RecognitionOptions with DebugOutputDirectory for saving pipeline
  stages (input, detection, perspective correction, CLAHE preprocessing)
- Wire up IOptions<RecognitionOptions> via DI in MauiProgram
- Extract GenerateCommand from Program.cs using Spectre.Console.Cli
- Add priority card support with preferred set matching (Alpha/Beta)
- Expand card_hashes.db with more cards for better recognition coverage
- Update AGENTS.md with comprehensive project documentation

💘 Generated with Crush

Assisted-by: Claude Opus 4.5 via Crush <crush@charm.land>
2026-02-09 08:39:15 +01:00

12 lines
240 B
C#

using DbGenerator;
using Spectre.Console.Cli;
var app = new CommandApp<GenerateCommand>();
app.Configure(config =>
{
config.SetApplicationName("dbgen");
config.SetApplicationVersion("1.0.0");
});
return await app.RunAsync(args);