In recent decades, automatic control systems are becoming the essential need for security forces, due to the increase in the number of criminal activities. The fast and precise automatic weapon detection system is useful to mitigate or avoid risks in public spaces. In this manuscript, a new automated model is implemented for effective weapon detection in closed circuit television videos. After collecting the data from YouTube and Gun movies databases, the Gaussian Mixture Model (GMM) is applied to detect the weapons in the video sequences. Then, the feature extraction is performed using deep learning models: AlexNet and ResNet 18, and a descriptor: Scale Invariant Feature Transform (SIFT) for extracting the feature vectors from the segmented regions. Whereas, the combination of deep and texture features reduces the semantic space between the feature sub-sets that helps in enhancing the classification performance. In addition, the feature optimization is accomplished by Human Inspired Particle Swarm Optimization (HIPSO) algorithm to select active feature vectors that decrease the system complexity and training time of the classifier. In the conventional PSO algorithm, the Human Group Optimization (HGO) algorithm is utilized to influence the particles, and then the adaptive uniform mutation is utilized to improve the convergence rate and makes the implementation simple. Finally, the selected active feature vectors are fed to the Support Vector Machine (SVM) classifier for weapon and non-weapon classification. The experiment results confirmed that the HIPSO-SVM model has achieved high accuracy of 95.34% and 98.60% on the YouTube and Gun movies databases, which are better compared to the existing models.