OpenCV detect color Automatically -


is there possible way make color blob detection automatically detect specified color without pressing ?

ex i'll specify range of color want automatically detect color same range.

you need use cv::inrange , define range of colors (r1,g1,b1) (r2,g2,b2). e.g.:

cv::inrange(input, cv::scalar(0,140,0), cv::scalar(160,255, 160), output); 

Comments

Popular posts from this blog

php - Auto increment employee ID -

python - Evaluating the next line in a For Loop while in the current iteration -

php - Facebook share link is not showing image within the post?(get parameter in url) -