A library for learning shape models from user demonstration