Lean Management focusses on the elimination of wasteful activities in production. Whilst numerous methods such as value stream analysis or spaghetti diagrams exist to identify transport, inventory, defects, overproduction or waiting, the waste of human motion is difficult to detect. Activity recognition attempts to categorize human activities using sensor data. Human activity recognition (HAR) is already used in the consumer domain to detect human activities such as walking, climbing stairs or running. This paper presents an approach to transfer the human activity recognition methods to production in order to detect wasteful motion in production processes and to evaluate workplaces. Using sensor data from ordinary smartphones, long-term short-term memory networks (LSTM) are used to classify human activities. Additional to the LSTM-network, the paper contributes a labeled data set for supervised learning. The paper demonstrates how activity recognition can be included in learning factory training starting from the generation of training data to the analysis of the results.