import cv2
import numpy as np
import random
The code below illustrates how we can obtain 2 random numbers from uniform distribution.
a = np.random.uniform(0,1)
b = np.random.uniform(0,1)
print(' a: ',a,'\n','b: ',b)
In the similar manner we can get two random numbers from a normal distribution
a = np.random.normal(0,1)
b = np.random.normal(0,1)
print(' a: ',a,'\n','b: ',b)