First time here? Check out the FAQ!
answered 2017-11-21 19:42:46 -0600
Fortunately for you, we have a tutorial: Thresholding Operations using inRange.
That explains what it does.
There is also the tutorial for python: HERE
That shows how to call it in python.