Skip to content

Chapter 05 - 2D_and_3Dfacial_Keypoints #94

Description

@Br4dski

I've tried running the following cell in Colab after running the preceding cells:
input = read('MyImage.jpg', 1)
preds = fa.get_landmarks(input)[0]
print(preds.shape)

But get the following error message. Checking the CWD and I can see it contains the 'MyImage.jpg'.

Going by the error message, looks like an issue with the read function, but I can't locate any information on what this function is doing, other than it was created by the authors of the book. Not sure if it is only in the 2nd edition or not, but this piece of code is not what is written in the 1st edition.

Can someone get this code running and give advice here?

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions