Android Opencv static initialization
<p>I am using OpenCV for Android in my app using static initialization. The code to initialize is -</p>

<pre><code>static {
    if(!OpenCVLoader.initDebug()) {
        Log.d("My App", "Unable to load OpenCV");
    } else {
        Log.d("My App", "OpenCV loaded");
    }
}
</code></pre>

<p>Well this works fine. But in the OpenCV documentation it is specified that initDebug() is deprecated -</p>

<blockquote>
  <p>Note This method is deprecated for production code. It is designed for
  experimental and local development purposes only. If you want to
  publish your app use approach with async initialization.</p>
</blockquote>

<p>Now if I use async initialization, it uses OpenCV manager app which should be installed on the device. This is not what I want.</p>

<p>My question is -
If initDebug() is deprecated to use in release mode, is there any other way to load openCV which does not use OpenCV Manager? Or is it safe to load OpenCV using initDebug()?</p>