eg4_detect_microhope.py modified