LegoCV icon indicating copy to clipboard operation
LegoCV copied to clipboard

Data file?

Open mihailsalari opened this issue 7 years ago • 2 comments

Data file?

mihailsalari avatar Mar 16 '17 15:03 mihailsalari

I have this issue, either.

hcivelek avatar May 07 '17 23:05 hcivelek

just remove data reference from the project and download this cascade file (and add to your project) https://raw.githubusercontent.com/opencv/opencv/master/data/haarcascades/haarcascade_frontalface_alt2.xml

also fix path to the file in https://github.com/Legoless/LegoCV/blob/master/LegoCV/FaceDetection/Recognition/FaceDetector.swift#L77

for example if you added xml file to the project root, then inDirectory: "" (empty string)

anonym24 avatar Jan 31 '18 14:01 anonym24