Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Recommended way to process videos #23

@AmitMY

Description

@AmitMY

Not an actual issue, more of a clarification request.

I'm trying to do hand pose estimation to a video.

Given this video:
ezgif-6-8ce658e05744

This is what OpenPose returns:
openpose
It doesn't return the hands because it can't detect them.

Next, I tried to run this hand-tracking code, the simplest way I can:

for frame in frames:
  hands = detector(frame)

googlepose

As you can see, there are hands flying out, so I added a detector.reset() before invoking it every time:
ezgif-6-c80b24c39b10
Which does work better regarding flying hands, but has its own artifacts.

I then tried to perhaps feed the previously detected hands back:

    if len(last_hands) > 0:
        hands = detector(img, last_hands)
    else:
        hands = detector(img)
    last_hands = hands

googlepose_feedback_no_reset

or to add a detector.reset() every time no hand is detected:
googlepose_feedback_with_reset

and for completeness sake, here is a synchronized video of everything I tried:
ezgif-6-db38a7989fbf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions