OpenCV webcam capture problem

前端 未结 8 598
逝去的感伤
逝去的感伤 2020-12-30 10:47

I\'ve installed OpenCV 2.2 and now I can\'t get webcam capture to work. It worked ok in 2.1. OpenCV detects a webcam, doesn\'t report any errors or warnings, but each frame

8条回答
  •  囚心锁ツ
    2020-12-30 10:57

    You might try a look at this post as well.

    To put it simple, changing

    from

    import cv

    to

    import cv2.cv as cv

    worked for me. See also the post here.

提交回复
热议问题