OpenCV codes in Code Composer (CCStudio) - opencv

I'm using CCStudio v5 to implement a vision system and want to use OpenCV functions in my code, but I don't know it is possible to use OpenCV code in CCStudio or not!
How I can import OpenCV library into my CCStudio project? Is this depends on my hardware?

There is no official release of OpenCV for system without OS. OpenCV library is available for Windows, linux, mac, Android and Ios operating system.
Here
you can find a link which explain the challenges of having OpenCV running on microcontrollers

Related

OpenCV version compatibility

I'm trying to apply my algorithm (made OpenCV) to the Inspection machine.
but, my develop environment is OpenCV 4.6 (win10). but the machine's env is OpenCV b5a (win XP)
so, we have problem in here.
I know the b5a version is too old.
but We can't the OpenCV version in machine go up. (the soft ware is too heavy to change version)
and the my algorithm include so many OpenCV function. so It is not easy to make without OpenCV function.
Could anyone have a good idea for figure this problem?

Run OpenCV Viz on iOS

Is it possible to port my existing Viz3d-based visualisation to iOS? It is using VTK under the hood so in theory, it should be doable since VTK can run on iOS.
If yes, is there a working example of this, or can you provide one?

how can I use opencv to run the java code

I have opencv10.05 installed in my laptop and I was working on tracking with c++. Now I have one project that I have to run the code in java with opencv. Is it possible to use same opencv10.05 or do I need to install the whole steup?
opencv comes with its own java bindings. you will need cmake, ant, and the opencv src code to build it.
javacv is a 3rd party wrapper, unfortunately mostly based on opencv's deprecated 1.0 c-api, so you will have to program java, like it was in c years ago. mixed blessing..

what are the advantages of using javacv than opencv?

I'am developing an eye gaze estimation desktop application for my final year project. I wanted to know what are the main advantages of using javaCV instead of OpenCV ?
OpenCV is a very good Computer visio library. It has C, C++ and Python API. JavaCV is Wrapper of OpenCV using java.
Based on your application you can use native C API using Android NDK. If you are focus on Java then you can use JavaCV.
Also you can have a look at this and some tutorial.
JavaCV is just a non-official Java version of OpenCV.
That said, use JavaCV if you are going to develop in Java, and use OpenCV otherwise.
There is no tutorial for javacv. Sometimes you can't find the curresponding java implementation for Opencv's class(c++ code).Don't get frustrated.Just try to implement it in your own way and open source it.So, others can use it.Be a leader.All the best.

How to setup OpenNI 2.0 with OpenCV for a Kinect project?

I am working on my final year project. I need to work with Kinect to detect hand movements. I have tried a few ways and got some results, however, none was enough to meet the needs of the project. I saw this video long ago, and just got to know that they open sourced it recently. So I gave it a try.
My problem now is how to set things up.
The above awesome project uses OpenNI with Kinect. I tried to follow OpenCV tutorials to build it from source code, to let OpenCV work with OpenNI.
Problems:
It says "For the OpenNI Framework you need to install both the development build and the PrimeSensor Module." but as I followed the links some of them were dead. Seems like OpenNI 2.0 doesn't use PrimeSensor any longer.
It also says that in Cmake folders, one is OpenCV/Src, the other is /build. But the OpenCV I downloaded doesn't have anything as Src folder.
Still I used the whole folder as Src, and built it to a build folder and checked WITH OPENNI. I used the Include and Lib folder in OpenNI2 I downloaded, but when I built the OpenCV solution (already generated from CMake) all builds failed.
Also, while generating with Cmake, even if my future OpenCV solution had been successfully built (which wasn't the case), Cmake would have kept telling me how PrimeSense was not available, which made me feel so insecure. :(
I am a bit confused about 32- and 64-bit. The above project I want to follow says it works on 64-bit. But I use MS C++ Express, all projects are 32-bit. So which PrimeSense drivers (given in OpenNI2) should I use?
Could anyone please tell me how to set all these things (OpenNI2.0, OpenCV 2.4.3, PrimeSense) together so I can work with Kinect?
A while back I wrote two tutorials on 1) how to set up OpenNI 1.5 with NITE 2) How to compile OpenCV with OpenNI support.
These can be found here and here
I know this is not what you asked for, but the process of compiling OpenCV with OpenNI 2.0 should be similar and might help you understand where you are going wrong.
I will try to write a newer tutorial, however since I currently do not have access to a sensor, I might not be able to test if it works out in the end.
EDIT:
I have written some code to access Kinect data streams in OpenCV Mat format using OpenNI 2.x. The code github repo can be found here. Detailed guidance on how to set everything up can be found here.
OpenNI 2.x is much advanced than the previous versions. You don't need to install primesense sensorkinect driver. You can use OpenNI 2.x along with the Microsoft Kinect SDK 1.x.
Install both 64 and 32-bit OpenNI 2.x if you have Windows 7 x64 otherwise only 32-bit. Configure it with Visual Studio 2010 or 12. You can follow this video:
http://www.youtube.com/watch?v=ACqPsV0R4to
Then configure OpenCV for visual Studio 2010 or 12. You can follow this link:
http://4someonehelp.blogspot.in/2013/04/install-opencv-245-using-visual-studio.html
Thanks

Resources