Closed CJL6015 closed 1 year ago
You may want to try GraalVM Native Image for that use case...
There's a sample project for that here: https://github.com/bytedeco/sample-projects/tree/master/opencv-stitching-native
Thanks for your reply! Does initialization only need to be done once? Or does it need to be reinitialized after a while?
That's not related to JavaCV. You'll need to ask about that upstream: https://github.com/openjdk/jdk
When I convert the byte array to mat for the first time it takes more than 3 seconds.And the subsequent conversion of the byte array to mat is even less than 1 millisecond.