Skip to content

cv2.imshow() window appears to have trackbar displaying mouse x,y and RGB values #163

@wb666greene

Description

@wb666greene

Expected behaviour

Open a window and display the image without a trackbar.

Actual behaviour

Window opens and image displays with trackbar on the bottom (only partially visible) showing the mouse x,y location and RGB values at that point, not completely legible as the trackbar seems clipped at the bottom.

Steps to reproduce

Ubuntu 18.04
sudo -H pip3 install opencv-contrib-python (as part of Movidius SDK install)

pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

cap=cv2.VideoCapture("rtsp://admin:xyzzy@192.168.2.164:554/cam/realmonitorchannel=6&subtype=0")
ret, frame = cap.read()
cv2.imshow('RTSP VIDEO', frame)
waitkey(0)

  • opencv-python version 3.4.5 (installed today)

I have also observed this behavior with Windows, opencv-contrib-python installed a few months ago, I ignored it thinking it might be "normal" for Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions