| CPC G06F 3/0425 (2013.01) [G06F 3/0421 (2013.01)] | 17 Claims |

|
1. A detection device comprising:
an irradiation unit configured to emit an infrared ray toward an infusion tube;
an imaging unit configured to generate a captured image obtained by imaging the infusion tube irradiated with the infrared ray by the irradiation unit; and
a control unit configured to:
determine a light intensity value of each pixel included in the captured image,
specify high light intensity regions having a light intensity value equal to or more than a predetermined threshold as regions including opposing side wall portions of the infusion tube captured in the captured image based on a light intensity distribution in the captured image, and
detect blockage of the infusion tube and air bubbles in the infusion tube based on the specified high light intensity regions.
|