Learning a discriminative hidden part model for human action recognition