Hi friends!
Excuse my bad English, I'm helping myself with a translator.
I've been working with B4X for a while and I love it, but I haven't found anything on the forum to help me with this problem.
I need to detect a change in a part of an image.
I'll explain.
The app will take a first photo and the user must choose which part of the photo the app should monitor and alert if a change occurs. Something like a rectangle (x1, y1, x2, y2).
Then the app will take a photo every minute and then you will have to decide if there were changes in the part of the image that the user indicated.
I don't have anything created because I'm still researching, but I had thought of using the Bitmap.GetPixel function to compare exactly the pixels that are in the box that the user indicated, and if, for example, it's 50% different, it would tell the user there that a change happened.
What do you think? I imagine there are better ideas.
I don't know if with Google Mobile Vision or with the OpenCV320 library you can make it easier, but I don't know how to use them.
I attached some images to them so they can more or less understand what I need.
Again, excuse my bad English!
Excuse my bad English, I'm helping myself with a translator.
I've been working with B4X for a while and I love it, but I haven't found anything on the forum to help me with this problem.
I need to detect a change in a part of an image.
I'll explain.
The app will take a first photo and the user must choose which part of the photo the app should monitor and alert if a change occurs. Something like a rectangle (x1, y1, x2, y2).
Then the app will take a photo every minute and then you will have to decide if there were changes in the part of the image that the user indicated.
I don't have anything created because I'm still researching, but I had thought of using the Bitmap.GetPixel function to compare exactly the pixels that are in the box that the user indicated, and if, for example, it's 50% different, it would tell the user there that a change happened.
What do you think? I imagine there are better ideas.
I don't know if with Google Mobile Vision or with the OpenCV320 library you can make it easier, but I don't know how to use them.
I attached some images to them so they can more or less understand what I need.
Again, excuse my bad English!