3

I want to use my mobile camera as a security camera and I want to detect the motion of any object from the camera and trigger the alarm. Is there any way to detect the motion from the camera in flutter for both android and ios?

rustyBucketBay
  • 4,320
  • 3
  • 17
  • 47
Arsalan Umer
  • 442
  • 1
  • 3
  • 10

1 Answers1

0

I'm working on a project like that. Here is how I did it.

You take an image after a certain interval, store it, and then on the next interval you take another one and compare it with the previous one.

The library for comparing images is image_compare you can find it on pub.dev

takudzw_M
  • 186
  • 1
  • 5