Skip to content

Camera in "free" mode #44

Answered by ichristen
lufermar asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lufermar ,

Thanks for asking about this; it is an area that we intend to improve in the future.

  • Unfortunately, the long-term pyglet implementation of a live video view on the pygletcamera branch is unfinished.
  • There, however, is a matplotlib interface (currently private because it will eventually be replaced) in slmsuite.hardware.cameras._view_continuous() here.
  • Alternatively, you can .close() the camera in Python and open it in ThorCam or your live GUI of choice, then reopen the camera in Python after you're done.

is_capturing() refers to whether the 'free' mode is active and the camera is gathering frames, in line with the Thorlabs SDK definition.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ichristen
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