Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Has anybody used the face detection features of the IDS uEye UI-1008XS with LabVIEW

The IDS driver does not support the new features of the UI-1008XS camera (face detection, auto focus and image stabilization).

Just importing the uEye_api.dll to LabVIEW does not work since the results are returned as a pointer and I do not know how to use it.

Has anyone made a wrapper for this in C/C++ or some other solution that works with LabVIEW.

 

--------------------------------------------------------------------------------

Syntax

INT is_FaceDetection (HIDS hCam,
UINT nCommand,
void *pParam,
UINT nSizeOfParam)

Description

Using is_FaceDetection(), you can control the built-in face detection function if supported by your uEye model.

The nCommand input parameter is used to select the function mode (e.g. enable/disable face detection, return number of detected faces). The pParam input parameter depends on the selected function mode. If you select functions for setting or returning a value, pParam receives a pointer to a variable of the UINT type. The size of the memory area to which pParam refers is specified in the nSizeOfParam input parameter.

0 Kudos
Message 1 of 2
(3,473 Views)

Hi Richard

I haven't seen or heard about anybody writing a wrapper for this driver. As the LabVIEW driver is realeased by IDS they would be the ones to talk about how to use it.
That said you should be able to call your dll using a pointer. Please see the attached links:

Controlling an Instrument That Requires DLL Functions That Use Pointers to Complex Data Structures

Converting a LabVIEW String to a Character Array and Passing its Pointer to a Call Library Function ...

Calling C/C++ DLLs Containing Simple and Complex Datatypes from LabVIEW

Passing a Variety of Data Types from DLL to LabVIEW


Best Regards

 

David

NISW

0 Kudos
Message 2 of 2
(3,459 Views)