HoloLensWithOpenCVForUnityExample icon indicating copy to clipboard operation
HoloLensWithOpenCVForUnityExample copied to clipboard

Is OpenCV available for custom object detection?

Open chengchingyu0412 opened this issue 2 years ago • 2 comments
trafficstars

Hi, I am interested in deploying OpenCV on HL2 for custom object detection. Is OpenCV available to do that? If so, are there some reference tutorial videos? (I notice that OpenCV can detect human faces, and I would like to detect other things, like construction vehicles.) Thank you so much

chengchingyu0412 avatar Nov 27 '22 17:11 chengchingyu0412

Object detection with OpenCV often uses the DNN module these days, but unfortunately, OpenCV's DNN module is not compatible with the UWP platform and cannot be used with Hololens2. Therefore, consider using a traditional Haar feature-based Cascade-type classifier or DNN inference with Unity's Barracuda.

EnoxSoftware avatar Nov 28 '22 14:11 EnoxSoftware

OK, thank you for your information!

chengchingyu0412 avatar Nov 28 '22 16:11 chengchingyu0412