ALPR on Bitmap objects on Android machines

3 views
Skip to first unread message

Navin Jethani

unread,
Jul 3, 2024, 6:51:42 PM (4 days ago) Jul 3
to doubango-ai
Hello

We load JPEG files into Bitmap files using BitmapFactory.decodeFile
We copy the bitmap pixel to a buffer.
bitmap.copyPixelsToBuffer(buffer);


Then, UltAlprSdkEngine.process is called with the following parameters.



final UltAlprSdkResult result = UltAlprSdkEngine.process(
ULTALPR_SDK_IMAGE_TYPE.ULTALPR_SDK_IMAGE_TYPE_RGBA32,
buffer,
bitmap.getWidth(),
bitmap.getHeight()
);

07-03 15:14:41.458 E/org.doubango.compv(25630): ***[COMPV ERROR]: function: "UltimateBaseDebugPrint()"
07-03 15:14:41.458 E/org.doubango.compv(25630): file: "../../../../ultimateBase/lib/include\ultimate_base_debug.h"
07-03 15:14:41.458 E/org.doubango.compv(25630): line: "50"
07-03 15:14:41.458 E/org.doubango.compv(25630): message: [UltAlprSdkEngine]Invalid parameters

Any help on what could be going wrong?

Regards
Navin



MAMADOU DIOP

unread,
Jul 4, 2024, 10:21:13 AM (4 days ago) Jul 4
to Navin Jethani, doubango-ai
--
You received this message because you are subscribed to the Google Groups "doubango-ai" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doubango-ai...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/doubango-ai/2d124d8e-3da2-484d-93aa-51a5f8ea819fn%40googlegroups.com.

MAMADOU DIOP

unread,
Jul 4, 2024, 10:27:06 AM (4 days ago) Jul 4
to Navin Jethani, doubango-ai
Reply all
Reply to author
Forward
0 new messages