This paper presents a precise image recognition system using MATLAB Simulink to detect targeted objects in crowds, particularly for applications in emergency and search-rescue operations. The system employs image processing techniques, including morphological operations, to enhance the recognition performance of both colored and gray-scale images. Extensive simulations demonstrate the model's effectiveness for various applications, including surveillance and law enforcement.