Skip to content
Discussion options

You must be logged in to vote

I'm sorry this is a bit vague. The functions that will definitely cause trouble in the signal_function callback will be ones that can block waiting for camera frames to arrive. So that would include all the capture_xxx methods, stop, switch_mode methods.

Where you have an array, or a request, I think fishing data out of it, saving it, that kind of thing is fine. I think you can probably even set controls and release a request too. Though bear in mind that you are inside the camera loop here, so you probably don't want to do anything super-expensive either - but I guess it's a case of trying it and seeing how it works.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@marsfan
Comment options

@marsfan
Comment options

@davidplowman
Comment options

@marsfan
Comment options

Answer selected by marsfan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants