chaowang15 / RGBDPlaneDetection

RGBD plane detection and color-based plane refinement
228 stars 54 forks source link

How can I get the depth image into 16uc1 format? #8

Open exnx opened 4 years ago

exnx commented 4 years ago

Hi, I'm generating depth map images in .png from an Intel Realsense camera, but I can't seem to get the format to match the 16uc1 format. I originally had a uint8 format, did anybody else have issue getting the format correctly, or have advice how to ensure the data type is right? Is this a format that has to be created using C++ only? I was trying to do data streaming and processing using Python just to save the depth images, and then run the PlaneDetection code.

Thanks!

Eric

ajithvcoder commented 3 years ago

@exnx could u tell how u ran below command for sample images ./RGBDPlaneDetection -o pic/frame-000000.color.jpg ../pic/frame-000000.depth.png ../pic

i am facing RGBDPlaneDetection: command not found error

warmtree96 commented 3 years ago

@exnx could u tell how u ran below command for sample images ./RGBDPlaneDetection -o pic/frame-000000.color.jpg ../pic/frame-000000.depth.png ../pic

i am facing RGBDPlaneDetection: command not found error

I think you need tocd build and then./RGBDPlaneDetection -o pic/frame-000000.color.jpg ../pic/frame-000000.depth.png ../pic

ajithvcoder commented 3 years ago

@warmtree96 thanks

goatShaver commented 2 years ago

Impressed by the ideas presented - something i had been tinkering with but wasn't able to succeed at - the line constraints are the magic for me.

We run a few different Real Sense Devices - what is the status of being able to use real sense devices? We have L515 and D455 units - both are surprisingly high quality at shorter distances - I'd be happy to contribute or help make the necessary changes to bring this code base to the RS units - it would be a big win for a large number of people.