zivid-python icon indicating copy to clipboard operation
zivid-python copied to clipboard

Recontruct Zivid frame from numpy ndarray

Open matthijsramlab opened this issue 4 years ago • 8 comments

I need to convert a numpy.ndarray to a Zivid frame. The reason for this is that I am using ROS (Zivid Driver), which sends point clouds in the not Zivid format (Pointcloud2D message) and want to preform Zivid eye in hand calibration which requires a zivid pointcloud object.

I am able to convert a Pointcloud2D message to numpy.ndarray, which has the same result as if you would run the Zivid Pointcloud.to_array function. However, doing it the other way around is not possible at the moment. Or at least I am not able to do it....

Is there a possibility to implement this. In the mean time is there a workaround I can use?

matthijsramlab avatar Jun 15 '20 13:06 matthijsramlab