code
// sort(a.begin(), a.end(), cmpy); //subfunction bool cmpy(cv::Point const& a, cv::Point const& b) { return a.y < b.y; }
完