ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As stated in the doc

http://docs.opencv.org/modules/core/doc/old_basic_structures.html?highlight=random%20number%20generator#rng

RNG takes a seed as arg. If you need a different sequence every time you have to initialize it with a different value every time, e. g. use time, thread id or some thing like this as seed....