Convert af.array into numpy array
kareem1925 opened this issue · comments
Is there a way to convert af arrays to numpy because i want to use the bilateral filter in arrayfire and then use the matrix again with opencv
Hi @kareem1925, an arrayfire Array
object in Python has a method called to_ndarray()
. This should do the job. Please see the documentation for more details.
i'm sorry to be late. thanks a lot for your reply