image capture with inbuilt laptop camera

18 ビュー (過去 30 日間)
Ashwin Singaravel
Ashwin Singaravel 2017 年 2 月 15 日
コメント済み: vv_art 2019 年 11 月 12 日
Error using videoinput (line 217) Invalid ADAPTORNAME specified. Type 'imaqhwinfo' for a list of available ADAPTORNAMEs. Image acquisition adaptors may be available as downloadable support packages. Open Support Package Installer to install additional vendors.
Error in image (line 1) vid = videoinput('winvideo', 1);
I am getting the above error.
MY CODE : vid = videoinput('winvideo', 1); set(vid, 'ReturnedColorSpace', 'RGB'); img = getsnapshot(vid); imshow(img)
I didn't use any external USB cameras. I am trying to use inbuilt laptop camera. But Image acquisition tool didn't find any adaptor for that. I am using windows 10. I checked the device manager for imaging device and I found 'HP Truevision HD'. But I am not getting any installed adaptors. so now tell me How to interface my inbuilt laptop camera with the MATLAB.
  1 件のコメント
Sergen Kuzey
Sergen Kuzey 2017 年 3 月 9 日
編集済み: Sergen Kuzey 2017 年 3 月 9 日
My problem is the same. Is there anything that can help?? I found the solution!!!!! To install a support package:
On the MATLAB Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages. In the Add-On Explorer, scroll to the Hardware Support Packages section, and click show all to find your support package. You can refine the list by selecting * _ _ OS Generic Video Interface__* and install this. Mission Complated :)

サインインしてコメントする。

回答 (1 件)

Hassan Mehmood Khan
Hassan Mehmood Khan 2017 年 5 月 9 日
Install "OS Generic Video Interface"
  2 件のコメント
nischita waddenkery
nischita waddenkery 2018 年 8 月 3 日
編集済み: nischita waddenkery 2018 年 8 月 3 日
after installing the os generic video interface, What is next step. Can you send one example and how to use
vv_art
vv_art 2019 年 11 月 12 日
Use the same example like vid = videoinput('winvideo', 1); set(vid, 'ReturnedColorSpace', 'RGB'); img = getsnapshot(vid); imshow(img)
It captures your image from the video captured from the inbuilt camera in the laptop

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by