Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoStream Issue: FATAL: exception not rethrown #164

Closed
cheeyeo opened this issue Oct 15, 2019 · 3 comments
Closed

VideoStream Issue: FATAL: exception not rethrown #164

cheeyeo opened this issue Oct 15, 2019 · 3 comments

Comments

@cheeyeo
Copy link

cheeyeo commented Oct 15, 2019

Python version: 3.6.8

imutils version: 0.5.3

OS: Ubuntu 18.04

While running an instance of VideoStream to capture images from a webcam, the program will exit at the end with the following error message:

FATAL: exception not rethrown
Aborted (core dumped)

I'm not sure if this is related to the issue mentioned in #38 but it does have the same error.

I tried putting in a sleep before closing the video stream but it has no effect.

Is there anyway to resolve this issue?

Thank you for a great lib.

@jrosebr1
Copy link
Contributor

That definitely sounds like a threading related issue. Unfortunately I do not have the time to debug the matter further -- I'm simply too busy publishing content on PyImageSearch.

@leematthewshome
Copy link

I am getting the same issue with the FaceIdentification sample code from pyImagesearch.
Interestingly, I removed use of imutils by using equivalent cv2 functions and the issue still persists. So it cannot be imutils. It must be something to do with cv2.

@cheeyeo
Copy link
Author

cheeyeo commented Mar 17, 2020

Hi @leematthewshome thanks for the feedback. I will close this for now as I also have no idea how to debug cv2.

@cheeyeo cheeyeo closed this as completed Mar 17, 2020
qazi0 added a commit to qazi0/imutils that referenced this issue Jan 9, 2021
Fixed the threading issue mentioned in PyImageSearch#164 (PyImageSearch#164) in webcamvideostream.py that was closed as a cv2 bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants