Webcam operation of MATLAB programming->matlab2014a

Source: Internet
Author: User

Because matlab2014a installs the free version, the problem occurs when using Videoinput as follows:

Imaqhwinfo Warning: No Image acquisition adaptors found. Image acquisition Adaptors is available as downloadable support packages. Open supportpackage Installer to install additional vendors. Ans =     installedadaptors: {}        matlabversion: ' 8.3 (r2014a) '          toolboxname: ' Image acquisition Toolbox '       Toolboxversion: ' 4.7 (r2014a) '
Then install webcam to solve the problem of reading camera:

Click: Get Hardware Support Packages

Appear above the interface, click on USB Webcams installation.

After installation:

Help Webcamwebcam content: webcam-creates Webcam object to acquire frames from your webcam.   Webcam support.    Webcam functions.    Webcam-creates Webcam object to acquire frames from your webcam. Webcamlist-returns a list of all webcams connected to the System.webcam is both a directory and a function.     Webcam creates webcam object to acquire frames from your webcam. Camobj = Webcam Returns a Webcam object, camobj, that acquires images from the specified webcam.       By default, this is selects the first available Webcam returned by Webcamlist. camobj = Webcam (devicename) Returns a Webcam object, camobj, for webcam with the specified name, devicename.      The Webcam name can be found using the function webcamlist.  camobj = Webcam (deviceindex) Returns a Webcam object, camobj, for webcam with the specified device index, Deviceindex.      The WEBCAM device index is the index to the cell array returned by Webcamlist. camobj = Webcam (..., P1, V1, P2, V2,...) Constructs the webcam object, Camobj, with the specified property values.      If a Invalid property name or property value was specified, the webcam object is not created.       Creating Webcam object obtains exclusive access to the webcam.      SNAPSHOT Method syntax:img = SNAPSHOT (camobj) acquires a single frame from the Webcam.       [img, TIMESTAMP] = Snapshot (camobj) returns the frame, IMG, and the acquisition TIMESTAMP, TIMESTAMP.     Webcam Methods:snapshot-acquire A single frame from the webcam.     Preview-activate a live Image preview window.      Closepreview-close Live Image Preview window.     Webcam properties:name-name of the webcam.     Resolution-resolution of the acquired frame.      Availableresolutions-cell array of List of available resolutions. The webcam interface also exposes the dynamic properties of the webcam that we can access programmatically. Some of these dynamic PROperties is brightness, contrast, Hue, Exposure etc.      The presence of these properties in the webcam object depends on the webcam so connect to.                Example:% Construct a Webcam object camobj = webcam;        % Preview A stream of image frames.         Preview (camobj);        % acquire and display a single image frame.        img = Snapshot (camobj);      Image (IMG); See also Webcamlist

In terms of Help:


This call succeeds.

》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》



Webcam operation of MATLAB programming->matlab2014a

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.