Android Question Any help on using B4A to sense motion from a camera

GPJMA

Member
Licensed User
Longtime User
Hi all.
I want to use B4A to detect motion from within my app (as in security camera motion detect, but not related).
This is an industrial type app and I haven't tried this before so I could use some advice to point me in the right direction.
Hope you can help.
 

Cableguy

Expert
Licensed User
Longtime User
Do you want to detect motion in the Visual field of the camera or camera déplacement ?
The way you described it, I would say the second... If so, the use the (present in almost all android devices) accelerometer to detect device déplacement.
 
Upvote 0

JordiCP

Expert
Licensed User
Longtime User
If the camera is static and by 'movement' you mean an 'object' passing by, OpenCV can help you a lot. Also take a look at the last post of this example HERE (will have to be tuned to your special needs)
If also camera movement is involved, the solution will be the device sensors by themselves or combined with the above.
 
Upvote 0
Top