Skip to content
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

Modifying for different OpenNI compliant devices #13

Closed
redbarn7 opened this issue Feb 13, 2024 · 1 comment
Closed

Modifying for different OpenNI compliant devices #13

redbarn7 opened this issue Feb 13, 2024 · 1 comment

Comments

@redbarn7
Copy link

Hello,
I have been enjoying your book and learning alot from it. But I have become stuck trying to understand how to modify the code for a different openni camera. A significant part is my own ignorance around drilling back through the stack to understand what is being called from where. I am not even sure which OpenCV is being called... Maybe a good Packt course would be understanding and using Visual Studio Code or other programming environment to allow understanding of the software stack.
Thanks.

@JoeHowse
Copy link
Collaborator

Thank you for the comment! I am glad to hear that the book has been helpful.

In general, knowledge of CMake and your platform's C++ toolchain (for example, Visual C++ on Windows) will help you dive deeper into the software stack of OpenCV and many other open-source libraries. I agree that these would be good topics for a future book or course. I find that I do more and more tinkering with library internals as time goes by...

Within the OpenCV source code, cap_openni2.cpp is where OpenNI camera support resides. However, I believe OpenNI itself is not maintained much anymore, so you may find it difficult to support new cameras through this route.

More recently, many OpenCV developers have adopted the OAK-D depth cameras, which have their own Python API. You can find samples in Chapters 4 and 10 of the (early-access) repository for our upcoming book, Learning OpenCV 5 Computer Vision with Python.

As part of OpenCV 5, an overhaul of 3D camera support is promised. However, this next version of the library is still work-in-progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants