bbonik / facial-landmark-frontalization

Function to frontalize non-frontal 2D facial landmarks generated from the DLIB library
MIT License
21 stars 10 forks source link

Out shows blank #1

Closed diptnc closed 3 years ago

diptnc commented 3 years ago

Capture

I get the following blank output. what is the possible reason?

bbonik commented 3 years ago

This could be due to many things. We have to troubleshoot. Are you able to get back facial landmarks with other images? If not, then there may be an issue with the installation or version of DLIB.

diptnc commented 3 years ago

image ya checked with other images ,the results are same

bbonik commented 3 years ago

Can you please print what is the output of lines 29 and 30 from the example_frontalize_dlib_singleimage.py when you try with an image? For these 2 lines of code: landmarks_raw = predictor(image, face) # detect landmarks landmarks = get_landmark_array(landmarks_raw)

specifically, check what is the "landmarks_raw" and "landmarks" variables. What type and what values they have. This will help us understand what's going on...