A system is provided for the identification and separation of heterogeneous material, the system comprising: a hyperspectral identification system for capturing spectra of material; a computer receiving and analyzing data from the hyperspectral identification system and selecting desired materials from the heterogeneous materials; and an ejection system, whereby the desired materials are ejected from the system.