How to integrate .NET control for a uEye camera in a function

조회 수: 1 (최근 30일)
Hao Pang
Hao Pang 2017년 8월 17일
답변: Ankit Bhatnagar 2017년 8월 23일
Hallo everyone, I wrote a merit function to test some variables. It's very necessary that each time a picture should be taken and evaluated.
Until now I use the ActiveX to control the camera. But I don't know the method to read a picture file directly from the camera. So I save the picture temporally and order MATLAB to read it.
Currently I have found some codes introducing to control the camera with .NET, which let data directly be read from camera to MATLAB. The code works good but since I try to integrate it into my function, I am not sure anymore which input should I extra add. There are always some errors which has something to do with system assembly.
Anyone knows how to solve this kind of Problem?

답변 (1개)

Ankit Bhatnagar
Ankit Bhatnagar 2017년 8월 23일
Hi,
ActiveX uses the COM interface, which is now no longer supported by IDS (uEye cameras). It is now recommended to use the .NET interface.
Check the following post for examples/workaround:

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by