How to Fix Task Overruns on BeagleBoard Hardware?

2 views (last 30 days)
Hi! I'm trying to use the Image Inversion demo for BeagleBoard, and there is about a 1 second delay how do I fix that?

Accepted Answer

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer on 17 Aug 2012
Hi, Or. Thanks for asking. Please check out the following topic an let us know if it helps you solve this issue: Detect and Fix Task Overruns on BeagleBoard Hardware
  5 Comments
Murat Belge
Murat Belge on 7 Sep 2012
If I understand it correctly, you want to create an S-function block that uses the OpenCV video capture API's underneath in order to replicate the functionality of the V4L2 Video Capture block. I presume that you are doing this to reduce the delay. Yes you can do that but you need to be proficient in S-function development. Besides, the OpenCV stores camera data in interleaved format using opaque structures. So you also need to deal with data conversion. There are a bunch of S-function examples in the Simulink documentation. Any one of them would be a good starting point. However, before diving into S-function development, I would strongly recommend that you prototype the OpenCV video capture and remote display of the captured video on another computer. This is important to see if this approach solves the delay issue or not.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!