Code Monkey home page Code Monkey logo

Comments (9)

densechen avatar densechen commented on August 25, 2024

kinect2 has the different resolution about depth model. you should change the default params.

but, i have another problem. when i run this code with kinect2 or iphoneX trueDepth, I always failed on track. could anyone help me?

from kinfu_remake.

drmateo avatar drmateo commented on August 25, 2024

Also, for my ICP fails on track using both kinect1 and kinect2. But, I've noticed that raycast is rendering anything (just a black image). @LittleLampChen could you check if you have the same problem with the raycaster output?

from kinfu_remake.

densechen avatar densechen commented on August 25, 2024

I have already solved this problem.
you should config correct depth camera intr parameters and correct image size.

from kinfu_remake.

drmateo avatar drmateo commented on August 25, 2024

You're right, I should have done a correct parameter set up, but it's still failing. The configuration for the SD stream of a Kinect2 that I did is:

Image dimension > (424 x 512)
center image > (255.04, 205.758)
focal > (365.564, 365.546)

and the depth image is a 16UC1 ( unsigned short) cv::Mat

from kinfu_remake.

densechen avatar densechen commented on August 25, 2024

it is 512 x 424 or 424 x 512?
and i config this on windows without openni2. i have rewrite the demo to read directly from image file

from kinfu_remake.

drmateo avatar drmateo commented on August 25, 2024

Height 424 and width 512. Also, I'm rewriting the demo because I'm reading the image from ROS (sensor_msgs). But, in my case, I'm afraid that the error comes from other place, something related with CUDA (SDK 9.2)

from kinfu_remake.

densechen avatar densechen commented on August 25, 2024

Good luck!
Cuda 9.2 has many difference with Cuda 8.0

from kinfu_remake.

drmateo avatar drmateo commented on August 25, 2024

You're write it was a pain discover the inconsistencies btw CUDA 9.2 and older versions. But finally, I get the solution. I'm going to make a pull request with the changes. Thanks for your help ;)

from kinfu_remake.

nakini avatar nakini commented on August 25, 2024

@drmateo, could you please tell me how to set the parameters inside the code? I am using Kinecet-360 on Ubuntu-16.04. I did try to replace the values 640 and 480 with 320 and 240 in kfusion/src/kinfu.cpp and kfusion/src/cuda/proj_icp.cu but it didn't help. Still getting the same error.

Thank you in advance.

from kinfu_remake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.