This document describes an unmanned gun control mechanism that uses computer vision and automation to detect targets and fire a weapon. It uses a camera to detect objects in an uncolored environment and fire at a specific detected color. The mechanism uses inexpensive hardware like a microcontroller, RF transmitter/receiver, encoder/decoder, stepper motor, laser pointer, relay switch and camera. It is intended to safeguard boundaries in places like high altitude and cold regions, and could be mounted on helicopters. Diagrams show the components and their connections. Advantages are low cost, ability to operate in extreme conditions, and use of high-performance MATLAB coding. Disadvantages include difficulty in mounting and need for special cameras in low light.