I am trying to modify the Dlib face detection example to save the image with the detection to a file since I am using a server without a GUI. So far I have only decided how to save the image, but not the overlay. How to save both files in one file?
//win.add_overlay(dets, rgb_pixel(255,0,0)); save_png(img, "detected.png");
c ++ dlib
Tim clemans
source share