How to interface a camera in Beaglebone Black through MATLAB ?

30 views
Skip to first unread message

ambuji...@gmail.com

unread,
Aug 31, 2016, 4:29:24 PM8/31/16
to BeagleBoard, agau...@gmail.com, Akshay Jain
I want to capture and store an image from a camera connected to Beaglebone Black via usb in MATLAB-2016 workspace using "webcam" command. Which camera can i use with the board so that i can interface it easily with MATLAB for image processing?? 

Przemek Klosowski

unread,
Sep 4, 2016, 5:45:35 AM9/4/16
to beagl...@googlegroups.com
On Wed, Aug 31, 2016 at 3:19 PM, <ambuji...@gmail.com> wrote:
I want to capture and store an image from a camera connected to Beaglebone Black via usb in MATLAB-2016 workspace using "webcam" command. Which camera can i use with the board so that i can interface it easily with MATLAB for image processing??

It'd be easiest to use USB cameras, and most of them are supported by Linux by the video4linux interface.
Now, I didn't know you can get a version of Matlab that runs on Beaglebone---but Octave is a FOSS clone of Matlab, so I'd use that. Octave has a video acquisition package http://wiki.octave.org/Image_acquisition_package

webcam  man page says  it "captures  images  from  a video4linux device like bttv, annotates them and and uploads them to a webserver using ftp in a  endless loop." so it doesn't seem like the best tool for you. 


 

Reply all
Reply to author
Forward
0 new messages