cycle-posenet-driver
Cycle.js drivers and action components for pose detection using PoseNet.
Try the demo at StackBlitz!
Note that this package was tested with Chrome browser (>= 65.0.3325.181) only.
API
makePoseDetectionDriver(options)
PoseNet
driver factory. Returns a Cycle.js driver that takes a PoseNetParameters
stream and returns a stream that emits array of Pose
s.
Params:
- options possible key includes
- videoWidth {number} An optional video height.
- videoWidth {number} An optional video width.
- flipHorizontal {boolean} An optional flag for horizontally flipping the video.
Return: