How to use Surface pro 4 Camera in Matlab

12 ビュー (過去 30 日間)
Nguyen Thanh Trung LE
Nguyen Thanh Trung LE 2019 年 3 月 26 日
回答済み: Meeshawn Marathe 2019 年 4 月 11 日
Hi everyone,
I want to ask about how to implement my surface pro 4 camera into matlab for testing computer vision toolbox
I did download the MATLAB support package for USB webcams, however, I'm still not able to use my use my camera in MATLAB
In the Command Window, I did text webcam to check but here is the error:
Error using webcam (line 116)
Error. The format exposed by the webcam is not supported.
Really appreciate all of your help

採用された回答

Meeshawn Marathe
Meeshawn Marathe 2019 年 4 月 11 日
Surface Pro laptop’s inbuilt camera uses a color format which is currenlty not supported with the "webcam" command. Alternatively, if you do have Image Acquisition Toolbox installed, then you can install the “Image Acquisition Toolbox Support Package for OS Generic Video Interface” and then use the following command to create a camera object:
>> v = videoinput(‘winvideo’,1)

その他の回答 (1 件)

Harshit Jain
Harshit Jain 2019 年 3 月 29 日
Hi Nguyen, you can refer to this documentation - Windows Video Hardware. It will help you figure out why you are having trouble using the Image Acquisition Toolbox™ software with a supported Windows® video acquisition device.

カテゴリ

Help Center および File ExchangeMATLAB Support Package for IP Cameras についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by