Info

This question is closed. Reopen it to edit or answer.

How can i acquire/process an image and insert data in a running loop as it becomes available?

1 view (last 30 days)
Hello,
I'm working on an image recognition project using a webcam, output is used to control a process. Unfortunately the webcam I use has a limited frame rate (15 fps), for a good control of the process I need data at double or triple that rate.
Fortunately the process i relatively simple and can be modelled, so what i'm hoping to do is to use a Kalman type of system where one every 2 or 3 cycles actual data is used. The rest of the data generated by modeling.
My question is how can i have a (separate?) matlab process acquiring images and inserting the data as it becomes available in to a modeling/processing loop that runs at a different speed? I.e. the modelling/processing loop is not affected by the speed of the camera
Thanks,
  2 Comments
David Barry
David Barry on 12 Oct 2014
Are you using MATLAB or Simulink? Do you have to add the simulated frames in "real-time" or can they be added after you have captured all of the webcam images? What is happening with the data downstream?
Image Analyst
Image Analyst on 12 Oct 2014
Are you using the webcam plugin, or the Image Acquisition Toolbox? Why can't you just call some function like ProcessMyImage() or ModelMyImage() after you snap each image?

Answers (0)

Community Treasure Hunt

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

Start Hunting!