/** * @brief Return the location and dimensions of the blob, represented by a 2D bounding box (defined in pixels). * @return The location and dimensions of the 2D bounding box. */ public PXCMRectI32 QueryBoundingBoxImage() { PXCMRectI32 rect = new PXCMRectI32(); PXCMBlobData_IBlob_QueryBoundingBoxImage(instance, ref rect); return(rect); }
internal static extern void PXCMHandData_IHand_QueryBoundingBoxImage(IntPtr instance, ref PXCMRectI32 rect);
internal static extern void PXCMBlobData_IBlob_QueryBoundingBoxImage(IntPtr instance, ref PXCMRectI32 rect);
/** @brief Return the location and dimensions of the tracked hand, represented by a 2D bounding box (defined in pixels). @return The location and dimensions of the 2D bounding box. */ public PXCMRectI32 QueryBoundingBoxImage() { PXCMRectI32 rect = new PXCMRectI32(); PXCMHandData_IHand_QueryBoundingBoxImage(instance, ref rect); return rect; }
internal static extern Boolean PXCMFaceData_DetectionData_QueryBoundingRect(IntPtr instance, out PXCMRectI32 outBoundingRect);
internal extern static pxcmStatus PXCMTracker_SetRegionOfInterest(IntPtr instance, PXCMRectI32 roi);
public pxcmStatus SetRegionOfInterest(PXCMRectI32 roi) { return PXCMTracker_SetRegionOfInterest(instance, roi); }
public pxcmStatus SetRegionOfInterest(PXCMRectI32 roi) { return(PXCMTracker_SetRegionOfInterest(instance, roi)); }
/* * Assigns 2D bounding rectangle of detected face to outBoundingRect, * returns true if data and outBoundingRect exists, false otherwise. */ public Boolean QueryBoundingRect(out PXCMRectI32 outBoundingRect) { return PXCMFaceData_DetectionData_QueryBoundingRect(instance, out outBoundingRect); }
/* * Assigns 2D bounding rectangle of detected face to outBoundingRect, * returns true if data and outBoundingRect exists, false otherwise. */ public Boolean QueryBoundingRect(out PXCMRectI32 outBoundingRect) { return(PXCMFaceData_DetectionData_QueryBoundingRect(instance, out outBoundingRect)); }