To propose a bio-inspired multi-variant feature extraction technique in retinal fundus images to improve glaucoma detection for easy diagnosis. To improve the classification accuracy of glaucoma disease, a machine learning approach is employed based on the features extracted in RFI. Methods: The Fish School Search MOFS (FSS-MOFS) bio-inspired technique is employed to extract the multivariable features from digital RFI and spot the glaucoma variations to maximize the discrimination power and minimize the dimensionality. The Binary Robust Independent Elementary Feature (BRIEF-LD) technique is employed to identify the latent spots in RFI. The PAPILA dataset is utilized for this research study, which includes the clinical records of 244 patients and 488 images of the right and left eye of all the patients under 2 categories (male and female) with results in healthy, glaucoma, and suspect categories. In order to perform deep pixel identification and RFI segmentation, the Densenet-121 architecture is used along with a deep-lab model to incarcerate the built-in fine points of RFI with the help of dilated convolutions. The MATLAB tool is used to assess the suggested bio-inspired technique, and comparative analysis is done against the prevailing glaucoma detection and feature extraction methods such as I-SVM, RFSO, SE-GSO, VGG-Net, and DBN classifiers. Findings: The suggested FSS-MOFS multi-variant feature extraction technique outperforms the prevailing ML methods such as I-SVM, RFSO, SE-GSO, VGG-Net, and DBN classifiers. The result of the comparative study shows 94% accuracy, 96% sensitivity, 97% specificity, 96% F-measure, 96.8% Precision, 97% recall, 95% detection speed, 92.06% TPR, 92.15% TNR, and 8% FPR & FNR. Novelty: The promising result of the FSS-MOFS method boosts the accuracy level of glaucoma detection and classification compared to other classification techniques. The suggested model helps the ophthalmologists identify and diagnose glaucoma in a robust way. FSS-MOFS overcomes the shortcomings of prevailing feature extraction methods.