OpenCV imwrite is not working

后端 未结 3 1912
名媛妹妹
名媛妹妹 2021-01-25 04:17

I have a simple OpenCV application that takes a video stream from the webcam, and when the spacebar is pressed it captures the current image and freezes on that ima

3条回答
  •  借酒劲吻你
    2021-01-25 05:02

    A few suggestions.

    1. try a different file format.
    2. does your IDE defiantly know your target folder / home path directory?
    3. Is your image definitely valid? does it show when you imshow()?

提交回复
热议问题