New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KinectProjectorToolkit without user recognition #12
Comments
the main method you need to retrieve the right point is |
I think I'm doing that, but the image projected doesn't match with the real cloth whereas if I use my body the projection fits perfectly. Do you think it's because I'm thresholding using the kinect.depthMap ? 1st step - // Threshold the depth image int[] rawDepth = kinect.depthMap(); 2nd step - use openCv to pull out the contours and apply convertKinectToProjector on each point opencv.loadImage(depthImg); projectedContours = new ArrayList(); But the when I draw the contours with your method, I have the mismatch... |
the second method is much better than the first. but it doesn't look like you are ever thresholding the opencv image. run |
Hi Carlos @carlosjmramos, |
@carlosjmramos Hi Carlos, Thanks, |
Hello Gene,
I'm trying to adapt this code to project on other surface than the user body (a piece of cloth instead). I'm struggling with the DepthMap, because I need the DepthMap to apply a threshold to know where the piece of cloth is hanging in the rope. But if I use that method in your code I'm mixing DepthMap with DepthMaptoRealWorld and when the image is projected the shape/image projected doesn't match with the real cloth.
Do you have any hint how I can do this to project in other surface than the body? Because your code uses the user recognition in kinect to trigger the interaction. I'm checking the code in the classes of your library, trying to see how can I make it working without the user. Any help or hint appreciated :)
Thanks,
Carlos
The text was updated successfully, but these errors were encountered: