Browse Source

Fixed unity compilation.

pull/859/head
Canming Huang 2 years ago
parent
commit
209e11c4f7
  1. 4
      Emgu.CV.Models/PedestrianDetector.cs

4
Emgu.CV.Models/PedestrianDetector.cs

@ -106,13 +106,13 @@ namespace Emgu.CV.Models
{
if (_hog == null)
return false;
#if !(UNITY_EDITOR || UNITY_IOS || UNITY_ANDROID || UNITY_STANDALONE || UNITY_WEBGL)
if (CudaInvoke.HasCuda)
{
if (_hogCuda == null)
return false;
}
#endif
return true;
}
}

Loading…
Cancel
Save