since I'm new to opencv,I don't knw how to apply the cv.CalcEMD2 function on numpy arrays.
I have two arrays >
a=[1,2,3,4,5]
b=[1,2,3,4]
How can I transfer numpy array to CVhistogram and fromCvhistogram to the function parameter "signature".
I would like anyone answers the question to explain any used opencv functions through the provided solution.
'EMD" >> Earth Movers Distance.