| Cv2CheckHardwareSupport Method |
Returns true if the specified feature is supported by the host hardware.
The function returns true if the host hardware supports the specified feature.When user calls
setUseOptimized(false), the subsequent calls to checkHardwareSupport() will return false until
setUseOptimized(true) is called.This way user can dynamically switch on and off the optimized code in OpenCV.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static bool CheckHardwareSupport(
CpuFeatures feature
)
Public Shared Function CheckHardwareSupport (
feature As CpuFeatures
) As Boolean
public:
static bool CheckHardwareSupport(
CpuFeatures feature
)
static member CheckHardwareSupport :
feature : CpuFeatures -> bool
Parameters
- feature
- Type: OpenCvSharpCpuFeatures
The feature of interest, one of cv::CpuFeatures
Return Value
Type:
Boolean[Missing <returns> documentation for "M:OpenCvSharp.Cv2.CheckHardwareSupport(OpenCvSharp.CpuFeatures)"]
See Also