Ask Your Question

Abdusoli's profile - activity

2019-04-18 12:23:09 -0600 received badge  Scholar (source)
2019-04-18 03:16:21 -0600 commented question I am trying to detect red color using inRange keyword. But I cannot check it inside If statement. If red color comes then print It is red color

Thank you for help. I will take into account

2019-04-18 01:58:32 -0600 commented answer I am trying to detect red color using inRange keyword. But I cannot check it inside If statement. If red color comes then print It is red color

Thank you bro for your help. I have another question appeared. How can I detect only red circle shapes. my car stops whe

2019-04-18 01:58:32 -0600 received badge  Enthusiast
2019-04-16 02:44:34 -0600 marked best answer I am trying to detect red color using inRange keyword. But I cannot check it inside If statement. If red color comes then print It is red color
  1. Mat1b mask1, mask2;
  2. inRange(hsv, Scalar(173, 70, 50), Scalar(179, 255, 255), mask1);
  3. imshow("RedDetect", mask1);
2019-04-15 08:18:12 -0600 commented answer I am trying to detect red color using inRange keyword. But I cannot check it inside If statement. If red color comes then print It is red color

Sorry, I am new to OpenCV. Should I threshold number_pixels? How can threshold it?

2019-04-14 04:41:16 -0600 commented question I am trying to detect red color using inRange keyword. But I cannot check it inside If statement. If red color comes then print It is red color

But how can I check inside If statement. For example If color is red then call some function

2019-04-14 02:09:41 -0600 asked a question I am trying to detect red color using inRange keyword. But I cannot check it inside If statement. If red color comes then print It is red color

I am trying to detect red color using inRange keyword. But I cannot check it inside If statement. If red color comes the