|
|
@ -49,6 +49,9 @@ extern "C" |
|
|
|
resultToCodeResult(&code, result); |
|
|
|
resultToCodeResult(&code, result); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
delete[] data; |
|
|
|
|
|
|
|
delete[] bytes; |
|
|
|
|
|
|
|
|
|
|
|
int evalInMillis = static_cast<int>(get_now() - start); |
|
|
|
int evalInMillis = static_cast<int>(get_now() - start); |
|
|
|
platform_log("Read Barcode in: %d ms\n", evalInMillis); |
|
|
|
platform_log("Read Barcode in: %d ms\n", evalInMillis); |
|
|
|
return code; |
|
|
|
return code; |
|
|
@ -84,6 +87,9 @@ extern "C" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
delete[] data; |
|
|
|
|
|
|
|
delete[] bytes; |
|
|
|
|
|
|
|
|
|
|
|
int evalInMillis = static_cast<int>(get_now() - start); |
|
|
|
int evalInMillis = static_cast<int>(get_now() - start); |
|
|
|
platform_log("Read Barcode in: %d ms\n", evalInMillis); |
|
|
|
platform_log("Read Barcode in: %d ms\n", evalInMillis); |
|
|
|
return {i, codes}; |
|
|
|
return {i, codes}; |
|
|
|