1.0.13 • Published 4 years ago

cycle-posenet-driver v1.0.13

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

cycle-posenet-driver

Cycle.js drivers 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.

Params:

  • options possible key includes
    • videoWidth {number} An optional video height (default: 640).
    • videoWidth {number} An optional video width (default: 480).
    • flipHorizontal {boolean} An optional flag for horizontally flipping the video (default: true).
    • fps {number} An optional desired frame rate per second
    • closeGUIOnStart {boolean} An optional flag for closing GUI on start

the PoseNet Cycle.js driver function. It takes a stream of PoseNetParameters and returns EventSource:

  • EventSource.events(eventName) takes 'poses' or 'dom' that returns Pose arrays or a required virtual dom element, respectively.
1.0.13

4 years ago

1.0.12

4 years ago

1.0.9

4 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago