8000 "cam.stop_streaming()" doesn't release the camera · Issue #44 · alliedvision/VmbPy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
"cam.stop_streaming()" doesn't release the camera #44
Open
@sgwu

Description

@sgwu

Hi, I'm using the "Examples/asynchronous_grab_opencv.py" to stream live images from my camera. I didn't change the code except for the pixel format to PixelFormat.Mono8, which is the format supported by my camera.

I noticed that after I pressed the key to stop the streaming feed, the code after the line cam.stop_streaming() won't execute and I can't end this process. I tried running the entire python file or in a Jupyter kernel, the terminal or the cell will just freeze, then I'll have to restart the kernel for it to run again.

Can someone tell me what's going on or am I missing something here?

Thanks!!

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

      0