Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
Hao Pang
Hao Pang le 17 Août 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?

Réponses (1)

Ankit Bhatnagar
Ankit Bhatnagar le 23 Août 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:

Catégories

En savoir plus sur MATLAB Support Package for IP Cameras dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by