CompressedDepth to numpy (or cv2)

asked 2016-12-08 19:38:09 -0500

Pototo gravatar image

updated 2016-12-08 19:41:46 -0500

Folks,

I am using this link as starting point to convert my CompressedDepth (image of type: "32FC1; compressedDepth," in meters) image to OpenCV frames:

Python CompressedImage Subscriber Publisher

I get an empty data when I try to print, or I get a NonType when I see the result of my array, etc.

What is the right way to convert a compressedDepth image? Republishing is not gonna work do to wifi/router bandwidth and speed constraints.

edit retag flag offensive close merge delete

Comments

https://gist.github.com/awesomebytes/... looks helpful but no 32FC1 in there

lucasw gravatar image lucasw  ( 2022-10-09 10:46:39 -0500 )edit