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

How to get the first-view image in Python when a specific event happens? #425

Open
Lizhuoling opened this issue Jan 19, 2024 · 1 comment

Comments

@Lizhuoling
Copy link

In the demo, the Python code continuously gets frames from the js viewer. However, I only want to get a first-view image when a specific event happens. How can I realize this? For example, can the js viewer send an image only when the event happens, or directly return the array of the image in js code?

@extremeheat
Copy link
Member

You would need to change the code to do that. You can ask ChatGPT to adapt the code for your use case (send data only on specific event)

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