1. A leak detection system for detecting a leak in a medical treatment system, comprising: a camera adapted to gather video or image data; and a medical treatment system with a controller or classifier and at least one of a flow controller, a pump, and an alarm output; the controller or classifier having a video-image processor adapted to recognize blood in said video or image data and output state data indicating states recognized; the controller or classifier being connected to control the at least one of the flow controller, the pump, and the alarm output responsively to said state data; wherein the video-image processor is adapted to detect blood flowing from a leak into an open environment including one of blood staining a patient's clothes, blood pooling on a surface, and blood pooling on a floor, said state data being responsive to the detection by the video-image processor.