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.
Hi,
I have a project which gives grabs video frames in loop and another project which does image processing on frames in loop. Every time i enter this loop i need to access the frames from first project. I am not sure how can i make this to work. I tried adding the first project as dependent project to the second one. But, it is not working. Am i missing anything ?
CCStudio version in 3.3
Typically you would make a single project that has the code from both projects you describe in it so that you end up with a single application that does both.
A dependent project just means that the dependent project will be built any time you build the primary project, and does not imply that there is any real connection between them unless it is made by the developer, typically you would use a dependent project if the dependent project builds a library that is referenced by the primary project. This is one alternative way of implementing this, if you wanted your image processing project to remain on its own project you could set it up to build as a library and than include that library in your video frame grabbing project and make calls into the library from it for your processing.
In general the easier way would be to make a single project like is done in the accessing pixels in a frame example, where the capture loop has a call in it to the processing function which exists somewhere in the project (in this case it is the same C file though it could be in another C file or even an external library).
Actually, my image processing project is also a DSP/BIOS application(it has its own configuration). It modifies the frame and shares it with with onboard linux. So, it will be easier if i can integrate the capturing code into my project. May be making a library for capturing code will work for me ...