Change Python initialization, add documentation for image processing