updated retina interface for cleaner use, following OpenCV standards