LegoCV
LegoCV copied to clipboard
Data file?
Data file?
I have this issue, either.
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)