You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, just found the actual error. When doing the points = points[0].astype(numpy.uint8) statement, attempting to cast float32 to uint8 reduces significantly the value of the numbers. This can be fixed by changing the line to either of the following:
I'm trying to create the 2D landmarks of an image, but they're completely wrong as can be seen in the following images:
Original image
Annotated image with bbox and landmarks
Code
Environment
MacbookPro 2012, MacOS
The text was updated successfully, but these errors were encountered: