mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 01:12:47 +08:00
Bugfix: Signed buffer has been removed.
This commit is contained in:
@@ -110,8 +110,7 @@ namespace openalprnet_cli
|
|||||||
private static void PerformAlpr(AlprNet alpr, byte[] buffer, bool benchmark, bool writeJson)
|
private static void PerformAlpr(AlprNet alpr, byte[] buffer, bool benchmark, bool writeJson)
|
||||||
{
|
{
|
||||||
var sw = Stopwatch.StartNew();
|
var sw = Stopwatch.StartNew();
|
||||||
sbyte[] signedBuffer = (sbyte[])(Array)buffer;
|
var results = alpr.recognize(buffer);
|
||||||
var results = alpr.recognize(signedBuffer);
|
|
||||||
sw.Stop();
|
sw.Stop();
|
||||||
if (benchmark)
|
if (benchmark)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user