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?

 채택된 답변

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer 2012년 8월 17일

0 개 추천

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

Or
Or 2012년 9월 1일
Hi, Rolfe.
Thanks for your reply. I'm sorry to writ that the topic Detect and Fix Task Overruns on BeagleBoard Hardware
was not at all helpful. There is no way to simplify the MathWorks demo.. therefor I have no clue as to how to solve the one second delay in the Matlab demo.
Regards, Or.
I looked into the issue some more and spoke with the developer who created the demo. For the time being, there's not much one can do to reduce the delay.
Or
Or 2012년 9월 7일
Hi, Rolfe.
Thanks for your reply. I would like to use C code from OpenCv to make the BB operate the USB cam. Can I insert C code into an S-function in a simulink model, in my windows PC, and then run the model on my Linux operated BB? I cant seem to use any of the S-function examples on the BB...
I'd really appreciate your help.
Regards, Or.
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.
Tyler
Tyler 2017년 10월 26일
Original link is broken.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

질문:

Or
2012년 7월 23일

댓글:

2017년 10월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by