arrayfire / arrayfire-python

Python bindings for ArrayFire: A general purpose GPU library.

Home Page:https://arrayfire.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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