This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to configure CCS V5 with OpenCV

Other Parts Discussed in Thread: CCSTUDIO

Hi everyone,

This is my first post here !

So, I am working with CCS V5 to build some computer vision functions to a Vision Components camera/chip(C6000 linker).

My project is written in Python, and I should re-whrite it in CCS (C) to build it to the camera.

In the Python code, I use some opencv functions like "CVFitLine". So it is really hard to re-code such opencv function in CCS.

But, I have found that this VC smart cameras can support also opencv libraries, that is nice!

but the problem I should configure CCS V5 with opencv so that I can import such libraries and functions.

I looked for  tutorials explaining that, but in vain :(, all tutorials show that just with Visual Studio, but not  with CCstudio.

So I will be gratefull if someone has an idea or a hint to how to import opencv in CCS.

Also the IMGLIB provided by TI doest not also help me solve this problem.

Thank you in advance!

Best,

Ayadi

  • Hi,

    Thanks for your post.

    OpenCV 1.1 is an initial version of the vision library that was built using C code. OpenCV 2.x migrates all of this initial software to a C++ code base and adds several new APIs to vision library. You should start of to determine what APIs you need for your algorithm and identify which version provides you all this functionality.   OpenCV does run on the DSP but there is some porting effort involved to cross compile it. 

    Yes, ofcourse, you can use CCS to build your OpenCV C++ code and create a library. Since you are new to CCS, I suggest you look at some of the getting started material:

    http://processors.wiki.ti.com/index.php/CCSv5_Getting_Started_Guide

    We apologise that, we do not have more information on opencv 3rd parties and it is limited to our scope.

     TI has DSP optimized packages like Mathlib, Imglib, DSplib. Do check this - http://processors.wiki.ti.com/index.php?title=Software_libraries

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------

     

  • Hi Sivaraj,

    Thank you for your answer !

    I have looked in the difference between the two opencv versions.

    I think I can still use the C-based Api,(opencv 1.x) for the API I need. But I have Installed the last version of opencv 2, which includes the opencv 1. As I will whrite my code in CCS in C, so perhaps it is better to use the C-based API functions, or it does not matter if I use the C++-based API ? 

    So please if you can help me know the porting configuration I need to compile the opencv in CCS , DSP.

    Thanks,

    Best,

    Ayadi