Towards real-time medical diagnostics using hyperspectral