TadasBaltrusaitis / OpenFace

OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.86k stars 1.84k forks source link

Problems with GUI (Images shown too short) #1074

Open hanniloni opened 7 months ago

hanniloni commented 7 months ago

Hello!

I tried the GUI. The Images flashed for a split second and were gone, leaving me with no chance to look at the measures shown in the GUI. I don't know what the problem is, the landmarks on the output files are marked correctly. CSV output is correct. I just want to display the images in the GUI for longer than split seconds.

(Windows 10 version 10.0.19045)

Thank you in advance!

ismeyueyue commented 7 months ago

Maybe you can draw the landmarks on input image after you get the csv output file.

refer the python draw code:

for idx in range(len(landmark)):
    x, y = landmark[idx] 
    cv2.circle(image, (int(x+0.5),int(y+0.5)), 3, (0,255,255), -1)

cv2.imwrite("test.jpg", image)
brmarkus commented 7 months ago

Can you try to re-install and capture the installation logs in the console and while building the application?

Which GUI, which application are you talking about, how are you starting it? Do you get and console output when starting the application?

Can you provide more version information of your environment?

Would you have a chance to debug, set breakpoints, step through it and see where it fails (and/or add additional log-messages)?