I had generated a random number using the following code in OpenCV 2.4.8.
RNG rng;
cout << rng.uniform(0.0,1.0);
It keeps on generating the same number. Why?
1 | initial version |
I had generated a random number using the following code in OpenCV 2.4.8.
RNG rng;
cout << rng.uniform(0.0,1.0);
It keeps on generating the same number. Why?
2 | retagged |
I had generated a random number using the following code in OpenCV 2.4.8.
RNG rng;
cout << rng.uniform(0.0,1.0);
It keeps on generating the same number. Why?