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
Features : Color/Depth registration, World, IR #18
Comments
The Registration class has pretty much everything I need: Are the libs in ofxKinectV2 up to date? |
Hah....Just realised that it stripped the |
Hey Elliot. That's awesome that Rhizomatiks is helping to port! There is already support for most of the stuff you mentioned in ofxMultiKinectV2 👍 I imagine it wouldn't be too hard to borrow some of the features, though my dream would be a unification on this front into a single libfreenect2-based addon at some point 😜 depth/color registration, in a shader. I took a quick glance and it looks like a port of libfreenect2's registration implementation depth -> world mapping: |
I actually have the getWorldCoords and getWorldCoord in another branch which I can push up today. Also the registration/mapping is super easy to add in. The only issue with using the shader approach of libfreenect is a bug in 10.10 and 10.11 which makes the glReadPixels call hang. Not sure if that's fixed or there is a workaround for that in ofxMultiKinect. But that's why I switched to the OpenCL decoding pipeline. |
You mean the shader approach for depth unwrapping from raw images right I think Matt is talking about shader approach to registration and depth
|
I just meant I'm not sure if that glReadPixels is an issue for using ofxMultiKinect in general on 10.10 If it's not then it might be worth checking out. That Addon has moved a bit quicker than mine :) Happy to add that stuff into ofxKinectV2 if needed though. It's on my to do list. PS: huge thanks for your windows kinect addon, it was super awesome and easy to use. I recommend everyone to use it on windows. |
ahh you mean Yosemite? i see, that could be a problem.. i'll look into ofxMultiKinectV2 also be great to work against something which will exist for a while i need to look at this tomorrow Japan time. will it be at all possible to get your thank you both! |
aha! i think i'll start with that then tomorrow when i'm with Yuya, and add any functionality Rulr needs over there. |
Ah perfect. Also as Theo said, thanks much for your addon – not only for its usefulness but I've picked up a bunch of tricks & techniques from your coding style as well 😄 Please give my thanks to Yuya too 👍 Wish I could be there to learn from you guys, but instead I'll have to settle for lurking on your repo |
yeah totally happy to merge with @hanasaan |
Didn't mean to leave you out Theo, this addon is the bomb and so are you. Tell Nick that Joe says hi. |
I worked with ofxMultiKinectV2 today. it's got a lot of fantastic functionality out of libfreenect2. almost as good as official SDK, but a little bit slower maybe i think the API needs quite a bit of work to match the simplicity of ofxKinectV2 also it would be great to use a lazy pattern for things like registration / unprojection tasks as they can be quite heavy |
Hi ! |
@BaptisteTheoriz here is the world coords branch https://github.com/ofTheo/ofxKinectV2/tree/feature-worldcoord |
also would be happy to add @hanasaan as admin on this repo and merge the two |
ahh I see - that also looks good. |
thanks for this @ofTheo. i'm using your feature-worldcoord branch on something like the ofxKinect kinectExample that draws a pointCloud coloured by pixels from rgb, and i'm finding that the color data does not quite match the XYZ data, it's got the unregistered distortion (even after having corrected for the different fields of view and resolutions of the ir and rgb pixels). i created a basic getColorAt(x,y) method but there doesn't seem to be a setRegistration(true) that corresponds to anything in libfreenect2 -- unless i'm missing something obvious. got any pointers to set the registration and/or get them aligned? |
https://github.com/bakercp/ofxKinectV2 adds these features. |
#34 should close this issue. |
Heya!
I'm teaching a workshop this weekend which relies on KinectV2 running on OSX
(It's a Rulr workshop, and Rhizomatiks is helping tto port Rulr to OSX for the mostly mac audience there)
I'm thinking to use this addon. Looks pretty neat and tidy and is top of the pops on ofxAddons
3 things I need seem to be missing right now:
Any tips about getting these features would be great.
I might be able to hack a couple of these together and send you the code.
Is anybody else using those features with libfreenect2 / OF do you know?
Notes at:
OpenKinect/libfreenect2#41
Thanks!
Elliof
The text was updated successfully, but these errors were encountered: