UNPKG
@tensorflow-models/body-pix
Version:
latest (2.2.1)
2.2.1
2.2.0
2.1.0
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.1.1
0.1.0
0.0.2
0.0.1
Pretrained BodyPix model in TensorFlow.js
github.com/tensorflow/tfjs-models
tensorflow/tfjs-models
@tensorflow-models/body-pix
/
dist
/
single_person
/
decode_single_pose.d.ts
5 lines
(4 loc)
•
272 B
TypeScript
View Raw
1
2
3
4
5
import
*
as
tf
from
'@tensorflow/tfjs-core'
;
import
{
BodyPixOutputStride
}
from
'../types'
;
import
{
Pose
}
from
'../types'
;
export
declare
function
decodeSinglePose
(
heatmapScores: tf.Tensor3D, offsets: tf.Tensor3D, outputStride: BodyPixOutputStride
):
Promise
<
Pose
>;