int main(int argc, char* argv[])
{
Mat t1 ,t3,t4;
t1=imread("D:/images/111.jpg");
if (t1.empty() ) {
cout << "无图片" << endl;
return 0;
}
cvtColor(t1, t3, COLOR_BGR2HSV);
inRange(t3, Scalar(10,34,160),Scalar(34,255,255), t4);
waitKey(0);
destroyAllWindows();
return 0;
}