I just learned about the new cv2 interface.
CV2 interface conversion and largest blob finder complete.