Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900