Activity: improve performance in front of a camera