Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
Hao Pang
Hao Pang am 17 Aug. 2017
Beantwortet: Ankit Bhatnagar am 23 Aug. 2017
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?

Antworten (1)

Ankit Bhatnagar
Ankit Bhatnagar am 23 Aug. 2017
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:

Kategorien

Mehr zu MATLAB Support Package for IP Cameras finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by