Research Article

Energy-Efficient Unmanned Aerial Vehicle (UAV) Surveillance Utilizing Artificial Intelligence (AI)

Algorithm 2

Motion area detection.
Input: Two consecutive frames, t and t+k, of the input video.
Output: Motion area in each frame.
1. The video is segmented into frames, (consider each frame as an image).
2. Two images / frames (A & B) that is background modeled and frame t
3. Converting the images A & B into gray scale.
4. Computing a difference between these two gray scale images.
5. If, significant difference is detected between these A & B frames, it can conclude that some motion has occurred.