Activity classification using a state transition diagram and activity levels | IEEE Conference Publication | IEEE Xplore