Recent advances in imaging technologies have led to a significant increase in the adoption of stereoscopic images. However, despite this proliferation, in-depth research into the complex analysis of the visual content of these stereoscopic images is still relatively rare. The advent of stereoscopic imaging has brought a new dimension to visual content. These images offer a higher level of visual detail, making them increasingly common in a variety of fields, including medicine and industrial applications. However, exploiting the full potential of stereoscopic images requires a deeper understanding. By exploiting the capabilities of octonion moments and the power of artificial intelligence, we aim to break new ground by introducing a novel method for classifying stereoscopic images. The proposed method is divided into two key stages: The first stage involves data preprocessing, during which we strive to construct a balanced database divided into three distinct categories. In addition, we extract the stable Octonion Krawtchouk moments (SOKM) for each image, leading to a database of moment images with dimensions of 128 × 128 × 1. In the second step, we train a convolutional neural network (CNN) model using this database, with the aim of discriminating between different categories. Standard measures such as precision, accuracy, recall, F1 score, and ROC curves are used to assess the effectiveness of our method. These measures provide a quantitative assessment of the performance of our object classification approach for stereoscopic images.