1.0.13 • Published 5 years ago

cycle-posenet-driver v1.0.13

Weekly downloads
6
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.12

5 years ago

1.0.9

5 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago