we have to make the image binary, before we pass it on to keepConnected, otherwise we get a huge border (including all smoothed pixels)
tuned the values a bit fo nicer results (epsilon seems so have no influence on the output, at least I couldn't find one)
choose a different frame with more colors, because we had problems detecting certain colors