Bloodstains are pivotal in forensic investigations as they can provide crucial DNA information about individuals involved in a crime. Traditional methods for bloodstain detection, including chemical tests and forensic lights, have limitations such as non-specificity to human blood and susceptibility to false positives. In forensic blood detection, molecular spectroscopy is crucial for identifying the unique spectral fingerprints of blood, which arise from its molecular composition. Hyperspectral imaging (HSI) leverages this principle by capturing a wide spectrum of light for each pixel in an image, allowing for the detailed analysis of various substances. HSI has emerged as a promising alternative, offering non-contact, rapid, and cost-effective detection of bloodstains by analyzing the visible and near-infrared electromagnetic spectrum. This study explores the application of HSI for blood detection, addressing challenges such as spectral mixing, time-related changes in bloodstain spectra, and data complexity. The study introduces a novel framework to optimize HSI data, enhancing the accuracy and efficiency of bloodstain classification, called the Fast Extraction (FE) framework. It includes two stages. The main method in the first one is the Enhancing Transformation Reduction (ETR) method to reduce the dimension and complexity of the HSI. The second stage contains a compatible classification model to enhance feature extraction and classification. Our approach is validated using the HyperBlood datasets and many evaluation methods, demonstrating superior performance compared to state-of-the-art deep learning models. It provides high accuracy (97%–100 %) for all HSIs, overcoming various difficulties and blood collection times.