I developed a motion sensor application that takes two photos per second with a camera and compares them. This is the core logic of the application. I used ProCamBade64 for the camera and the KIO4_CompareImages extension to compare the photos. However, when I input photos taken with two different cameras into the KIO4_CompareImages extension, it always returns 0. Please help me solve this issue.
it gives error like this "Attempt to invoke virtual method 'android.graphics.Bitmap android.graphics.Bitmap.copy(android.graphics.Bitmap$Config, boolean)' on a null object reference"
I wanted to try something and noticed this: when I compare two identical images below, it tells me that both are the same. But when I compare two identical images above, it gives me an error.