Arducam: how to get changes in background

Hi all, i want to know when the backgraound changes. there is a simple way to do this? any suggestion?

thanks

Hello and welcome :slight_smile:

I think the simplest way would be to add a cheap motion sensor (PIR) to your project.

Edit: you may be interested by this : How ArduCAM use external trigger from a sensor - Arducam

realy glad, thanks for reply :slight_smile:

i have only arduino mega, arducam board and cam. my professor want that kind of project and i'm searching a "simple" way to do that..

i'm tring to build a library with opencv in c++, using the method comparehist...but i don't know if it is possible to use a pure c++ library in arduino sketch.. i think it will be very hard to realize...

I have to pass the frame in a function (the function have the parameter char**)

So, two question:

1
How to get current frame
2
How to pass the frame as char**