Hi,
You *must* use a Direct buffer. Read https://javarevisited.blogspot.com/2015/08/difference-between-direct-non-direct-mapped-bytebuffer-nio-java.html
Use code at https://github.com/DoubangoTelecom/ultimateALPR-SDK/blob/8130c76140fe8edc60fe20f875796121a8d22fed/samples/android/benchmark/src/main/java/org/doubango/ultimateAlpr/AlprBenchmarkActivity.java#L461 as reference
Most importantly, always share your full code and full logs, *do
not cut them*
--
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.
the important line to create the direct buffer is at
https://github.com/DoubangoTelecom/ultimateALPR-SDK/blob/8130c76140fe8edc60fe20f875796121a8d22fed/samples/android/benchmark/src/main/java/org/doubango/ultimateAlpr/AlprBenchmarkActivity.java#L480
To view this discussion on the web visit https://groups.google.com/d/msgid/doubango-ai/8131ca3a-2cd3-4085-a4db-749805d5224b%40doubango.org.