Bugfix: Signed buffer has been removed.

This commit is contained in:
Peter Rekdal Sunde
2015-07-09 18:13:59 +02:00
parent 82cf3f95fb
commit 2e6350b191

View File

@@ -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)
{ {