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

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -