1. The document describes an automatic gun control system using motion detection that aims to securely protect borders with programmed and computerized methods, reducing human impacts. 2. The system can operate in two modes - automatically tracking targets using image processing algorithms or allowing manual control by the user to select and shoot targets if needed. 3. The process involves using a video camera to capture footage, selecting targets for tracking using image processing techniques like morphological operations, and having a microcontroller decide whether to shoot unauthorized people or activities detected within range by moving the mounted gun and camera.