Skip to content

Which is faster when used with Esper bean identification? #35

Description

@jawaff

An Esper pattern as you might know is able to filter out the event beans so that only the beans of interest are relevant.

This pattern uses the jointId's of the 3 relevant joints that the event bean gets its data from on the user's skeleton.

  • Angle(end1=%d, vertex=%d, end2=%d, angle > %d, angle < %d)

It's also possible to have some sort of hash as the identifier. The program already uses hashes to determine if there are duplicate event beans loaded up into the ControllerState class.

  • Angle(hash=%s, angle > %d, angle < %d)

The question really is, which one of these options is faster? Esper needs to be able to detect gestures as possible in its detection since this program is interactive. I don't want to be the bottleneck, but it'll probably happen.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions