NormalGAN icon indicating copy to clipboard operation
NormalGAN copied to clipboard

How to get the depth picture

Open sunjc0306 opened this issue 4 years ago • 5 comments

Hi! Thank you very much for your excellent work. I've got great reconstruction. However, I have a question how to get the depth map corresponding to the RGB picture?

sunjc0306 avatar Jan 29 '21 15:01 sunjc0306

You should first calibrate your depth camera and get the internal and external parameters. Then, please refer to Registration in (https://github.com/r9y9/pylibfreenect2) as an example.

LizhenWangT avatar Jan 31 '21 11:01 LizhenWangT

Thanks. I read your paper carefully. However, I didn't find three discriminators (Fdb, Fcb, Fdf) in the code. Are there detailed descriptions of these. In addition, I would wonder to ask if there is a plan for open source training code.

sunjc0306 avatar Jan 31 '21 13:01 sunjc0306

Hi, I'm using 'pylibfreenect2' to capture rgb and depth images from Kinect v2, containing background and body information. I tested NormalGAN with these images, but it fails in erosion function. I looked in 'datasets/testdata/' and the images only contain body pixels. Seems like that i have to apply a body mask to use NormalGAN correctly. Which method do you use for the segment body in color and depth images?

Thanks for amazing work!

Luciano07 avatar Feb 26 '21 17:02 Luciano07

Hi, I'm using 'pylibfreenect2' to capture rgb and depth images from Kinect v2, containing background and body information. I tested NormalGAN with these images, but it fails in erosion function. I looked in 'datasets/testdata/' and the images only contain body pixels. Seems like that i have to apply a body mask to use NormalGAN correctly. Which method do you use for the segment body in color and depth images?

Thanks for amazing work!

Thank you! Actually, we directly cut the body part using two thresholds in depth map in live demos. This may lead to bad results around the feet part (depth map also performs bad in this area). If you do not care about this area, that's enough.

LizhenWangT avatar Feb 27 '21 12:02 LizhenWangT

Thanks. I read your paper carefully. However, I didn't find three discriminators (Fdb, Fcb, Fdf) in the code. Are there detailed descriptions of these. In addition, I would wonder to ask if there is a plan for open source training code.

As we can not distribute our dataset due to commercial reasons, we think it's hard to generate a similar dataset (which needs hundreds of 3D human models). So we don't have the plan to update the training code.

LizhenWangT avatar Feb 27 '21 12:02 LizhenWangT