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.

Beagleboard xM , OpenCV and Syslink Compatibility

Hello all,  

I'm working with a group of people to develop an image processing application on the beagleboard xM.  Currently, we use Ubuntu and the OpenCV library collection to run an application that finds objects taken from the video stream of a web camera installed via USB on the beagleboard.

Our issue is the speed of the capture / run code / display targets process.  There is a noticeable 5 second delay between movement and a display on the screen.  Is it possible that we are not taking advantage of the DSP Core on the A8 chip? I have read various posts on this forum regarding Syslink and "Codec," and I am hoping that a combination of those with Beagleboard and OpenCV would reduce the amount of delay in the image processing.  

Can anyone steer me in the proper direction?  

thanks! 

  • Hi Alfred,

    The delay of 5 seconds between movement and displaying on the screen seem very long. When the video is taken via web the video data passes through more buffers then then if you are using USB as video source. The problem may be due to low priority of some threads or big buffer size.

    BR

    Tsvetolin Shulev

  • Hi Mr. Shulev,

    Thank you for your response.  

    I'm actually connecting the Webcam via USB on the Beagleboard, so it is not going through any web interface.  I've measured the delay a bit more precisely and it is at about 3 seconds (instead of the 5 that I previously approximated).  

    Do you know of any conflicts with the OpenCV library that I already have installed and running on my Ubuntu based Beagleboard AND the TI Syslink system? 

    thanks

    Alfred

  • Hi Alfred,

    I recommend you to make one simple test to playing the video stream of your camera by ffmpeg.

    ffmpeg -f video4linux2 -r 30 -s 320x240 -i /dev/video0 -f mpeg2video - | ffplay -
    Option "-r" stands for video frame rate.
    Option "-s" stands for video size.
    Option "-i" stands for your video device

    This example will localize whether the problem is hardware related or it is related with Ubuntu drivers and OpenCV library.

    BR

    Tsvetolin Shulev