Intelligent dense medium recovery system