PoseNet-CoreML icon indicating copy to clipboard operation
PoseNet-CoreML copied to clipboard

keypoint's coordinate is incoorect, if imageSize equal 224

Open zg9uagfv opened this issue 6 years ago • 2 comments
trafficstars

if imageSize equal 224, it's realtime,but keypoint‘s coordinate is incor。 how can i do to make the keypoint's coordiante coorect?thaks a lot!

zg9uagfv avatar Dec 25 '18 13:12 zg9uagfv

The model based on the result is transplanting weights from posenet. If posenet will do the same, you should discuss it with posenet. https://github.com/tensorflow/tfjs-models/tree/master/posenet

mbotsu avatar Dec 26 '18 01:12 mbotsu

224 is not a legit resolution for posenet.

In the original JS code, these are the legit resolutions... export type PoseNetResolution = 161|193|257|289|321|353|385|417|449|481|513;

technically though, a resolution that is divisible by the output_stride + 1 should work... so 225 might be okay if you're using an output_stride of 16

rwightman avatar Jan 20 '19 01:01 rwightman