--
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/d0897d81-c54b-48ad-92ad-92fef0f09ccfn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/doubango-ai/D61ACFDD-6F10-4491-A825-4816892E3051%40doubango.org.
This is no a "C++ sample code", it's a single-line code. If you can't convert it to Java we have a bigger problem.C++ sample code doesn't help though we use Java.
If you take time to check the code you'll see there is Java sample for all platforms (RPI, Linux, Windows...): https://github.com/DoubangoTelecom/ultimateALPR-SDK/tree/master/samples/java/recognizerand sample java code uses android libraries which are not present in java se
Mamadou DIOP <diopm...@doubango.org>, 1 May 2021 Cmt, 23:39 tarihinde şunu yazdı:
I'm not familiar with Java OpenCV but would definitely not do it like this. For 720p BGR image (1280*720*3), you'll be copying 2.7MB back and forth for each call. You may end spending more timing doing memory copy than ANPR processing.
[1] shows you can retrieve the address of the data wrapped by the Mat object
[2] shows you can create a direct byte
buffer using that address and pass it to a native code (zero
copy)
[1] https://docs.opencv.org/3.4/javadoc/org/opencv/core/Mat.html#dataAddr()
To view this discussion on the web visit https://groups.google.com/d/msgid/doubango-ai/9c16d795-b141-43fb-b2e3-cf798cd98b53n%40googlegroups.com.