Human action recognition using an image-based temporal and spatial representation