Dynamic Image Networks for Action Recognition