add cv::flip to capture pmd