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

purethermal-2, radiometry.py, libuvc timeout on MacOS #62

Open
carloscastellanos opened this issue Jul 27, 2022 · 4 comments
Open

purethermal-2, radiometry.py, libuvc timeout on MacOS #62

carloscastellanos opened this issue Jul 27, 2022 · 4 comments

Comments

@carloscastellanos
Copy link

I'm running a slightly modified version of radiometry.py and it mostly works fine but sometimes it gets stuck in the q.get(True, 500) function. It seems that the Queue never fills up (causing the script to quit after the timeout). It's totally random too. It can happen after a few minutes, a few hours or a few days. None of the change mades to the original radiometry.py have anything to do with acquiring a stream, callbacks or anything like that (mostly just creating a colormap and capturing images to disk).

MacOS 10.15.6
Python 3.7.11

I'm using the groupgets libuvc fork and libusb 1.0

@kekiefer
Copy link
Member

kekiefer commented Jul 27, 2022

I still haven't gotten around to cleaning this up, since there's a number of moving pieces in other projects and for various platforms, but try the branch master+libuvc-upstream in this project. With libuvc from https://github.com/libuvc/libuvc on master, this is working on MacOS 12.4, and I suspect that older versions will work as well.

@carloscastellanos
Copy link
Author

Thanks. I guess I should uninstall the groupgets libuvc fork as well?

@kekiefer
Copy link
Member

Yes

@carloscastellanos
Copy link
Author

OK I tried this and it's actually worse now, lol. It times out every time now. I should say that this only happens when I save images to disk (both now and with the previous version). If I just stream video it seems to work fine.

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

2 participants