better interface using opencv gui functions