mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Original vs Normalised Co-ordinates

Open ThinLizzy13 opened this issue 3 years ago • 4 comments

Hello,

Apologies if this is trivial but I'm wondering if there's something else I'm missing when it comes to how the normalised co-ordinates are calculated. I'm NSlogging the landmarks similar to this issue #2764 (https://github.com/google/mediapipe/issues/2740) to print out the landmarks coordinates.

I would've assumed to retrieve the original co-ordinates one should just multiply by the image frame height and width. However doing so I still get decimals (and not even close to suggest truncation errors) I had a look through the graphs and calculators but am still at a bit of a loss. Any help in retrieving the original co-ordinates would be much appreciated.

Best, RG

ThinLizzy13 avatar Sep 12 '22 17:09 ThinLizzy13

Hi @ThinLizzy13, Could you please provide the complete details of the platform and solution which you are referring to. Thank you!

kuaashish avatar Sep 13 '22 07:09 kuaashish

Absolutely apologies. I'm using iOS with all the latest versions. The solution is for the iris, however I would envisage that this would be applicable across all solutions that output co-ordinates. Thanks !

ThinLizzy13 avatar Sep 13 '22 09:09 ThinLizzy13

Hi @ThinLizzy13, Please refer to this issue #739 and #739(comment) for better understanding of your query. Thank you!

kuaashish avatar Sep 14 '22 06:09 kuaashish

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

google-ml-butler[bot] avatar Sep 21 '22 06:09 google-ml-butler[bot]

Closing as stale. Please reopen if you'd like to work on this further.

google-ml-butler[bot] avatar Sep 28 '22 07:09 google-ml-butler[bot]

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar Sep 28 '22 07:09 google-ml-butler[bot]