I'm the beginner of programming and openCV. I have to build my own library based on OpenCV and use it on Hololens.
I have a very short time to work on it. So I have started with many samples from many websites.
I can build the library and use it in Unity from the sample but I cannot show it on hololens
Now, I'm trying to show webcam like this sample on the hololens. https://youtube.com/watch?v=vUviuj8KcQM&t=781s
It showed on unity but It didn't show on hololens. Just the cube showed on the hololens.
I think I have to write the script to show this webcam texture from openCV on Hololens but I have no idea. It's very complicated for me.
I would like to ask how to show this webcam texture from openCV on Hololens?
I would like to ask your suggestion where should I start to learn OpenCV, C++, C# and Unity + hololens in short time.
Sorry for my poor English and programming.
Related
how to integrate webcam texture with the OpenGL in python language . i didnt get any example on internet
plzz answer
As always in Programming, I would start by splitting the problem into smaller Problems:
Getting the webcam feed (if you do not have it already)
For getting webcam data I would start here: How do I access my webcam in Python? (Basically get the webcam feed using OpenCV or GStreamer)
Make sure the data is in an 1D array in RGB color format
Once you have video feed from the camera, it should be fairly straight forward to take the newest frame and upload it to a OpenGL texture using GL.glTexImage2D. (example)
This is assuming you to be familiar with OpenGL already, if not, you can try to follow some OpenGL tutorials until you feel comfortable enough for step 3.
I want to implement Structur from Motion (SfM) / Simultaneous Localization and mapping algorithms using my webcam. I am very new on this topic so I need advices from experts in the internet. I could now able to build OpenCV opencv sfm tutorial for this purpose and I looked OpenSFM but it seems like just a GUI. What other open libraries/programs that I can use for this task? any suggestions/advices/tutorials are appreciated.
I'm trying to recognize rectangular boxes using Kinect, I know I can use OpenCV or PCL to do this but my C++ is a bit rusty, I'm new to Computer Vision in 3D and I want to do it as quick as possible, it's only a demo for a bigger project.
Is there anyway to do it using C# or at least Python, I don't care if I have to learn 3D.
If not, which library should I use, OpenCV or PCL?
I recommend OpenCV.
If you want to work in C# or python with OpenCV then you have wrappers for both of them:
http://www.emgu.com/wiki/index.php/Main_Page
http://www.neuroforge.co.uk/index.php/getting-started-with-python-a-opencv
I want to create a photo and video manipulation app for the iPad. The app would effect the imagery in various ways (using canny edge detection or bilateral blur for instance).
I saw some very interesting examples of canny edge detection using OpenCV, but is OpenCV the right tool to be looking into if I want to create a graphics app like this?
If so can anyone recommend some good reading materials to get me started.
Thanks for reading!
Yes, you certainly can use OpenCV on iOS. You simply cross-compile the code and include it in your project. OpenCV can easily do what you describe, and much more.
O'Reilly has published a great book on OpenCV, which is probably the best way to get up to speed. It explains the methods and how to use them, with plenty of sample code and images.
Learning OpenCV, Gary Bradski, Adrian Kaehler, O'Reilly 2012
There are a few sample projects around:
Sample OpenCV on iOS project
There are also numerous build scripts etc but note that they are probably not the latest version (2.4).
I'm new to video processing and I'm wondering what libraries I can use to do things like detecting letters, drawing boxes around them and so on. If you can name me a couple of good ones, I'd appreciate it very much!
OpenCV: (Open Source Computer Vision) is a cross-platform library of programming functions for real time computer vision.
It provides interfaces for both C and C++ programming laguages.
As for detecting the text region and drawing boxes around it, you can take a look at this article, which explains how to do this stuff using OpenCV. For better OCR capabilities I think that tesseract is the best open source tool available right now.
I've worked on a similar project some time ago and used OpenCV to detect the text region and then tesseract to do proper text recognition.