Comsol Python Image Recognition