Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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 个评论
David Barry
David Barry 2014-10-12
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 2014-10-12
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?

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by