Text this: Development of a machine vision system for real-time monitoring and control of batch flotation process