Method CheckHardwareSupport
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
CheckHardwareSupport(CpuFeatures)
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.
public static bool CheckHardwareSupport(CpuFeatures feature)
Parameters
featureCpuFeaturesThe feature of interest, one of cv::CpuFeatures