79335372

Date: 2025-01-07 08:54:08
Score: 1
Natty:
Report link

As of the 2020 to 25 update, you only need to add the following code in your activity's onResume or onCreate method before calling any OpenCV-related functions or methods:

OpenCVLoader.initLocal();
// or
OpenCVLoader.initDebug();

And boom, this will resolve the error.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vishal Anand