First time here? Check out the FAQ!
Hi there! Please sign in
help
faq
tags
users
badges
This forum is disabled, please visit
https://forum.opencv.org
ALL
UNANSWERED
Ask Your Question
Revision history [
back
]
1
initial version
asked
2019-04-14 00:36:12 -0600
Abdusoli
6
●
1
●
1
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
Mat1b mask1, mask2;
inRange(hsv, Scalar(173, 70, 50), Scalar(179, 255, 255), mask1);
imshow("RedDetect", mask1);
Copyright
OpenCV foundation
, 2012-2018. Content on this site is licensed under a
Creative Commons Attribution Share Alike 3.0
license.
Powered by Askbot version 0.10.2
Please note: OpenCV answers requires javascript to work properly, please enable javascript in your browser,
here is how