Glimpse --- Hierarchical visual models in C++ and Python