Flow velocity inside the artificial ventricle of a moving actuator type total artificial heart is investigated by the image-processing technique. Optical flow is estimated from two sequential images of flow patterns to find flow-velocity distribution. The region with high velocity inside the artificial ventricle is found from the estimated flow-velocity distribution. Fluid velocity in a simple glass conduit is analysed and can be estimated by calculating optical flow.