mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 00:02:52 +08:00
Fixed .NET demo programs to use 3-arg constructor
This commit is contained in:
@@ -131,7 +131,9 @@ namespace openalprnet_windemo
|
||||
{
|
||||
resetControls();
|
||||
var region = rbUSA.Checked ? "us" : "eu";
|
||||
using (var alpr = new AlprNet(region, Path.Combine(AssemblyDirectory, "openalpr.conf")))
|
||||
String config_file = Path.Combine(AssemblyDirectory, "openalpr.conf");
|
||||
String runtime_data_dir = Path.Combine(AssemblyDirectory, "runtime_data");
|
||||
using (var alpr = new AlprNet(region, config_file, runtime_data_dir))
|
||||
{
|
||||
if (!alpr.isLoaded())
|
||||
{
|
||||
|
Reference in New Issue
Block a user