blob detection with Gui, Debug and background learning