Skip to content

How to get real (x,y) coordinates from the normalized output? #11

@useruser2023

Description

@useruser2023

I have done this but some of landmark coordinates are in negative values. how to get real (x,y) coordinates?

model = load_model("ASMNet_300W_MESLoss.h5")
X = np.random.random((1,224,224,3)) # input image
l, p = model.predict(X)
l = l.reshape(68,2)
l, p  = l*224, p*224

print(l.min())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions