Dedicated to Professor Steven V. Ley, mentor and friend, on the occasion of his 70th birthday Incorporating open-source software components (Python, OpenCV), a computer-vision system was used to control the interface level in a gravity-based inline liquid–liquid separation device. This was used in the continuous flow bromination of a series of enaminone substrates. The main byproduct of the reaction, succinimide, was efficiently extracted into the aqueous stream, providing clean products without the need for further purification.