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

Reading microscope camera feed. #321

Open
omayrkhan opened this issue Aug 6, 2022 · 3 comments
Open

Reading microscope camera feed. #321

omayrkhan opened this issue Aug 6, 2022 · 3 comments

Comments

@omayrkhan
Copy link

Hello there - firstly, thanks for developing this API, I was not expecting to find something like this. I would like to ask if there is a way to read the Leica microscope camera feed. A function through which I could extract single frames and then process the extracted frames. Also if it is there is a function that enables you to render the real-time camera feed to the screen. I have gone through the documentation and it seems that the API is designed mostly for sending messages to the microscope, not the other way around. Please let me know if I am missing something here, I would really appreciate your input on this issue.

@MartinHjelmare
Copy link
Owner

Hi!

This library is only built to talk to the Leica LASAF Computer Aided Microscopy TCP interface. As far as I know the image data is not sent over this socket. It's been a couple of years since I was working actively with Leica Miscroscopes, but I haven't heard that they changed this. We did inquire Leica for that feature in my last job.

To achieve a full feedback loop, the application that controls the microscope via this library needs to get separate input from the image data analysis, either from the image data saved to disk or some other custom image feed.

We do get the relative paths of acquired images as messages from the CAM server, but no image data.

@omayrkhan
Copy link
Author

Thank you for the speedy response. I have another question. Is it possible to read the microscope camera feed just like any other webcam feed via USB or HDMI?

@MartinHjelmare
Copy link
Owner

That depends on the camera you're using. It's not related to this library.

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