Translated ImageAnalyzer to python
Most of the code is cleanly translated
except for some initialization syntaxs