I notice that we have zen::XmlElement::removeAttribute but no zen::XmlElement::removeChild or similar... How does one remove an existing child element? Thanks.
Thanks for that Davis. I figured this out before I saw your post. However, note that I had already read that page and it didn't clue me in. Why? Because: That page implies that this is a Visual Studio issue. In my case I was compiling a program using cmake on Ubunutu. The important point (for my issue) is that the face detection stuff is inlined and gets compiled by the target program - not the when buliding the library. Now that I know this, it is obvious, but it didn't occur to me at first. I think...
Thanks for that Davis. I figured this out before I saw your post. However, note that I had already read that page and it didn't clue me in. Why? Because: That page implies that this is a Visual Studio issue. In my case I was compiling a program using a cmake on Ubunutu. The important point (for my issue) is that the face detection stuff is inlined and gets compiled by the target program - not the when buliding the library. Now that I know this, it is obvious, but it didn't occur to me at first. I...
I'm just getting started with dlib, though I have decent experience with OpenCV... My first confusion is regarding the performance of frontal_face_detector. When I execute something like: frontal_face_detector detector = get_frontal_face_detector(); ... auto faces = detector(img); Where img is a valid ~600x500 image with one face, the call takes a few seconds to return. Is this to be expected? On the same machine, an equivalent OpenCV call to detect faces (using detectMultiScale) takes only a few...