How to capture live video/image using Matlab without Image acq toolbox

  • Context: MATLAB 
  • Thread starter Thread starter rsr_life
  • Start date Start date
  • Tags Tags
    Capture Image Matlab
Click For Summary
SUMMARY

This discussion addresses the challenge of capturing live video and images in MATLAB without the Image Acquisition Toolbox. Users suggest utilizing Graphedit software for offline image capture and reading the images in MATLAB. Another method involves using C libraries within MATLAB for direct image data processing. The author also recommends specific contributions from the MATLAB Central File Exchange, including VCAPG2 for real-time frame viewing.

PREREQUISITES
  • Familiarity with MATLAB programming
  • Understanding of USB camera functionality
  • Knowledge of C programming for integration with MATLAB
  • Experience with MATLAB Central File Exchange resources
NEXT STEPS
  • Research how to use Graphedit for image capture and integration with MATLAB
  • Explore the VCAPG2 contribution on MATLAB Central for real-time video processing
  • Learn how to implement C libraries in MATLAB for image data handling
  • Investigate other MATLAB Central resources for capturing images without the Image Acquisition Toolbox
USEFUL FOR

This discussion is beneficial for MATLAB users, particularly those working with USB cameras, developers seeking alternatives to the Image Acquisition Toolbox, and anyone interested in real-time image processing techniques.

rsr_life
Messages
48
Reaction score
0
Hi!

Does anybody know how i can capture images from my USB camera directly into Matlab? I'd appreciate suggestions for indirect methods too. I don't have the advantage of the Image Acquisition Toolbox in Matlab, making my task slightly more difficult.

Suggestions that I've had include using the Graphedit software to capture and save the images and use Matlab to read images. This is going to be offline though.

Another suggestion is to use C in Matlab and use standard libraries to read the image data through that - this could include processing the images too.

Is there any other method I could use since it seems like a standard task to do?

Thanks
 
Physics news on Phys.org
http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectType=author&objectId=1093610"

Ok... got it myself.

For future reference, follow the above link and click on any of the author's contributions - VCAPG2 or its extension for Simulink. Very simple, runs directly without any mess.

For starters, use the last sample code he suggests - to get a bunch of frames for real-time viewing.

Another popular one on the Matlab central exchange is:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=247"

Couldn't get it to work just as easily though.

Cheers!
 
Last edited by a moderator:

Similar threads

  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 14 ·
Replies
14
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
15K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K
  • · Replies 152 ·
6
Replies
152
Views
11K