Platform Selection for Opencv DSP Acceleration Project

Hello All,
I have Beagle Board XM, Rev C. I am following Opencv DSP Acceleration Project http://code.google.com/p/opencv-dsp-acceleration/wiki/Instruction_For_Building_Examples
To build that project, we need to edit Rules.make file in one of the step. In that file we need to mention platform on which project going to build. Author mentioned platform OMAP 3530 as he used Beagle Board.
For my case, Do I need to mention DM 3730 or OMAP 3530 to build that Project ? Please guide me.

Thanks,
Dhut

Why? The A8 at 800MHz performs a lot faster than openCV on the DSP.

I want to assign most of computer vision work to DSP. So that A8 can be
free for other tasks to do.

That's not what that project above will do, it moves a few functions as a proof on concept and the calls aren't that optimized either. Have a look at http://processors.wiki.ti.com/index.php/C64x%2B_iUniversal_Codec_Creation_-_from_memcpy_to_Canny_Edge_Detector to see what kind of problems you're going to run into.

Koen Kooi wrote:

Hello All, I have Beagle Board XM, Rev C. I am following Opencv DSP Acceleration Project
http://code.google.com/p/opencv-dsp-acceleration/wiki/Instruction_For_Building_Examples

Why? The A8 at 800MHz performs a lot faster than openCV on the DSP.

Koen, I want to assign most of computer vision work to DSP.

That's not what that project above will do, it moves a few functions as a proof on concept and the calls aren't that
optimized either. Have a look at
http://processors.wiki.ti.com/index.php/C64x%2B_iUniversal_Codec_Creation_-_from_memcpy_to_Canny_Edge_Detector to see
what kind of problems you're going to run into.

I would not go so far as to discourage the usage of the DSP,
but I would suggest you do not try to tackle the DSP and openCV
at the same time. As Koen said, the above is more like a demo
and will probably be of no immediate benefit.

If you have an algorithm that you want to port/run on the DSP,
then make that works first and worry about the integration
with openCV later.

Also, the angstrom distribution for omap3 comes with dsplink
and codec engine already prebuilt, so you dont need to worry
about how to build the dsp stuff, you can start using it.

Of course, if you want to run your algorithm on the DSP, you
will need to get into programming the DSP side eventually.

Dhut C wrote:

Hello All,
   I have Beagle Board XM, Rev C. I am following Opencv DSP Acceleration Project
http://code.google.com/p/opencv-dsp-acceleration/wiki/Instruction_For_Building_Examples
To build that project, we need to edit Rules.make file in one of the step. In that file we need to mention platform on
which project going to build. Author mentioned platform OMAP 3530 as he used Beagle Board.
For my case, Do I need to mention DM 3730 or OMAP 3530 to build that Project ? Please guide me.

if there is no 3730 mentioned, use 3530, as far as the dsp in concerned they are
the same..

Thanks for guidance. Let me explain my situation right now. I am able
to run color detection on ARM side of BB Xm successfully. All work is done
in Opencv. But still I felt like there is delay in output. So I started
searching for how to reduce the delay. I came across a forum which tells
that we can run Opencv algo on BB DSP. At that time I saw Opencv DSP
Acceleration Video. So that's how I decided to go for it. I need to finish
this project in a month. If Opencv & DSP integration have these problems,
what's the better way to complete my work on DSP of BB XM ? Can I complete
my work with VLIB 2.0: Video Analytics & Vision Library on DSP of BB XM ?
Please guide me.

Dhut C wrote:

    Dhut C wrote:

        Hello All,
           I have Beagle Board XM, Rev C. I am following Opencv DSP Acceleration Project
        http://code.google.com/p/__opencv-dsp-acceleration/wiki/__Instruction_For_Building___Examples
        <http://code.google.com/p/opencv-dsp-acceleration/wiki/Instruction_For_Building_Examples>
        To build that project, we need to edit Rules.make file in one of the step. In that file we need to mention
        platform on
        which project going to build. Author mentioned platform OMAP 3530 as he used Beagle Board.
        For my case, Do I need to mention DM 3730 or OMAP 3530 to build that Project ? Please guide me.

    if there is no 3730 mentioned, use 3530, as far as the dsp in concerned they are
    the same..

    Koen & Vladimir,

      Thanks for guidance. Let me explain my situation right now. I am able to run color detection on ARM side of BB Xm
successfully. All work is done in Opencv. But still I felt like there is delay in output.

felt? what is there to "feel"? Can't you do a few simple measurements
and find out what takes time in your processing?

So I started searching for how
to reduce the delay. I came across a forum which tells that we can run Opencv algo on BB DSP. At that time I saw Opencv
DSP Acceleration Video. So that's how I decided to go for it.

And did you check first to make sure that the algorithms you need can
even be DSP accelerated? That they are implemented in the OpencvDSP
project? Or did you plan to implement them on the DSP?

I need to finish this project in a month. If Opencv & DSP
integration have these problems, what's the better way to complete my work on DSP of BB XM ? Can I complete my work with
VLIB 2.0: Video Analytics & Vision Library on DSP of BB XM ?

VLIB 2.0 seems to be supported by OpencvDSP:

http://code.google.com/p/opencv-dsp-acceleration/source/browse/trunk/dsp_opencv/beagle/c6accel_1_00_00_04_async/dsp/libs/ReadME.txt

Dhut C wrote:

Please guide me.

Don't you have a project supervisor for that?

Okay. I will try to optimize a code on ARM side. I did plan to implement on
DSP. Unfortunately, I don't have a Project Supervisor. I am grateful for
this community from where I learnt lot of things. Thanks for Guidance.