Open Nook2007 opened 3 years ago
X86-64 or ARM64? Both (Java and C++) are using parallel (or sequential) mode? Please share sample code you're using.
recognizer.zip Tested on x86-64 sequential mode
Please attach both logs (c++ and java)
The only difference I see is the input: C++ uses RGB while Java uses BGR.
In your Java code change ULTALPR_SDK_IMAGE_TYPE_BGRA32
to ULTALPR_SDK_IMAGE_TYPE_RGBA32
and ULTALPR_SDK_IMAGE_TYPE_BGR24
to ULTALPR_SDK_IMAGE_TYPE_RGB24
and share the Java logs again.
The change I'm asking to do isn't correct in production, so revert the change after collecting the logs.
Any updates?
c++ 2x faster than java on linux x64, with same machine/rate/config/images